Log on to each LSF server host as root. Start with the LSF master host. If you are not root, you can continue with host setup, but by default, only root can start the LSF daemons.
Run hostsetup on each LSF server host. For example, to use the LSF cluster installed in /usr/share/lsf and configure LSF daemons to start automatically:
# cd /usr/share/lsf/8.0/install
# ./hostsetup ‑‑top="/usr/share/lsf" ‑‑boot="y"
For complete hostsetup usage, enter hostsetup -h.
Log on to the LSF master host as root, and set your LSF environment:
For csh or tcsh:
% source LSF_TOP/conf/cshrc.lsf
For sh, ksh, or bash:
$ . LSF_TOP/conf/profile.lsf
Optional. Enable Platform LSF for users.
Ensure all users Include LSF_CONFDIR/cshrc.lsf or LSF_CONFDIR/profile.lsf in their .cshrc or .profile.
Run lsfstartup to start the cluster.
Test your cluster by running some basic LSF commands (e.g., lsid, lshosts, bhosts). After testing your cluster, be sure all LSF users include LSF_CONFDIR/cshrc.lsf or LSF_CONFDIR/profile.lsf in their .cshrc or .profile.