lsfrestart

Restarts the LIM, RES, sbatchd, and mbatchd daemons on all hosts in the cluster

Synopsis

lsfrestart [-f | -pdsh]
lsfrestart [-h | -V]

Description

Important:

This command can be used only by root, the primary cluster administrator, or users who are listed in the lsf.sudoers file.

Restarts the LIM, RES, sbatchd and mbatchd daemons, in that order, on all hosts in the local cluster. When live configuration with the bconf command is enabled (the LSF_LIVE_CONFDIR parameter is defined in the lsf.conf file), the lsfstartup command uses configuration files that are generated by the bconf command.

By default, prompts for confirmation of the next operation if an error is encountered.

To be able to control all daemons in the cluster, the file /etc/lsf.sudoers must be set up properly.

Note: To use the lsf.sudoers file, you must enable the setuid bit for the LSF administration commands. Run the hostsetup --setuid command option on the LSF management and candidate hosts. Since this allows LSF administration commands to run with root privileges, do not enable the setuid bit if you do not want these LSF commands to run with root privileges.

The hostsetup --setuid command enables the setuid bit for the following LSF executable files: badmin, lsadmin, egosh, utmpreg, swtbl_api, ntbl_api, lstbl_nid, and swtbl_poe.

Options

-f
Force mode. Continues to restart daemons even if an error is encountered.
-pdsh
Enable parallel remote command execution with the PDSH tool. The PDSH tool is required on management hosts and management candidates. The chunk size is 400 hosts.
-h
Prints command usage to stderr and exits.
-V
Prints LSF release version to stderr and exits.

See also

lsadmin, badmin, lsfshutdown, lsfstartup, lsf.sudoers.