Operating System - OpenVMS
1828365 Members
2849 Online
109976 Solutions
New Discussion

Re: Creating a batch queue on multiple systems

 
vmsserbo
Super Advisor

Creating a batch queue on multiple systems

I need to create a batch queue that looks like the following queue.

Batch queue PRO$BATCH, idle, on TREK::
/AUTOSTART_ON=(TREK::) /BASE_PRIORITY=4 /JOB_LIMIT=4 /OWNER=[SYSTEM]
/PROTECTION=(S:M,O:D,G:R,W:S)

What is the best command to use for this?
Please give examples!

Thanks!
3 REPLIES 3
Jan van den Ende
Honored Contributor

Re: Creating a batch queue on multiple systems

Miles,

HELP INIT /QUE should provide all you need, and more.

From the title of your subject I _ASSUME_ this is a clustered environment? And you want to be able to use it from different nodes in the cluster? Well, as long as the disks where the jobs reside are mounted (also) on TREK::, that is what VMS clustering is doing for you.
If you want the queue to also serve users in the case that TREK:: would be down, then replace the /AUTO=.. with the list of nodes that can serve the queue.

I hope that was what your question was about.


PS from your profile:
>>>
I have assigned points to 224 of 407 responses to my questions.
<<<

Time to catch up somewhat?

Proost.

Have one on me.

jpe
Don't rust yours pelled jacker to fine doll missed aches.
vmsserbo
Super Advisor

Re: Creating a batch queue on multiple systems

Thanks!

Sorry I figured it out already!

Joseph Huber_1
Honored Contributor

Re: Creating a batch queue on multiple systems

You gave already all parameters, just add them to the command
INIT/QUEUE/BATCH PRO$BATCH /auto...

In subject You say "on multiple systems":
It depends on wether systems in a cluster or multiple standalone systems.
For standalone systems, the queue can be created with the same name on each system.
Inside a cluster with a common queue manager, create above execution queues, but with a UNIQUE/different queue name on each node.
Then create a GENERIC queue to include all the execution queues:
INIT/QUEUE/BATCH/GENERIC=(pro_trek,pro_node2,...) PRO$BATCH
http://www.mpp.mpg.de/~huber