Platform LSF Administration Guide Version 6.2
Adding a Host
Administering Platform LSF
102
❖
If any host type or host model is DEFAULT, follow the steps in “DEFAULT
host type or model” on page 608 to fix the problem.
Adding a host of a new 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 does not already exist 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 the host type already exists, go
to “Adding a host of an existing type using lsfinstall” on page 101.
2
Get the LSF distribution tar file for the host type you want to add.
3
Log on as root to any host that can access the LSF install directory.
4
Change to the LSF install directory. The default is
/usr/share/lsf/6.2/install
5
Edit install.config:
a
For LSF_TARDIR, specify the path to the tar file. For example:
LSF_TARDIR="/usr/share/lsf_distrib/6.2"
b
For LSF_ADD_SERVERS, list the new host names enclosed in quotes and
separated by spaces. For example:
LSF_ADD_SERVERS="hosta hostb"
c
Run ./lsfinstall -f install.config. This automatically creates the
host information in
lsf.cluster.cluster_name.
6
Run lsadmin reconfig to reconfigure LIM.
7
Run badmin reconfig to reconfigure mbatchd.
8
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"
9
Start LSF on the new host:
#
lsadmin limstartup
#
lsadmin resstartup
#
badmin hstartup
10
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.
❖
If any host type or host model is DEFAULT, follow the steps in “DEFAULT
host type or model” on page 608 to fix the problem.