Installing LSF-HPC With SLURM Into an Existing Standard LSF Cluster
Installation of XC LSF
Now that you have prepared the cluster, install XC LSF into the LSF tree as described in the following
procedure.
1. Preserve the existing environment setup files.
Change directory to the existing LSF_TOP/conf directory and rename the setup files by
appending a unique identifier. For example:
# cd /shared/lsf/conf
# mv profile.lsf profile.lsf.orig
# mv cshrc.lsf cshrc.lsf.orig
The installation of XC LSF provides its own profile.lsf and cshrc.lsf files, and you must
rename those files to a unique name, then restore the originals. The environment setup files are
needed only on XC, and are automatically sourced by the /etc/profile.d/lsf.sh and
/etc/profile.d/lsf.csh files when users log on to XC.
2. Copy the XC LSF tar files to a temporary location on the node that hosts
LSF_TOP.
In the example the temporary location is the node named plain. When the copy is complete,
unpack the installation scripts as follows:
[root@plain lsf]# mkdir hpctmp
[root@plain lsf]# scp root@xc-head:/opt/hptc/lsf/files/hpc* hpctmp/
root@xc-head's password:
hpc6.0_hpcinstall.ta 100% |**********************| 237 KB 00:00
hpc6.0_linux2.4-glib 100% |**********************| 37039 KB 00:08
[root@plain lsf]# cd hpctmp/
[root@plain hpctmp]# tar zxf hpc6.0_hpcinstall.tar.Z
[root@plain hpctmp]# ls
hpc6.0_hpcinstall hpc6.0_hpcinstall.tar.Z hpc6.0_linux2.4-glibc2.3-amd64-slurm.tar.Z
3. Prepare the LSF installation process.
This step consists of manual edits to the install.config file. Set the appropriate values as
documented in this file. For the example, you set the following:
LSF_TOP="/shared/lsf" - existing cluster's LSF_TOP
LSF_ADMINS="lsfadmin" - existing cluster's admin
LSF_CLUSTER_NAME="corplsf" - name of existing cluster
LSF_LICENSE="<none>" - XC-specific, for HP OEM licensing
LSF_ADD_SERVERS="xclsf" - the XC LSF "node" to be added
4. Start the LSF installation process.
Use the following command to start the installation process:
[root@plain hpc6.0_hpcinstall]# ./hpcinstall -f install.config
Perform post-installation tasks