Pathway/iTS System Management Manual (G06.24+)
Starting and Stopping Pathway/iTS Objects
HP NonStop Pathway/iTS System Management Manual—426748-002
3-12
Specifying the ABORT Option
The ORDERLY option requires the most time to complete the shutdown operation,
because all transactions in progress are allowed to complete before objects (TCP,
TERM, and server objects) involved in the transaction are stopped. For example, a
TERM 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. See Table 3-2 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 PATHCOM
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.
Specifying the ABORT Option
The ABORT option aborts all TERMS for a faster shutdown operation. The following
command specifies a shutdown in which terminals are aborted instead of stopped:
= SHUTDOWN2, MODE ABORT
The ABORT option enables sends to a server class to complete, but the TERM 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.
Specifying the IMMEDIATE Option
To bring down the system as quickly as possible, use the IMMEDIATE option, as
shown in this example:
= SHUTDOWN2, 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
The IMMEDIATE option is the quickest way to shut down a PATHMON environment,
but you must consider these consequences before specifying this option:
•
If completed successfully, the IMMEDIATE option stops objects immediately,
regardless of the presence of pending requests and incomplete operations.
•
During SHUTDOWN2 IMMEDIATE, the TCP is unable to reset terminals under its
control. To use these terminals, you must first reset them by waking the TACL
process running on the terminal, or, once the PATHMON environment is running
again, start the TERM object associated with that terminal. Other TERM objects
and devices might require some other form of initialization.