|
|
Configuring Systems for Terminals, Printers, and Other Serial Devices: HP 3000 MPE/iX Computer Systems > Chapter 4 Dynamic Configuration and DTS Shutdown/RestartDynamic Configuration |
|
Dynamic configuration enables you to apply a select set of DTS configuration changes made in NMMGR without rebooting the system. Such configuration changes include adding or deleting terminals, printers and DTCs, changing most configuration parameters of terminals, printers and DTCs. See Table 4-1 “Dynamically Configurable Tasks” for a complete list of configuration changes that can be modified dynamically (this includes changes that require additional actions, such as rebooting the DTC, before changes take effect). All operations that delete ldevs are non-destructive. This means that if an ldev to be deleted is in use, then the delete is not performed. You must take the appropriate action to free the device. For example, you must stop the spooler on a spooled serial printer or log off the session on a terminal ldev. If multiple ldevs are deleted, then only free ldevs are deleted. Those ldevs that were not free will be processed again the next time DTCCNTRL is invoked. Most changes will not affect current active sessions or users. Only those changes that require a reset of the DTC or DTC card will affect active sessions or users. A DTC reset is only required when the change is to a DTC characteristic, such as, adding a card or changing a DTC CPU parameter, such as, the DTC IP address or SNMP data. Users on other DTCs are not affected. Some changes will require additional steps to complete once DTCCNTRL has made the desired changes. These possible additional steps are: logoff any sessions or close any jobs that access the changed devices, stop and restart the spooler if the device is a printer, stop and the start X.25/PADSUP, reboot or reset the DTC. DTCCNTRL will display a message when these steps are necessary and tell you which DTCs are affected. Table 4-1 Dynamically Configurable Tasks
Dynamic Configuration uses both files NMCONFIG.PUB.SYS and NMCONFIX.PUB.SYS to manage the devices created by the DTS subsystem. When users wish to make any dynamic change, NMMGR will be used to modify the configuration in NMCONFIG.PUB.SYS. When DTCCNTRL is invoked, either within or from outside of NMMGR, NMCONFIG will be compared to NMCONFIX and the desired changes will be made to the system configuration. When the operation has completed successfully, the changes will be written to NMCONFIX. The configuration in NMCONFIX will always match the actual configuration of the DTS subsystem. If any errors are encountered, then information will be saved in the NMCONFIG file that will allow DTCCNTRL to be re-invoked to complete the changes at a later time. If an operation is partially successful, then those changes that are successful will be written to NMCONFIX. For example, if you delete two ldevs and the second ldev can't be deleted because it is in use, then DTCCNTRL will save information that will allow the second ldev to be deleted once the device is no longer in use.
If there is some operation that fails, and you wish to undo the change, you can use NMMGR to change the appropriate screens back to what they were and then invoke DTCCNTRL. As your configuration grows and changes, you may find it necessary to compress or expand your configuration file. When you add items in a file, records are added sequentially from the beginning of the file. If you delete items from a configuration file, the records are not immediately recovered, so the middle of the file may contain unused records. These unused records in the middle of the file are not available for reuse. By compressing the file, you cause all data to be stored in a contiguous block of records at the beginning of the file. This frees the unused records to be reused. Compress the files by accessing the Compress screen in NMMGR from the utilities menu. To recover unused records enter 0 in the Number of Additional Records field and press the [Compress File] function key. If you enter a positive number, the number of free records will be increased by the number entered. If you enter a negative number, the number of free records will be decreased by the entered number. The maximum file size limit is 65,535 records.
See the Using the Node Management Services Utilities manual for additional information on how to compress the configuration files. |
|