Command Reference Guide

Platform LSF Command Reference 237
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
lsf7Update3_lsfinstall.tar.Z and is located in the lsf7Update3_lsfinstall
directory created when you uncompress and extract installation script tar file.
After installation,
rhostsetup is located in LSF_TOP/7.0/install/.
rhostsetup parameters
Before using rhostsetup, you must configure the following parameters at the top
of the script:
LSF_RSHCMDthe remote shell command (e.g, rsh or ssh) accessing the
remote host
LSF_HOSTSlist of hosts to run hostsetup on
LSF_TOPDIRsets the hostsetup --top option. Specify the full path to the
top-level installation directory.
rhostsetup tries to detect this from lsf.conf
if it is not defined here.
LSF_BOOTsets the hostsetup --boot option. Default is no (n).
LSF_QUIET—sets the hostsetup --quiet option. Default is no (n).
Example rshostsetup configuration
LSF_RSHCMD="ssh -n"
LSF_HOSTS="hostA hostB hostC"
LSF_TOPDIR=/usr/local/ls
LSF_BOOT=y
LSF_QUIET=n
Options
-f option_file Name of the file containing the installation options. The file can be any name you
choose. The name of the default template file for normal installation is
install.config. To install slave hosts for dynamic host configuration, use the
template file
slave.config.
-s Install a dynamic slave host.
Specify installation options in the
slave.config file.
Required parameters:
LSF_SERVER_HOSTS="host_name [host_name ...]"
LSF_TOP="/path"
LSF_TARDIR="/path"