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.11 Starting Local Batch Queues<br />

7.11.1 Startup Command Procedure<br />

Start the local batch execution queue in each node’s startup command procedure<br />

SYSTARTUP_VMS.COM. If you use a common startup command procedure, add<br />

commands similar to the following to your procedure:<br />

$ SUBMIT/PRIORITY=255/NOIDENT/NOLOG/QUEUE=node_BATCH LAYERED_PRODUCT.COM<br />

$ START/QUEUE node_BATCH<br />

$ DEFINE/SYSTEM/EXECUTIVE SYS$BATCH node_BATCH<br />

Submitting the startup command procedure LAYERED_PRODUCT.COM as a<br />

high-priority batch job before the queue starts ensures that the job is executed<br />

immediately, regardless of the job limit on the queue. If the queue is started<br />

before the command procedure was submitted, the queue might reach its job limit<br />

by scheduling user batch jobs, and the startup job would have to wait.<br />

7.12 Using a Common Command Procedure<br />

Once you have created queues, you must start them to begin processing batch<br />

and print jobs. In addition, you must make sure the queues are started each time<br />

the system reboots, by enabling autostart for autostart queues or by entering<br />

START/QUEUE commands for nonautostart queues. To do so, create a command<br />

procedure containing the necessary commands.<br />

7.12.1 Command Procedure<br />

You can create a common command procedure named, for example,<br />

QSTARTUP.COM, and store it on a shared disk. With this method, each node<br />

can share the same copy of the common QSTARTUP.COM procedure. Each node<br />

invokes the common QSTARTUP.COM procedure from the common version of<br />

SYSTARTUP. You can also include the commands to start queues in the common<br />

SYSTARTUP file instead of in a separate QSTARTUP.COM file.<br />

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

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

Saved successfully!

Ooh no, something went wrong!