LSF10.1 Installation

Software package

1
2
root@masterhost# tar xvf lsf10.1_lsfinstall_linux_x86_64.tar
root@masterhost# cd lsf10.1_lsfinstall

Edit install.config

1
2
3
4
5
6
7
root@masterhost# cat install.config
LSF_TOP="/nfs/share/dir/lsftop"
LSF_ADMINS="lsfadmin"
LSF_CLUSTER_NAME="cluster1"
LSF_MASTER_LIST="masterhost"
LSF_ENTITLEMENT_FILE="/root/lsf10.1/install/dir/lsf_std_entitlement.dat"
LSF_TARDIR="/root/lsf10.1/install/dir"

Install LSF

1
root@masterhost# ./lsfinstall -f install.config

LSF Env setup

To apply LSF environment settinges to all users, do followings.

1
2
3
4
root@masterhost# cd /etc/profile.d
root@masterhost# ln -s /nfs/share/dir/lsftop/conf/cshrc.lsf lsf.csh
root@masterhost# ln -s /nfs/share/dir/lsftop/conf/profile.lsf lsf.sh
root@masterhost# . lsf.sh

Startup LSF as root

lsfstartup uses RSH to connect to all nodes in the cluster and start LSF. If RSH is not configured in your environment, you can configure lsfstartup to use SSH by adding the following line to your lsf.conf file: LSF_RSH=ssh

1
root@masterhost# lsfstartup

Run hostsetup on each LSF host as root

1
2
root@anyhost# cd /nfs/share/dir/lsftop/10.1/install 
root@anyhost# ./hostsetup --top="/usr/share/dir/lsftop" --boot="y" --startup="y"

Test LSF

1
2
3
4
5
root@anyhost# lsid
root@anyhost# lshosts
root@anyhost# bhosts
usr007@masterhost% bsub -n 4 "sleep 3600"
usr007@masterhost% bjobs

Users as well as lsfadmin who’s running LSF must be:

  • NIS (or NIS-like) user on all hosts.
  • existing on all hosts with same UID.