Platform LSF Administration Guide Version 6.2
Controlling Queues
Administering Platform LSF
132
Controlling Queues
Queues are controlled by an LSF Administrator or root issuing a command or through
configured dispatch and run windows.
Closing a queue
Run badmin qclose:
%
badmin qclose normal
Queue <normal> is closed
When a user tries to submit a job to a closed queue the following message is displayed:
%
bsub -q normal ...
normal: Queue has been closed
Opening a queue
Run badmin qopen:
%
badmin qopen normal
Queue <normal> is opened
Inactivating a queue
Run badmin qinact:
%
badmin qinact normal
Queue <normal> is inactivated
Activating a queue
Run badmin qact:
%
badmin qact normal
Queue <normal> is activated
Logging a comment when controlling a queue
Use the -C option of badmin queue commands qclose, qopen, qact, and qinact
to log an administrator comment in
lsb.events. For example,
%
badmin qclose -C "change configuration" normal
The comment text change configuration is recorded in lsb.events.
A new event record is recorded for each queue event. For example:
%
badmin qclose -C "add user" normal
followed by
%
badmin qclose -C "add user user1" normal
will generate records in lsb.events:
"QUEUE_CTRL" "6.0 1050082373 1 "normal" 32185 "lsfadmin" "add user"
"QUEUE_CTRL" "6.0 1050082380 1 "normal" 32185 "lsfadmin" "add user user1"
Use badmin hist or badmin qhist to display administrator comments for closing
and opening hosts. For example: