|
VMS Help DISABLE, AUTOSTART, Examples *Conan The Librarian |
1.$ INITIALIZE/QUEUE/BATCH/START/AUTOSTART_ON=SATURN:: BATCH_1
$ ENABLE AUTOSTART/QUEUES
.
.
.
$ DISABLE AUTOSTART/QUEUES
In this example, the INITIALIZE/QUEUE command creates an
autostart queue BATCH_1, capable of executing on node SATURN.
The /START qualifier activates the queue for autostart. The
ENABLE AUTOSTART/QUEUES command (executed on node SATURN)
enables autostart on the node, causing the queue (and any other
active autostart queues on the node) to begin executing jobs.
The DISABLE AUTOSTART command (executed on node SATURN) stops
autostart queues on the node, and prevents any queues from
failing over to the node.
This command only affects queues managed by the default
queue manager SYS$QUEUE_MANAGER because the /NAME_OF_MANAGER
qualifier is not specified.
Because BATCH_1 is set up to run only on one node, the queue
cannot fail over to another node and therefore is stopped;
however, the queue remains active for autostart and will
be started when the ENABLE AUTOSTART command is entered for
node SATURN. No START/QUEUE command is needed to restart
BATCH_1 unless autostart of the queue is deactivated with the
STOP/QUEUE/NEXT or STOP/QUEUE/RESET command.
2.$ DISABLE AUTOSTART/QUEUES/ON_NODE=JADE
The DISABLE AUTOSTART/QUEUES command in this example disables
autostart on the OpenVMS Cluster node JADE. This command can be
entered from any node in the cluster.
|
|