Platform LSF Administrator's Primer Version 6.2
Chapter 3
Managing Your Cluster
Platform LSF Administrator’s Primer
37
% badmin qclose night
Queue <night> is closed
3
Move all pending and running jobs into another queue.
For example, the
bswitch -q night command below chooses jobs from the
night queue, and the job ID number 0 specifies that all jobs should be switched
(job ID of
0 matches all jobs):
% bjobs -u all -q night
JOBID USER STAT QUEUE FROM_HOST EXEC_HOST JOB_NAME SUBMIT_TIME
5308 user5 RUN night hosta hostd job5 Nov 21 18:16
5310 user5 PEND night hosta hostc job10 Nov 21 18:17
% bswitch -q night idle 0
Job <5308> is switched to queue <idle>
Job <5310> is switched to queue <idle>
4
Edit LSB_CONFDIR/cluste r_name/configdir/lsb.queues and remove
or comment out the definition for the queue being removed.
5
Save the changes to lsb.queues.
6
Reconfigure the cluster:
% badmin reconfig
Checking configuration files ...
No errors found.
Do you want to reconfigure? [y/n] y
Reconfiguration initiated
The badmin reconfig command checks for configuration errors.
If no fatal errors are found, you are asked to confirm reconfiguration. If fatal errors
are found, reconfiguration is aborted.
If you get errors
See Chapter 6, “Troubleshooting LSF Problems” or the Platform LSF Reference for
help with some common configuration errors.