Usage

Closes batch server hosts. Specify the names of any server hosts or host groups. All batch server hosts are closed if the reserved word all is specified. If no argument is specified, the local host is assumed. A closed host does not accept any new job, but jobs already dispatched to the host are not affected. Note that this is different from a host closed by a window; all jobs on it are suspended in that case.

-Ccomment

Logs the text as an administrator comment record to lsb.events. The maximum length of the comment string is 512 characters.

If you close a host group, each host group member displays with the same comment string.

hghostadd [-Ccomment] host_group host_name [host_name ...]

If dynamic host configuration is enabled, dynamically adds hosts to a host group, . After receiving the host information from the master LIM, mbatchd dynamically adds the host without triggering a reconfig.

Once the host is added to the group, it is considered to be part of that group with respect to scheduling decision making for both newly submitted jobs and for existing pending jobs.

This command fails if any of the specified host groups or host names are not valid.

RESTRICTION: If EGO-enabled SLA scheduling is configured through ENABLE_DEFAULT_EGO_SLA in lsb.params, you cannot use hghostadd because all host allocation is under control of Platform EGO.

-Ccomment

Logs the text as an administrator comment record to lsb.events. The maximum length of the comment string is 512 characters.

hghostdel [-f][-Ccomment] host_group host_name [host_name ...]

Dynamically deletes hosts from a host group by triggering an mbatchd reconfig

This command fails if any of the specified host groups or host names are not valid.

CAUTION: If you want to change a dynamic host to a static host, first use the command badmin hghostdel to remove the dynamic host from any host group that it belongs to, and then configure the host as a static host in lsf.cluster.cluster_name.

RESTRICTION: If EGO-enabled SLA scheduling is configured through ENABLE_DEFAULT_EGO_SLA in lsb.params, you cannot use hghostdel because all host allocation is under control of Platform EGO.

hrestart [-f] [host_name ... all]

Restarts sbatchd on the specified hosts, or on all server hosts if the reserved word all is specified. If no host is specified, the local host is assumed. sbatchd reruns itself from the beginning. This allows new sbatchd binaries to be used.

-f

Disables interaction and does not ask for confirmation for restarting sbatchd.

hshutdown [-f] [host_name ... all]

26Platform LSF Command Reference