Platform LSF Administrator's Primer Version 6.2

Managing Users, Hosts, and Queues
Platform LSF Administrator’s Primer
36
Removing hosts
dynamically
Dynamic host configuration allows you to remove hosts from the cluster without
manually changing the LSF configuration. See Administering Platform LSF for details
about removing hosts dynamically.
If you get errors See Chapter 6, “Troubleshooting LSF Problems” or the Platform LSF Reference for
help with some common configuration errors.
Adding a queue
Adding a queue does not affect pending or running jobs.
1
Log on as the LSF administrator to any host in the cluster.
2
Edit LSB_CONFDIR/cluster_name/configdir/lsb.queues to add the
new queue definition.
You can copy another queue definition from this file as a starting point; remember
to change the
QUEUE_NAME of the copied queue.
See the Platform LSF Reference for information about queue configuration in the
lsb.queues file.
3
Save the changes to lsb.queues.
4
Use the command badmin ckconfig to check the new queue definition.
If any errors are reported, fix the problem and check the configuration again.
5
When the configuration files are ready, 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.
Removing a queue
View list of
existing queues
Before removing a queue, make sure there are no jobs in that queue.
Use the
bqueues command to view a list of existing queues.
If there are jobs in the queue, you must move pending and running jobs to another
queue, then remove the queue.
If you remove a queue that has pending jobs in it, the jobs are temporarily moved to a
lost_and_found queue. The job state does not change. Running jobs continue, and
jobs pending in the original queue are pending in the
lost_and_found queue, and
remain pending until the user or the LSF administrator uses the
bswitch command to
switch the jobs into regular queues. Jobs in other queues are not affected.
Steps
1
Log on to any host in the cluster as primary LSF administrator.
2
Close the queue to prevent any new jobs from being submitted:
For example: