HP XC System Software Administration Guide Version 4.0

Table Of Contents
1. If LSF with SLURM failover is enabled, ensure that each node with the resource management
role has an external network connection. Run the following command to confirm this:
# shownode roles --role resource_management external
resource_management: n[127-128]
external: n[125-128]
resource_management: n[127-128]
external: n[125-128]
2. Obtain a virtual IP and corresponding host name, and ensure that they are not already in
use:
# ping -i 2 -c 2 xclsf
PING xclsf (10.10.123.1): 56 data bytes
--- xclsf ping statistics ---
2 packets transmitted, 0 packets received, 100% packet loss
# ping -i 2 -c 2 10.10.123.1
PING 10.10.123.1 (10.10.123.1): 56 data bytes
--- 10.10.123.1 ping statistics ---
2 packets transmitted, 0 packets received, 100% packet loss
3. Ensure that no jobs are running. For more information, see “Draining Nodes” (page 182)
4. Shut down LSF with SLURM:
# controllsf stop
5. Change the virtual host name to the new one and confirm:
# controllsf set virtual hostname xclsf
# controllsf show
LSF is currently shut down, and assigned to node .
Failover is disabled.
Head node is preferred.
The primary LSF host node is n128.
SLURM affinity is enabled.
The virtual hostname is "xclsf".
6. Edit the $LSF_ENVDIR/lsf.cluster.cluster_name file and change the old virtual
host name to the new virtual host name in the HOSTS section.
7. Edit the lsf.conf file to replace the old virtual host name with the new virtual host name
in the assignment of the LSF_MASTER_LIST and LSF_SERVER_HOSTS environment
variables.
LSF_MASTER_LIST="new_LSF_virtual_host_name"
.
.
.
LSF_SERVER_HOSTS="new_LSF_virtual_host_name"
8. Edit $LSF_ENVDIR/hosts file to remove the old virtual host name entry.
9. Restart LSF with SLURM:
# controllsf start
16.17 Configuring an External Virtual Host Name for LSF with SLURM on HP XC Systems 213