Platform LSF Administration Guide Version 6.2
Chapter 4
Working with Hosts
Administering Platform LSF
101
Adding a Host
Use lsfinstall to add a host to an LSF cluster.
Contents
◆
“Adding a host of an existing type using lsfinstall” on page 101
◆
“Adding a host of a new type using lsfinstall” on page 102
See the Platform LSF Reference for more information about
lsfinstall.
Adding a host of an existing type using lsfinstall
Compatibility
notice
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.
1
Verify that the host type already exists in your cluster:
a
Log on to any host in the cluster. You do not need to be root.
b
List the contents of the LSF_TOP/6.2 directory. The default is
/usr/share/lsf/6.2. If the host type currently exists, there will be a
subdirectory with the name of the host type. If it does not exist, go to “Adding
a host of a new type using lsfinstall” on page 102.
2
Add the host information to lsf.cluster.cluster_name:
a
Log on to the LSF master host as root.
b
Edit LSF_CONFDIR/lsf.cluster.cluster_name, and specify the following
in the
Host section:
i
The name of the host.
ii
The model and type, or specify ! to automatically detect the type or model.
iii
Specify 1 for LSF server or 0 for LSF client. For example:
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
c
Save your changes.
3
Run lsadmin reconfig to reconfigure LIM.
4
Run badmin mbdrestart to restart mbatchd.
5
Run hostsetup to set up the new host and configure the daemons to start
automatically at boot from
/usr/share/lsf/6.2/install
:
#
./hostsetup --top="/usr/share/lsf" --boot="y"
6
Start LSF on the new host:
%
lsadmin limstartup
%
lsadmin resstartup
%
badmin hstartup
7
Run bhosts and lshosts to verify your changes.
❖
If any host type or host model is UNKNOWN, follow the steps in
“UNKNOWN host type or model” on page 608 to fix the problem.