Starting the Queue Manager and Creating a
Queue Database
Before you can create queues, you must create a queue database
by entering a command in the following format:START/QUEUE/MANAGER/NEW_VERSION[/ON=(node,...)] [dirspec]
where:
/NEW_VERSION
Specifies that new queue database files
are to be created:
Master file
Queue file
Journal file
Specify
the /NEW_VERSION qualifier only if you want
to create new database files. If your queuing system is already
functioning, creating new database files is not necessary.
Specifies the location of the queue and
journal files, as explained in
Specifying the Location of Queue and Journal Files. Use this parameter if you are creating the
queue and journal files in a location other than the default.
Specify the /NEW_VERSION qualifier only if
you do not have a currently functioning queue database. If you specify
this qualifier and you already have queue database files, the system overwrites
your current queue database files.
You normally perform this task only once because when you enter
the command, the system stores it, along with any qualifier or parameter
you enter, in the queue database.
The job controller automatically starts the queue manager
during reboot unless you enter a STOP/QUEUE/MANAGER/CLUSTER command.
For this reason, including START/QUEUE/MANAGER in your startup command
procedure is unnecessary.
This section describes how to start the queue manager
and create the queue database files on systems and clusters with
a single system disk. For systems in a cluster with multiple system disks,
including mixed-architecture OpenVMS Cluster systems, you must prepare
a shared environment, as described in Chapter 5 of OpenVMS
Cluster Systems
.
Make sure the
values of the system address parameters SCSNODE and SCSSYSTEMID
match the DECnet for OpenVMS node name and node ID. These values
must be correctly defined for the queuing system to operate correctly:
The PARAMETERS SHOW command of the
System Management utility (SYSMAN) determines the value of the system
address parameters SCSNODE and SCSSYSTEMID.
The Network Control Program (NCP) SHOW EXECUTOR
SUMMARY command shows the DECnet for OpenVMS node name and node
ID.
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.