02.12.2012 Views

OpenVMS Cluster Systems - OpenVMS Systems - HP

OpenVMS Cluster Systems - OpenVMS Systems - HP

OpenVMS Cluster Systems - OpenVMS Systems - HP

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Setting Up and Managing <strong>Cluster</strong> Queues<br />

7.2 Controlling Queue Availability<br />

WHEN... THEN... Comments<br />

The operating system<br />

automatically restores<br />

the queuing system with<br />

the parameters defined in<br />

the queuing database.<br />

This is because when you start the<br />

queuing system, the characteristics you<br />

define are stored in a queue database.<br />

To control queues, the queue manager maintains a clusterwide queue database<br />

that stores information about queues and jobs. Whether you use one or several<br />

queue managers, only one queue database is shared across the cluster. Keeping<br />

the information for all processes in one database allows jobs submitted from any<br />

computer to execute on any queue (provided that the necessary mass storage<br />

devices are accessible).<br />

7.3 Starting a Queue Manager and Creating the Queue Database<br />

You start up a queue manager using the START/QUEUE/MANAGER command as<br />

you would on a standalone computer. However, in an <strong>OpenVMS</strong> <strong>Cluster</strong> system,<br />

you can also provide a failover list and a unique name for the queue manager.<br />

The /NEW_VERSION qualifier creates a new queue database.<br />

The following command example shows how to start a queue manager:<br />

$ START/QUEUE/MANAGER/NEW_VERSION/ON=(GEM,STONE,*)<br />

The following table explains the components of this sample command.<br />

Command Function<br />

START/QUEUE/MANAGER Creates a single, clusterwide queue manager named SYS$QUEUE_<br />

MANAGER.<br />

/NEW_VERSION Creates a new queue database in SYS$COMMON:[SYSEXE] that<br />

consists of the following three files:<br />

/ON=(node-list)<br />

[optional]<br />

7–2 Setting Up and Managing <strong>Cluster</strong> Queues<br />

• QMAN$MASTER.DAT (master file)<br />

• SYS$QUEUE_MANAGER.QMAN$QUEUES (queue file)<br />

• SYS$QUEUE_MANAGER.QMAN$JOURNAL (journal file)<br />

Rule: Use the /NEW_VERSION qualifier only on the first invocation<br />

of the queue manager or if you want to create a new queue database.<br />

Specifies an ordered list of nodes that can claim the queue manager if<br />

the node running the queue manager should exit the cluster. In the<br />

example:<br />

• The queue manager process starts on node GEM.<br />

• If the queue manager is running on node GEM and GEM leaves<br />

the cluster, the queue manager fails over to node STONE.<br />

• The asterisk wildcard ( * ) is specified as the last node in the node<br />

list to indicate that any remaining, unlisted nodes can start the<br />

queue manager in any order.<br />

Rules: Complete node names are required; you cannot specify the<br />

asterisk wildcard character as part of a node name.<br />

If you want to exclude certain nodes from being eligible to run the<br />

queue manager, do not use the asterisk wildcard character in the<br />

node list.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!