Platform LSF Reference Version 6.2
lsfinstall
Platform LSF Reference
205
After installing Platform LSF
1
Optional. Run hostsetup to configure host-based resources and set up automatic
LSF startup on your server hosts.
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.
a
Log 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.
b
Run hostsetup on each server host. For example:
# cd /usr/share/lsf/6.2/install
# ./hostsetup --top="/usr/share/lsf" --boot="y"
For complete hostsetup usage, enter hostsetup -h.
2
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
3
Run lsfstartup to start the cluster.
For large cluster, where cluster management software exists, you should ust
/etc/init.d lsf start instead of lsftartup.
4
Test 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
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.
hostsetup example
The following example sets up a host to use the cluster installed in /usr/share/lsf.
It also configures the LSF daemons to start automatically (
--boot="y"):
# hostsetup --top="/usr/share/lsf" --boot="y"
Running host setup remotely (rhostsetup)
Use the rhostsetup script to launch hostsetup on remote hosts.
rhostsetup uses either ssh or rsh. It is included in the installation script tar file
lsf6.2_lsfinstall.tar.Z and is located in the lsf6.2_lsfinstall directory
created when you uncompress and extract installation script tar file.
After installation,
rhostsetup is located in LSF_TOP/6.2/install/.
rhostsetup parameters
Before using rhostsetup, you must configure the following parameters at the top of
the script: