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

NIS or NIS+ database<br />

# /etc/services entries for <strong>LSF</strong> daemons<br />

#<br />

res 3878/tcp # remote execution server<br />

lim 3879/udp # load information manager<br />

mbatchd 3881/tcp # master lsbatch daemon<br />

sbatchd 3882/tcp # slave lsbatch daemon<br />

#<br />

# Add this if ident is not already defined<br />

# in your /etc/services file<br />

ident 113/tcp auth tap # identd<br />

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

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

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

If you are running NIS, you only need to modify the services database once<br />

per NIS master. On some hosts the NIS database and commands are in the<br />

/var/yp directory; on others, NIS is found in /etc/yp.<br />

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

2 Run lsfshutdown to shut down all the daemons in the cluster<br />

3 To find the name of the NIS master host, use the command:<br />

% ypwhich -m services<br />

4 Log on to the NIS master host as root.<br />

5 Edit the /var/yp/src/services or /etc/yp/src/services file on the<br />

NIS master host adding the contents of the<br />

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

# /etc/services entries for <strong>LSF</strong> daemons.<br />

#<br />

res 3878/tcp # remote execution server<br />

lim 3879/udp # load information manager<br />

mbatchd 3881/tcp # master lsbatch daemon<br />

sbatchd 3882/tcp # slave lsbatch daemon<br />

#<br />

# Add this if ident is not already defined<br />

# in your /etc/services file<br />

ident 113/tcp auth tap # identd<br />

Make sure that all the lines you add either contain valid service entries or<br />

begin with a comment character (#). Blank lines are not allowed.<br />

6 Change the directory to /var/yp or /etc/yp.<br />

7 Use the following command:<br />

% ypmake services<br />

On some hosts the master copy of the services database is stored in a<br />

different location.<br />

On systems running NIS+ the procedure is similar. Refer to your system<br />

documentation for more information.<br />

86<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!