Description

Multi-user—By default, only root can start the LSF daemons. Any user can submit jobs to your cluster. To make the cluster available to other users, you must manually change the ownership and setuid bit for lsadmin and badmin to root, and the file permission mode to -rwsr-xr-x(4755) so that the user ID bit for the owner is setuid.

Use the following commands to set the correct owner, user ID bit, and file permission mode for a multi-user cluster:

#chown root lsadmin badmin eauth swtbl_api ntbl_api

#chmod 4755 lsadmin badmin eauth swtbl_api ntbl_api

After installing Platform LSF

1Optional. Run hostsetup to configure host-based resources and set up automatic LSF startup on your server hosts.

TIP: For Platform LSF HPC hosts, running hostsetup is optional on AIX and Linux. You must run hostsetup on SGI IRIX, TRIX, and Altix hosts, and on HP-UX hosts.

aLog on to each server host as root. Start with the master host. If you are not root, you can continue with host setup, but by default, only root can start the LSF daemons.

bRun hostsetup on each server host. For example:

#cd /usr/share/lsf/7.0/install

#./hostsetup --top="/usr/share/lsf" --boot="y"

TIP: For complete hostsetup usage, enter hostsetup -h.

2Log 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

3Run lsfstartup to start the cluster.

TIP: For large cluster, where cluster management software exists, you should use /etc/init.d lsf start instead of lsfstartup.

4Test your cluster by running some basic 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.

Follow the steps in lsf7Update3_lsfinstall/lsf_quick_admin.html for using LSF_CONFDIR/cshrc.lsf and LSF_CONFDIR/profile.lsf to set up the Platform LSF environment for users.

236Platform LSF Command Reference