Technical data

Setting Up and Maintaining Queues
14.4 Creating and Starting Queues
How to Start Stopped Autostart Queues
You can start all stopped active autostart queues on a node by enabling
autostart for queues with ENABLE AUTOSTART/QUEUES. Including a separate
START/QUEUE command to start an active autostart queue is not necessary.
When a node reboots, autostart is disabled until you enter ENABLE
AUTOSTART/QUEUES.
14.4.1.4 Adding Commands to Your Startup Procedure
Compaq recommends that you add ENABLE AUTOSTART/QUEUES to your
startup procedure on all of your nodes. Add this command following the
commands that configure printer devices and mount important disks. Adding
the command eliminates the necessity of adding it later, if you need to add
autostart queues or add nodes to autostart queue failover lists.
The following example illustrates some sample commands that you might add to
a node’s SYSTARTUP_VMS.COM procedure:
$! Start the nonautostart batch queue
$ START/QUEUE SYS$BATCH
$! Start all autostart queues
$ ENABLE AUTOSTART/QUEUES
For more examples, see the SYS$MANAGER:SYSTARTUP_VMS.COM template
on your system disk.
14.4.2 Creating and Starting Nonautostart Execution Queues
This section describes how to create and start a nonautostart queue.
Example
The following example creates a batch queue named SYS$BATCH and starts the
queue on LILITH:
$ INITIALIZE/QUEUE/START/BATCH/ON=LILITH::SYS$BATCH
14.4.2.1 Creating a Nonautostart Queue
To create a nonautostart execution queue, use the /ON qualifier with the
INITIALIZE/QUEUE command, as shown in the following table:
Type of Queue Command
Output queues INITIALIZE/QUEUE/ON=node::device: queue-name
For node::, specify the node on which the queue is to execute.
For device:, specify the device to which the queue’s output is sent.
Batch queues INITIALIZE/QUEUE/BATCH/ON=node:: queue-name
The /BATCH qualifier is required to create a batch queue.
For node::, specify the node on which the queue is to execute.
14.4.2.2 Starting a Nonautostart Queue
You must start a nonautostart queue in one of the following ways:
Enter the /START qualifier in the INITIALIZE/QUEUE command that you
use to create the queue, with the following format:
INITIALIZE/QUEUE/START/ON[/qualiers,...] queue-name
1418 Setting Up and Maintaining Queues