Availability Guide for Problem Management
Automating Operations and Recovery Procedures
Availability Guide for Problem Management–125509
6-6
Scheduling Routine Tasks With NetBatch
Scheduling Routine Tasks With NetBatch
NetBatch allows you to automate job scheduling, startup, and management tasks on your
system. It increases throughput by enabling job distribution among the systems’
processors, and it frees operations staff for other work by reducing the need for user
intervention.
A NetBatch job is a process or a sequence of processes that performs specialized tasks.
For example, a job could start an online Pathway application, summarize and post end-
of-period results, or back up data files. NetBatch jobs can run on any node in a network.
Also, you can control NetBatch schedulers on different nodes from a central site,
reducing operations demands at remote locations.
The NetBatch scheduler routes jobs to user-specified processors and provides
mechanisms for controlling the routing process. This allows you to distribute the job
workload according to processor availability and OLTP demands. The scheduler has an
EMS interface, which it uses to send information about job-related and scheduler-related
events to EMS collectors. Information retrieved from these collectors helps you monitor
and manage jobs and schedulers in a system or network environment.
Performing Automatic Memory Dumps With TFDS
TFDS automatically dumps, analyzes, and catalogs the information required to resolve
software problems. It allows you to dump memory contents automatically after
processor failures or when requested by software procedures.
TFDS tracks the number of occurrences of both recurrent and known problems. It also
allows you to update configuration parameters, request processor dumps, and start or
cancel backups.
Automation Examples
This subsection provides examples of automation procedures that you can implement in
your system environment. These examples are not intended to illustrate all possible uses
for these procedures—rather they are intended to give you ideas for automating and
customizing operations and recovery tasks.
TACL Recovery Macros
Many routine operations tasks can be automated through the use of command files and
TACL macros or routines. The following examples illustrate how to warm start a spooler
subsystem after it has been drained. The first example illustrates the warm start
procedure as it is done manually; the second example illustrates how to automate the
procedure using a TACL macro. The Spooler Reference Manual provides a description
of the SPOOL program.