Installing Standard LSF on HP XC

2. Configure standard LSF to automatically start on node boot.
To do this, you must convert a slurm_launch script from starting munge on every node to
starting LSF on every node. The MUNGE service is required only by SLURM. The
slurm_launch script insures that the configured service (in this case, LSF) is enabled for
automatic startup during node boot up, via the chkconfig command. Make the following file
changes:
1. Edit the file /opt/hptc/etc/nconfig.d/C50slurm_launch, changing the following
line:
Original line: my @services = ("munge");
New line: my @services = ("lsf");
2. Set the value of $ENABLE_PAM_SLURM to 0, as follows:
my $ENABLE_PAM_SLURM = 0;
Save and exit the file.
3. If your XC system has just been installed you have not yet run the cluster_config utility, you
can ignore the rest of these steps and proceed to the procedure in Installing Standard LSF.
4. Stop LSF-HPC by using the following command:
[root@n16 root]# controllsf stop
5. Stop SLURM by using the following command:
root@n16 root]# scontrol shutdown
6. Disable MUNGE and SLURM-controlled user access (if enabled) by using the following
command:
[root@n16 root]# pdsh -a '/opt/hptc/slurm/etc/nconfig.d/munge_nconfig.pl nunconfigure'
7. Delete the LSF-HPC installation on XC by using the following command:
[root@n16 root]# /opt/hptc/lsf/etc/gconfig.d/lsf_gconfig.pl
gunconfigure
removing /opt/hptc/lsf/top/conf...
removing /opt/hptc/lsf/top/6.0...
removing /opt/hptc/lsf/top/work...
removing /opt/hptc/lsf/top/log...
removing /hptc_cluster/lsf/conf...
removing /hptc_cluster/lsf/work...
removing /var/lsf…
You must now run the cluster_config command to make the changes permanent. However, first
install standard LSF so that when you run the cluster_config command, it will also configure the
new installation.