NonStop S-Series Operations Guide (G06.29+)

Starting and Stopping the System
HP NonStop S-Series Operations Guide522459-009
16-19
Preparing to Stop the System
Preparing to Stop the System
You must stop all applications, devices, and processes in an orderly fashion before you
stop a system. You might be able to automate the shutdown of lines, devices, and
applications by including commands in one or more shutdown command files that you
invoke from either a TACL prompt or another shutdown file. Shutdown command files
contain a series of commands that automatically execute when the file is executed.
The NonStop S-Series Planning and Configuration Guide describes command files.
For some techniques to make shutdown command files run as efficiently as possible,
refer to Reducing Shutdown Time on page 16-23.
When you stop Pathway applications, all TCP objects begin shutdown (shutting
down TERM objects and then themselves) in parallel. New work is disallowed. The
PATHMON process logs the start and completion of SHUTDOWN2. It does not
log status messages during shutdown.
When you stop DSM/SCM, the CNFGINFO server process, the Pathway
environment for DSM/SCM, the alternate EMS collector $ZPHI, and TCP/IP
processes for DSM/SCM all stop, as this example shows:
Following the SPOOLER DRAIN subcommand, the collectors allow current jobs to
finish but reject new opens with a file-system error 66 (device downed). When you
drain the spooler, each collector stops when it has no more open jobs. Each print
process finishes printing any active jobs and then stops. After all collectors and
print processes have stopped, the supervisor stops. The spooler enters the
dormant state, ready to be warm started.
Following the SCF CONTROL, DISK REFRESH command, all other disk I/O is
suspended. The amount of time a refresh operation takes to finish depends on the
amount of disk cache containing dirty pages in use at the time, and writing to disk
can take several minutes.
Before stopping the system, stop all processes and applications in this order:
1. Whenever possible, schedule system shutdowns in advance so that system users
are prepared. Send a display message alerting users of the shutdown.
2. Stop all user applications.
3. These applications must be stopped in this order:
a. If your system is equipped with Pathway, stop Pathway applications. At the
Pathway prompt:
= SHUTDOWN2, MODE ORDERLY
STOP CNFGINFO server process $ZPHC
STOP DSM/SCM Pathway system $YPHI
PATHCOM $YPHI;SHUTDOWN !,WAIT
$Z02H: TCP TCP-H, STOPPED
$Z02H: TCP TCP-T, STOPPED
STOP DSM/SCM Alternate EMS Collector $ZPHI