Technical data

Managing the Queue Manager and Queue Database
13.8 Using Multiple Queue Managers
The SHOW QUEUE/MANAGERS command displays information about the
queue managers running on your system, as explained in Section 13.4.
$ START/QUEUE/MANAGER/NEW_VERSION/NAME_OF_MANAGER=PRINT_MANAGER -
_$ /ON=(JADE,RUBY,*)
$ START/QUEUE/MANAGER/ADD/NAME_OF_MANAGER=BATCH_MANAGER -
_$ /ON=(OPAL,PEARL,*)
$ SHOW QUEUE/MANAGERS/FULL
Master file: SYS$COMMON:[SYSEXE]QMAN$MASTER.DAT;
Queue manager PRINT_MANAGER, running, on JADE::
/ON=(JADE,RUBY,*)
Database location: SYS$COMMON:[SYSEXE]
Queue manager BATCH_MANAGER, running, on OPAL::
/ON=(OPAL,PEARL,*)
Database location: SYS$COMMON:[SYSEXE]
13.9 Saving and Restoring the Queue Database
Each time you want to preserve changes to your queue configuration, save a copy
of your queue database files. In this way, if your queue database files are not
accessible, you can restore the queue database you have saved; you thus avoid
having to redefine forms and characteristics and reinitialize each queue.
13.9.1 Saving Queue Database Files
To save a record-by-record copy of your queue database files while the queuing
system is functioning, perform the following steps. This procedure saves
definitions of queues, forms, and characteristics. No job information is preserved.
(Compaq recommends not saving the journal file because timed and pending jobs
might be reexecuted after the journal file is restored.)
How to Perform This Task
1. To save the master file, enter an OpenVMS Convert utility (CONVERT)
command in the following format:
CONVERT/SHARE QMAN$MASTER.DAT master-lename
where master-filename is the name of the file to which QMAN$MASTER.DAT
is to be copied.
For more information about CONVERT, refer to the OpenVMS Record
Management Utilities Reference Manual.
2. Enter a CONVERT command in the following format to save the queue file:
CONVERT/SHARE SYS$QUEUE_MANAGER.QMAN$QUEUES queue-lename
where queue-filename is the name of the file to which SYS$QUEUE_
MANAGER.QMAN$QUEUES is to be copied.
3. Use the Backup utility (BACKUP) to save the files created with CONVERT.
Use a command in the following format:
BACKUP/LOG masterle-name, queue-lename device:saveset-name/LABEL=label
For more information about the Backup utility, refer to the OpenVMS System
Management Utilities Reference Manual.
Managing the Queue Manager and Queue Database 1313