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.

Registering Service Ports<br />

lsf.conf<br />

/etc/services<br />

Chapter 4<br />

Working with Hosts<br />

<strong>LSF</strong> uses dedicated UDP and TCP ports for communication. All hosts in the<br />

cluster must use the same port numbers to communicate with each other.<br />

The service port numbers can be any numbers ranging from 1024 to 65535 that<br />

are not already used by other services. To make sure that the port numbers<br />

you supply are not already used by applications registered in your service<br />

database check /etc/services or use the command ypcat services.<br />

By default, port numbers for <strong>LSF</strong> services are defined in the lsf.conf file. You<br />

can also configure ports by modifying /etc/services or the NIS or NIS+<br />

database. If you define port numbers lsf.conf, port numbers defined in the<br />

service database are ignored.<br />

1 Log on to any host as root.<br />

2 Edit lsf.conf and add the following lines:<br />

<strong>LSF</strong>_LIM_PORT=3879<br />

<strong>LSF</strong>_RES_PORT=3878<br />

LSB_MBD_PORT=3881<br />

LSB_SBD_PORT=3882<br />

3 Add the same entries to lsf.conf on every host.<br />

4 Save lsf.conf.<br />

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

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

7 Run lsfstartup to restart all daemons in the cluster.<br />

During installation, use the hostsetup --boot="y" option to set up the <strong>LSF</strong> port<br />

numbers in the service database.<br />

Configuring<br />

services manually<br />

Use the file <strong>LSF</strong>_TOP/version/install/instlib/example.services file<br />

as a guide for adding <strong>LSF</strong> entries to the services database.<br />

If any other service listed in your services database has the same port number<br />

as one of the <strong>LSF</strong> services, you must change the port number for the <strong>LSF</strong><br />

service. You must use the same port numbers on every <strong>LSF</strong> host.<br />

1 Log on to any host as root.<br />

2 Edit the /etc/services file by adding the contents of the<br />

<strong>LSF</strong>_TOP/version/install/instlib/example.services file:<br />

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

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

Saved successfully!

Ooh no, something went wrong!