REQUEST ADVICE ON SETTING UP MULTIPLE JOB QUEUES
ITEM: RTA000028491
QUESTION:
I have a customer who is migrating from a Prime computer
running PrimOS to an RS/6000 running AIX 3.2.2. They have
already installed the RS/6000, and are trying to duplicate
some features that the Prime offered.
In particular, the Prime had the capability of having multiple
batch job queues, with different priorities. They are using
ANSYS, which is a pretty compute-intensive job, and have set up
three queues on the Prime, where users with jobs of, say,
less than 5 minutes, 5-30 minutes, and >30 minutes could send
their jobs. The priorities were adjusted so that the long-
running job queue had a low priority, and the short job queue
a high priority.
I have read item ITNW1, which talks about the batch command.
However, I'd like some guidance about duplicating some or all
of this environment on the RS/6000.
1. Can we do some or all of this on the RS/6000?
2. Can you please suggest some ideas of how to do this?
---------- ---------- ---------- --------- ---------- ----------
A: 1) Yes, you can use the queue subsystem of AIX to do this.
2) There is a "bsh" queue for batch jobs by default in /etc/qconfig.
The stanzas are as follows:
bsh:
device = bshdev
discipline = fcfs
bshdev:
backend = /bin/sh
You could create 3 of these queues with different backends. Each
backend would have a different "nice" value. You could use a
shell script as the backend that contained something like:
/usr/bin/nice -15 /bin/ksh $1
This would pass the queue job to ksh and nice the shell. Then
you could create shell scripts that would "enq" each job to the
appropriate queue.
Please refer to InfoExplorer for more information on the "nice" and
"enq" commands and the "qconfig" file.
---------- ---------- ---------- --------- ---------- ----------
This item was created from library item Q616708 BXZGK
Additional search words:
ADVICE AIX ALTERNATE BXZGK EXECUTE INDEX IX JAN93 JOB MULTIPLE OP
PRIORITIES QUEUES REQ REQUEST REQUESTED REQUESTING RISCOSO
RISCSYSTEM RUNNING SETTING SOFTWARE SYS UP 3.2.2
WWQA: ITEM: RTA000028491 ITEM: RTA000028491
Dated: 11/1996 Category: RISCOSO
This HTML file was generated 99/06/24~12:43:10
Comments or suggestions?
Contact us