25.06.2015 Views

Administering Platform LSF - SAS

Administering Platform LSF - SAS

Administering Platform LSF - SAS

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 4<br />

Working with Hosts<br />

❖<br />

❖<br />

If any host type or host model is UNKNOWN, follow the steps in<br />

“UNKNOWN host type or model” on page 532 to fix the problem.<br />

If any host type or host model is DEFAULT, follow the steps in<br />

“DEFAULT host type or model” on page 532 to fix the problem.<br />

Adding a host of a new type using lsfinstall<br />

Compatibility<br />

Notice<br />

lsfinstall is not compatible with clusters installed with lsfsetup. To add a<br />

host to a cluster originally installed with lsfsetup, you must upgrade your<br />

cluster.<br />

1 Verify that the host type does not already exist in your cluster:<br />

a Log on to any host in the cluster. You do not need to be root.<br />

b List the contents of the <strong>LSF</strong>_TOP/6.0 directory. The default is<br />

/usr/share/lsf/6.0. If the host type currently exists, there will be a<br />

subdirectory with the name of the host type. If the host type already<br />

exists, go to “Adding a host of an existing type using lsfinstall” on<br />

page 76.<br />

2 Get the <strong>LSF</strong> distribution tar file for the host type you want to add.<br />

3 Log on as root to any host that can access the <strong>LSF</strong> install directory.<br />

4 Change to the <strong>LSF</strong> install directory. The default is<br />

/usr/share/lsf/6.0/install<br />

5 Edit install.config:<br />

a For <strong>LSF</strong>_TARDIR, specify the path to the tar file. For example:<br />

<strong>LSF</strong>_TARDIR="/usr/share/lsf_distrib/6.0"<br />

b For <strong>LSF</strong>_ADD_SERVERS, list the new host names enclosed in quotes<br />

and separated by spaces. For example:<br />

<strong>LSF</strong>_ADD_SERVERS="hosta hostb"<br />

c Run ./lsfinstall -f install.config. This automatically creates<br />

the host information in lsf.cluster.cluster_name.<br />

6 Run lsadmin reconfig to reconfigure LIM.<br />

7 Run badmin reconfig to reconfigure mbatchd.<br />

8 Run hostsetup to set up the new host and configure the daemons to start<br />

automatically at boot from /usr/share/lsf/6.0/install:<br />

# ./hostsetup --top="/usr/share/lsf" --boot="y"<br />

9 Start <strong>LSF</strong> on the new host:<br />

# lsadmin limstartup<br />

# lsadmin resstartup<br />

# badmin hstartup<br />

10 Run bhosts and lshosts to verify your changes.<br />

❖ If any host type or host model is UNKNOWN, follow the steps in<br />

“UNKNOWN host type or model” on page 532 to fix the problem.<br />

❖ If any host type or host model is DEFAULT, follow the steps in<br />

“DEFAULT host type or model” on page 532 to fix the problem.<br />

<strong>Administering</strong> <strong>Platform</strong> <strong>LSF</strong> 77

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!