Technical data

Managing the Queue Manager and Queue Database
13.5 Starting the Queue Manager and Creating a Queue Database
To create queue database files in a location other than the default, follow the
instructions in Section 13.3.1 or Section 13.3.2, or both.
3. To start the queue manager and create queue database files, enter a
START/QUEUE/MANAGER command. This command starts the queue
manager process and, optionally, creates queue and journal files.
If the queue manager does not start, see Section 13.11.1 for a troubleshooting
checklist.
Example
The following example specifies that:
The master file is to located in the directory DUA4:[MASTER].
The queue and journal files are to be located in the directory
DUA2:[SYSQUE]. (The master file, however, will remain in
DUA4:[MASTER].)
$ DEFINE/SYSTEM/EXECUTIVE_MODE QMAN$MASTER DUA4:[MASTER]
$ MOUNT/SYSTEM/NOASSIST DUA4:
$ !
$ ! Add the two previous commands to SYLOGICALS.COM
$ !
$ START/QUEUE/MANAGER/NEW_VERSION DUA2:[SYSQUE]
For information about creating one or more additional queue managers, see
Section 13.8.
13.6 Customizing Queue Manager Failover
By default, all nodes in an OpenVMS Cluster environment are able to run the
queue manager, in no specified order of preference. The /ON qualifier of the
START/QUEUE/MANAGER command lets you specify a list of OpenVMS Cluster
member nodes in the order that they should claim the queue manager process.
Compaq recommends that you specify an asterisk (*) at the end of the node
list to make sure that at least one node is always available to run the queue
manager.
13.7 Stopping and Restarting the Queue Manager
To stop and restart the queue manager, you need to enter DCL commands.
13.7.1 Stopping the Queue Manager
To shut down the queue manager on a standalone node or an OpenVMS Cluster
node, enter the following command:
$ STOP/QUEUE/MANAGER/CLUSTER
The queue manager performs the following tasks:
Aborts all current jobs that cannot be restarted and requeues all current
restartable jobs
Stops all execution queues
Disables autostart on all nodes
Closes all queue database files associated with that queue manager
Managing the Queue Manager and Queue Database 139