Platform LSF Administration Guide Version 6.2

Registering Service Ports
Administering Platform LSF
110
Registering Service Ports
LSF uses dedicated UDP and TCP ports for communication. All hosts in the cluster
must use the same port numbers to communicate with each other.
The service port numbers can be any numbers ranging from 1024 to 65535 that are not
already used by other services. To make sure that the port numbers you supply are not
already used by applications registered in your service database check
/etc/services
or use the command
ypcat services.
By default, port numbers for LSF services are defined in the
lsf.conf file. You can
also configure ports by modifying
/etc/services or the NIS or NIS+ database. If
you define port numbers
lsf.conf, port numbers defined in the service database are
ignored.
lsf.conf
1
Log on to any host as root.
2
Edit lsf.conf and add the following lines:
LSF_LIM_PORT=3879
LSF_RES_PORT=3878
LSB_MBD_PORT=3881
LSB_SBD_PORT=3882
3
Add the same entries to lsf.conf on every host.
4
Save lsf.conf.
5
Run lsadmin reconfig to reconfigure LIM.
6
Run badmin mbdrestart to restart mbatchd.
7
Run lsfstartup to restart all daemons in the cluster.
/etc/services
During installation, use the hostsetup --boot="y" option to set up the LSF port
numbers in the service database.
Configuring
services manually
Use the file LSF_TOP/version/install/instlib/example.services file as
a guide for adding LSF entries to the services database.
If any other service listed in your services database has the same port number as one of
the LSF services, you must change the port number for the LSF service. You must use
the same port numbers on every LSF host.
1
Log on to any host as root.
2
Edit the /etc/services file by adding the contents of the
LSF_TOP/version/install/instlib/example.services file: