Creating Startup and Shutdown Files

System Shutdown File

System Shutdown File

This example shows a TACL command file that shuts down the system software and invokes other shutdown files.

The local operator invokes this file by entering the following TACL command:

> OBEY $SYSTEM.SHUTDOWN.STOPSYS

Note. Shutting down the system in an orderly fashion does not require that you shut down every process. Some processes that have startup files might not need shutdown files.

comment -- This is $SYSTEM.SHUTDOWN.STOPSYS

comment -- Use this file to shut the system down in an orderly fashion. comment -- Shut down the CP6100 lines associated with the SWAN concentrator SCF/ IN $SYSTEM.SHUTDOWN.SDNCP6, OUT $ZHOME /

comment -- Shut down the ATP6100 lines associated with the SWAN concentrator

SCF/ IN $SYSTEM.SHUTDOWN.SDNATP, OUT $ZHOME /

comment -- Shut down the X.25 lines associated with the SWAN concentrator SCF/ IN $SYSTEM.SHUTDOWN.SDNX25, OUT $ZHOME /

comment -- Shut down the printer lines associated with the SWAN concentrator

SCF/ IN $SYSTEM.SHUTDOWN.SDNLP, OUT $ZHOME /

comment -- Shut down the Expand-over-IP line to \Case2 SCF/ IN $SYSTEM.SHUTDOWN.IP2CASE2, OUT $ZHOME / comment -- Shut down the Expand manager process, $ZEXP SCF/ IN $SYSTEM.SHUTDOWN.SDNEXP, OUT $ZHOME / comment -- Shut down the direct-connect line

SCF/ IN $SYSTEM.SHUTDOWN.STRTLH, OUT $ZHOME /

comment -- Drain the spooler subsystem using the SPOOLCOM command file comment -- SPLDRAIN.

OBEY $SYSTEM.SHUTDOWN.SPLDRAIN

comment -- Stop the Transaction Management Facility (TMF) subsystem using the comment -- TMFCOM command file TMFSTOP.

TMFCOM / IN $SYSTEM.SHUTDOWN.TMFSTOP, OUT $ZHOME /

HP Integrity NonStop NS-Series Operations Guide529869-005

16-20

Page 220
Image 220
HP NonStop NS manual System Shutdown File, Obey $SYSTEM.SHUTDOWN.STOPSYS