LSF Version 7.3 - Administering Platform LSF

Administering Platform LSF 109
Working with Queues
Manage Queues
Restrict host use by queues
You may want a host to be used only to run jobs submitted to specific queues. For
example, if you just added a host for a specific department such as engineering, you
may only want jobs submitted to the queues
engineering1 and engineering2 to
be able to run on the host.
1 Log on as root or the LSF administrator on any host in the cluster.
2 Edit
lsb.queues, and add the host to the HOSTS parameter of specific queues.
Begin Queue
QUEUE_NAME = queue1
...
HOSTS=mynewhost hostA hostB
...
End Queue
3 Save the changes to lsb.queues.
4 Use
badmin ckconfig to check the new queue definition. If any errors are
reported, fix the problem and check the configuration again.
5 Run
badmin reconfig to reconfigure mbatchd.
6 If you add a host to a queue, the new host will not be recognized by jobs that
were submitted before you reconfigured. If you want the new host to be
recognized, you must use the command badmin mbdrestart.
Add queue administrators
Queue administrators are optionally configured after installation. They have
limited privileges; they can perform administrative operations (open, close,
activate, inactivate) on the specified queue, or on jobs running in the specified
queue. Queue administrators cannot modify configuration files, or operate on LSF
daemons or on queues they are not configured to administer.
To switch a job from one queue to another, you must have administrator privileges
for both queues.
1 In the lsb.queues file, between Begin Queue and End Queue for the
appropriate queue, specify the ADMINISTRATORS parameter, followed by the
list of administrators for that queue. Separate the administrator names with a
space. You can specify user names and group names.
Begin Queue
ADMINISTRATORS = User1 GroupA
End Queue