You use the lsfinstallcommand to add a host to an LSF cluster.
Add a host of an existing type using lsfinstall
Restriction:
lsfinstall is not compatible with clusters installed with lsfsetup. To add a host to a cluster originally installed with lsfsetup, you must upgrade your cluster.
Verify that the host type already exists in your cluster:
Log on to any host in the cluster. You do not need to be root.
List the contents of the LSF_TOP/8.0 directory and confirm there is already a subdirectory with the name of the host type.
The default LSF_TOP/8.0 directory is /usr/share/lsf/8.0.
Add the host information to lsf.cluster.cluster_name:
Log on to the LSF master host as root.
Edit LSF_CONFDIR/lsf.cluster.cluster_name, and specify the following in the Host section:
The name of the host.
The model and type, or specify ! to automatically detect the type or model.
Specify 1 for LSF server or 0 for LSF client.
Begin Host
HOSTNAME model type server r1m mem RESOURCES REXPRI
hosta ! SUNSOL6 1 1.0 4 () 0
hostb ! SUNSOL6 0 1.0 4 () 0
hostc ! HPPA1132 1 1.0 4 () 0
hostd ! HPPA1164 1 1.0 4 () 0
End Host
Save your changes.
Run lsadmin reconfig to reconfigure LIM.
Run badmin mbdrestart to restart mbatchd.
Run hostsetup to set up the new host and configure the daemons to start automatically at boot from /usr/share/lsf/8.0/install:
lsfinstall is not compatible with clusters installed with lsfsetup. To add a host to a cluster originally installed with lsfsetup, you must upgrade your cluster.
Verify that the host type does not already exist in your cluster:
Log on to any host in the cluster. You do not need to be root.
List the contents of the LSF_TOP/8.0 directory. The default is /usr/share/lsf/8.0. If the host type currently exists, there will be a subdirectory with the name of the host type.
Get the LSF distribution tar file for the host type you want to add.
Log on as root to any host that can access the LSF install directory.
Change to the LSF install directory. The default is
/usr/share/lsf/8.0/install
Edit install.config:
For LSF_TARDIR, specify the path to the tar file. For example:
LSF_TARDIR="/usr/share/lsf_distrib/8.0"
For LSF_ADD_SERVERS, list the new host names enclosed in quotes and separated by spaces. For example:
LSF_ADD_SERVERS="hosta hostb"
Run ./lsfinstall -f install.config. This automatically creates the host information in lsf.cluster.cluster_name.
Run lsadmin reconfig to reconfigure LIM.
Run badmin reconfig to reconfigure mbatchd.
Run hostsetup to set up the new host and configure the daemons to start automatically at boot from /usr/share/lsf/8.0/install: