Removing a host from LSF involves preventing any additional jobs from running on the host, removing the host from LSF, and removing the host from the cluster. To remove a host from your cluster, remove references to a host in your cluster from lsf.cluster.cluster_name and other configuration files.
About this task
CAUTION:
Never remove the management host from LSF. If
you want to remove your current default management host from LSF,
change lsf.cluster.cluster_name to assign a different
default management
host. Then, remove the host that was once the management host.
Procedure
- Log on to the LSF host as root.
-
Run badmin hclose to close the host. Closing the host prevents jobs from being dispatched to the host and allows running jobs to finish.
- Stop all running daemons manually.
- Remove any references to the host in the Host section of LSF_CONFDIR/lsf.cluster.cluster_name.
- Remove any other references to the host, if applicable, from the following LSF
configuration files:
- LSF_CONFDIR/lsf.shared
- LSB_CONFDIR/cluster_name/configdir/lsb.hosts
- LSB_CONFDIR/cluster_name/configdir/lsb.queues
- LSB_CONFDIR/cluster_name/configdir/lsb.resources
- Log off the host to be removed, and log on as root or
the primary LSF administrator to any other host in the cluster.
- Run lsadmin reconfig to
reconfigure LIM.
- Run badmin mbdrestart to
restart mbatchd.
-
If you configured LSF daemons to start automatically at system start, remove the LSF section from the host’s system start files.