HP XC System Software Administration Guide Version 3.1
You can use the controllsf command to change these assignments.
• controllsf disable headnode preferred
Specifies that the head node should be ordered at the end of the list, rather than at the head.
• controllsf disable slurm affinity
Specifies that HP XC should attempt to place the SLURM and LSF-HPC with SLURM daemons on
separate nodes.
• controllsf set primary nodename
Specifies that LSF-HPC with SLURM start on some node other than the head node by default.
You can also change the selection of the primary and backup nodes for the SLURM control daemon by
editing the SLURM configuration file, /hptc_cluster/slurm/etc/slurm.conf.
15.13.4 LSF-HPC with SLURM Failover and Running Jobs
In the event of an LSF-HPC with SLURM failover, any interactive LSF-HPC with SLURM jobs are terminated
because their I/O operates through the LSF daemons. These jobs finish with an exit code of 122.
However, LSF-HPC with SLURM batch jobs run undisturbed as long as their nodes remain up.
LSF-HPC with SLURM cannot monitor the running jobs to determine if the job is running appropriately
or if it is hung indefinitely when the HP XC LSF execution host fails and the LSF-HPC with SLURM
daemons are restarted on another node.
Ensure that each LSF-HPC with SLURM queue configured in the lsb.queues file includes 122 as a requeue
exit value so that these jobs will be queued again and rerun. At a minimum, the entry for each queue
resembles the following:
REQUEUE_EXIT_VALUES=122
15.13.5 Manual LSF-HPC with SLURM Failover
Use the following procedure if you need to initiate a manual LSF-HPC with SLURM, that is, move LSF-HPC
with SLURM from one node to another. You need to perform this operation to perform maintenance on
the LSF execution host, for example.
1. Log in as the superuser (root).
2. Use the following command to stop LSF-HPC with SLURM:
# controllsf stop
3. Use the following command to restart LSF-HPC with SLURM on another node; this example starts
LSF-HPC with SLURM on node n18:
# ssh n18 controllsf start here
15.14 Enhancing LSF-HPC with SLURM
You can set environment variables to influence the operation of LSF-HPC with SLURM in the HP XC
system. These environment variables affect the operation directly and set thresholds for LSF-HPC with
SLURM and SLURM interplay.
15.14.1 LSF-HPC with SLURM Enhancement Settings
Table 15-3 describes the environment variables in the lsf.conf file that you can use to enhance LSF-HPC
with SLURM.
15.14 Enhancing LSF-HPC with SLURM 191