25.06.2015 Views

Administering Platform LSF - SAS

Administering Platform LSF - SAS

Administering Platform LSF - SAS

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Adding a Host<br />

Adding a Host<br />

Use lsfinstall to add a host to an <strong>LSF</strong> cluster.<br />

Contents ◆ “Adding a host of an existing type using lsfinstall” on page 76<br />

◆ “Adding a host of a new type using lsfinstall” on page 77<br />

See the <strong>Platform</strong> <strong>LSF</strong> Reference for more information about lsfinstall.<br />

Adding a host of an existing 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 already exists 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 it does not exist, go to<br />

“Adding a host of a new type using lsfinstall” on page 77.<br />

2 Add the host information to lsf.cluster.cluster_name:<br />

a Log on to the <strong>LSF</strong> master host as root.<br />

b Edit <strong>LSF</strong>_CONFDIR/lsf.cluster.cluster_name, and specify the<br />

following in the Host section:<br />

i The name of the host.<br />

ii The model and type, or specify ! to automatically detect the type or<br />

model.<br />

iii Specify 1 for <strong>LSF</strong> server or 0 for <strong>LSF</strong> client. For example:<br />

Begin Host<br />

HOSTNAME model type server r1m mem RESOURCES REXPRI<br />

hosta ! SUNSOL6 1 1.0 4 () 0<br />

hostb ! SUNSOL6 0 1.0 4 () 0<br />

hostc ! HPPA1132 1 1.0 4 () 0<br />

hostd ! HPPA1164 1 1.0 4 () 0<br />

End Host<br />

c Save your changes.<br />

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

4 Run badmin mbdrestart to restart mbatchd.<br />

5 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 />

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

# lsadmin limstartup<br />

# lsadmin resstartup<br />

# badmin hstartup<br />

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

76<br />

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

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

Saved successfully!

Ooh no, something went wrong!