LSF Version 7.3 - Administering Platform LSF

Administering Platform LSF 107
Working with Queues
To configure a dispatch window:
1 Edit lsb.queues
2 Create a DISPATCH_WINDOW keyword for the queue and specify one or
more time windows.
Begin Queue
QUEUE_NAME = queue1
PRIORITY = 45
DISPATCH_WINDOW = 4:30-12:00
End Queue
3 Reconfigure the cluster:
a Run
lsadmin reconfig.
b Run
badmin reconfig.
4 Run bqueues -l to display the dispatch windows.
Configure Run Windows
A run window specifies one or more time periods during which jobs dispatched
from a queue are allowed to run. When a run window closes, running jobs are
suspended, and pending jobs remain pending. The suspended jobs are resumed
when the window opens again. By default, queues are always Active and jobs can
run until completion. You must explicitly configure run windows in the queue to
specify a time when the queue is Inactive.
To configure a run window:
1 Edit lsb.queues.
2 Create a RUN_WINDOW keyword for the queue and specify one or more time
windows.
Begin Queue
QUEUE_NAME = queue1
PRIORITY = 45
RUN_WINDOW = 4:30-12:00
End Queue
3 Reconfigure the cluster:
a Run
lsadmin reconfig.
b Run
badmin reconfig.
4 Run bqueues -l to display the run windows.
Add and Remove Queues
Add a queue
1 Log in as the LSF administrator on any host in the cluster.
2 Edit
lsb.queues to add the new queue definition.