OSI/MHS Configuration and Management Manual

Starting, Stopping, and Updating Your OSI/MHS
Subsystem
OSI/MHS Configuration and Management Manual424827-003
6-12
Stopping the Subsystem
Stopping the Subsystem
To shut down the subsystem in an orderly manner, you stop the objects in the reverse
order that you started them. This means that you must stop the GROUP objects first,
then the CLASS objects, then the SUBSYS object. The APPL object is not in this list
because it does not need to be stopped before stopping the subsystem. The MHS
manager reports events as the objects are stopped.
For a complete shutdown, you should also stop the processes external to OSI/MHS:
stop the entry and wait managers after stopping the GI groups, and stop password
servers, if present, after stopping the MHS manager (You use Pathcom to stop the
external processes if you defined them as Pathway servers; otherwise, you use
TACL.)
You must wait until all OSI/MHS objects have stopped before you stop the MON object.
Use the STATUS SUBSYS command to see which objects have shut down. Use
Viewpoint or a printing distributor to see event messages generated by the MHS
manager.
The following command file example shows how to perform an orderly shutdown of an
OSI/MHS subsystem.
This example shows the following:
1. CONFIRM ON tells you if each command is accepted.
2. ALLOW ALL allows the processing to continue when errors occur. This command
tells you which objects the command did not pass on.
3. STOP GROUP puts the group in the STOPPING state. You must stop the objects
in this order:
GROUP
CLASS
SUBSYS
You do not need to stop APPL objects before shutting down the subsystem.
4. The DELAY option allows time for all the objects to enter the STOPPED state. The
subsystem can take a long time to shut down. The time required depends upon
the size of the subsystem.
CONFIRM ON
ALLOW ALL
STOP GROUP $ZC1.*
STOP CLASS $ZC1.*
STOP SUBSYS $ZC1.#ZC1
== Give 3 minutes for all the objects in the MHS subsystem to enter the
STOPPED
== state before stopping the MON object.
DELAY 180
STATUS CLASS $MHS1.#*,DETAIL
STOP MON $ZC1
EXIT