HP XC System Software Administration Guide Version 3.0
/opt/hptc/lsf/top/conf/hosts file maps lsfhost.localdomain and its virtual IP to the
designated LSF execution host
• An initial LSF-HPC hosts file to map the virtual host name (lsfhost.localdomain) to an actual
nodename is provided.
• Sets the default LSF-HPC environment for all users who log into the HP XC system.
Files named lsf.sh and lsf.csh are added to the /etc/profile.d/ directory; these files source
the respective /opt/hptc/lsf/top/conf/profile.lsf and
/opt/hptc/lsf/top/conf/cshrc.lsf files.
• The JOB_ACCEPT_INTERVAL= entry in the lsf.params file is set to 0 (zero) to allow more than one
job to be dispatched to the LSF execution host per dispatch cycle. If this setting is nonzero, jobs are
dispatched at a slower rate.
• A soft link from /etc/init.d/lsf to /opt/hptc/sbin/controllsf is created.
• A scratch area for LSF-HPC is created in /hptc_cluster/lsf/tmp/. It must be read-writable by
all.
• The controllsf set primary command is invoked with the highest-numbered node that has the
resource management role. If this is not done, LSF-HPC starts on the head node even if the head node
is not a resource management node.
LSF-HPC Startup and Shutdown
This section discusses starting up and shutting down LSF-HPC.
Starting Up LSF-HPC
LSF-HPC is configured to start up automatically when the HP XC system starts up, through the use of the
/etc/init.d/lsf script.
If LSF-HPC stops running, you can start it with the controllsf command, as shown here:
# controllsf start
This command searches through a list of nodes with the lsf service until it finds a node to run LSF-HPC.
Alternatively, you can invoke the following command to start LSF-HPC on the current node:
# controllsf start here
Shutting Down LSF-HPC
At system shutdown, the /etc/init.d/lsf script ensures an orderly shutdown of LSF-HPC.
You can use the controllsf command, as shown here, to stop LSF-HPC regardless of where it is active
in the HP XC system:
# controllsf stop
Controlling the LSF-HPC Service
You can use the service command to start or stop the LSF-HPC service on the HP XC system, or to obtain
the system's current status:
service lsf start This command is primarily of interest for automated startup. If the current node
is the primary LSF execution host, it sets the state to RUNNING, then starts
LSF-HPC unless it is already running somewhere on the HP XC system. If the
node is not the primary LSF execution host, it ignores the command.
service lsf stop This command stops the LSF-HPC environment if it is running on the current
node.
Invoking this command on the LSF execution host or on the head node shuts
down the LSF-HPC environment regardless where it is on the HP XC system,
and sets the state to SHUT DOWN to prevent any attempt to fail over the LSF-HPC
service to another node.
Administering LSF-HPC 123