Availability Guide for Problem Management

Automating Operations and Recovery Procedures
Availability Guide for Problem Management125509
6-7
TACL Recovery Macros
Warm Starting a Drained Spooler (Manually)
Bringing the spooler from the warm state to the active state is called warm starting the
spooler. When the spooler is in a dormant state, the supervisor is not running. As soon as
you create another supervisor process, the spooler enters the warm state. When you
warm start the spooler, you use the same control files and other files that were in use
when the spooler was previously drained.
To warm start a drained spooler, log on as a super-group user (255,n) and follow these
steps:
1. Run the spooler supervisor, supplying the name of the spooler control file that
already exists:
>SPOOL / IN control-filename , NAME $supervisor-process /
2. Optionally add, delete, or modify collectors, print processes, devices, and routing
structures.
3. Enter SPOOLCOM and start the spooler, as follows:
>SPOOLCOM SPOOLER, START
Automation Example
The following command file warm starts a spooler. You can adapt it by substituting
elements specific to your system and then invoke it with an OBEY command.
>OBEY $SYSTEM.SPLUTIL.WARMFILE
COMMENT -- THIS IS $SYSTEM.SPLUTIL.WARMFILE
COMMENT -- It restarts a previously existing spooler system.
COMMENT -- First, create the supervisor process, supplying
COMMENT the name of the control file of the spooler
COMMENT system being warm started:
SPOOL / IN $MKT.SPL.SPL,OUT $0,NAME $SPLS,PRI 147,CPU 0/1
COMMENT -- Add or modify any collectors and print processes
COMMENT (to delete a print process, first delete the locs
COMMENT and devices associated with it):
SPOOLCOM PRINT $OFFICE,FILE $WORK.ALL.BEST,PRI 145,CPU 3
SPOOLCOM LOC #DEFAULT.FAST
SPOOLCOM DEV $SLOW,PROCESS $USERP,SPEED 300,WIDTH 70
COMMENT -- Finally, start the spooler:
SPOOLCOM SPOOLER, START
COMMENT -- The spooler is now completely active and
COMMENT ready to spool and print jobs.
The Guardian System Operations Guide provides more information about setting up
TACL macros to automate routine operations tasks.