Pathway/XM System Management Manual
Managing a Pathway/XM Environment
Compaq NonStop™ Pathway/XM System Management Manual—426761-001
7-34
Specifying the ORDERLY Option
Specifying the ORDERLY Option
The ORDERLY option enables work in progress to complete before shutting down. The
following command specifies an orderly shutdown:
>> STOP PATHWAY, MODE ORDERLY
The ORDERLY option requires the most time to complete the shutdown operation,
because all transactions in progress are allowed to complete before objects (TCPs,
TERM objects, SERVER objects, and PATHMON process) involved in the transaction
are stopped. For example, a TERM object waiting for I/O to a server class to complete
cannot be stopped until the I/O completes. (Note that the TERM object must be in a
qualified state in order to be stopped. Refer to Table 7-5
and the associated discussion
about the STOPMODE and TRANSMODE registers.)
You might want to selectively escalate the shutdown of some TERM objects while
maintaining a generally ORDERLY shutdown. To do this, use the PXMCOM
commands ABORT TERM or STOP TERM. Use the ABORT TERM command to abort
a single TERM or multiple TERM objects. Use the STOP TERM command to stop a
single TERM or multiple TERM objects.
The ORDERLY option opens and closes unlinked server processes, permitting the
performance of any epilog processing.
Specifying the ABORT Option
The ABORT option aborts all TERM objects for a faster shutdown operation. The
following command specifies a shutdown in which terminals are aborted instead of
stopped:
>> STOP PATHWAY, MODE ABORT
The ABORT option enables send statements to a server class to complete, but the
TERM object might be aborted before the server class can reply. Work does not
necessarily stop on transaction boundaries, so the status of the transaction is unknown.
If completing outstanding transactions is important to your application, use the
ORDERLY option. The ORDERLY option opens and closes unlinked server processes,
permitting the performance of any epilog processing.
Specifying the IMMEDIATE Option
To bring down the system as quickly as possible, use the IMMEDIATE option, as
shown in the following example:
>> STOP PATHWAY, MODE IMMEDIATE
This command uses the Guardian procedure call STOP to stop:
•
All running TCPs (that are locally controlled)
•
All server processes still running after the TCP is stopped
•
All PATHMON processes