HP XC How To Installing standard LSF on HP XC Part number: N/A First edition: Oct 2005
© 2005 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. The only warranties for HP products and services are set forth in the express warranty statements accompanying such products and services. Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial errors or omissions contained herein. Linux is a U.S. registered trademark of Linus Torvalds.
Contents Preparing to install standard LSF Prerequisites ............................................................................................................................................ 5 Removing or disabling SLURM and LSF-HPC for SLURM ................................................................................ 5 Installing standard LSF Overview of the example configuration.......................................................................................................
Revision history Revision tables Table 1 Revisions Date Edition Revision Oct 2005 V1.
Preparing to install standard LSF You can install standard LSF on XC in place of SLURM and LSF-HPC. This procedure removes SLURM and LSF-HPC and configures standard LSF daemons on every compute node in the XC cluster. Prerequisites The following software is needed to install standard LSF on XC: • The appropriate standard LSF binary tar file. For XC v2.n this is as follows (where X.Y is the selected LSF version, such as 6.1): • lsfX.Y_linux2.4-glibc2.3-ia64.tar.Z for an XC6000 Itanium-based system. • lsfX.
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.
Installing standard LSF Overview of the example configuration Perform the following steps to install standard LSF on an XC system. The example provided installs LSF v6.1 on a Cluster Platform 3000. The most important decision when installing standard LSF on XC is where to put the installation files. The Platform documentation for installing standard LSF recommends establishing a location that is shared among all the nodes participating in the LSF cluster.
b. LSF_ADMINS is required and can be set to the same account that was created for LSF_HPC (the default is lsfadmin). Whatever value is entered, it must be a user account that exists on all nodes in the XC cluster c. LSF_CLUSTER_NAME is required, and can be anything that complies with the naming rules. d. LSF_ADD_SERVERS is where you specify which nodes you want running LSF. HP recommends that you specify a filename for this value.
[root@n16 lsf]# ln -s /opt/hptc/lsf/install/6.1 6.1 7. Verify that the log directory is empty: [root@n16 [root@n16 [root@n16 [root@n16 [root@n16 8. 9. lsf]# lsf]# lsf]# lsf]# lsf]# ls log rmdir log pdsh -a mkdir -p /var/log/lsf pdsh -a chown lsfadmin /var/log/lsf ln -s /var/log/lsf log The /var/log/lsf location is created cluster-wide.
case $PATH in *-slurm/etc:*) ;; *:/hptc_cluster/lsf/*) ;; *) if [ -f /hptc_cluster/lsf/conf/profile.lsf ]; then . /hptc_cluster/lsf/conf/profile.lsf fi esac 13. Create the following softlink to set up the control script: [root@n16 conf]# which lsf_daemons /hptc_cluster/lsf/6.1/linux2.4-glibc2.3-ia32e/etc/lsf_daemons [root@n16 conf]# ln -s `which lsf_daemons` /etc/init.
Copyright 1992-2005 Platform Computing Corporation My cluster name is xc_cluster My master name is n16 [root@n16 root]# lshosts HOST_NAME type model cpuf ncpus maxmem maxswp server RESOURCES n16 LINUX64 Intel_EM 60.0 2 3456M 6143M Yes () n15 LINUX64 Intel_EM 60.0 2 3456M 6143M Yes () n14 LINUX64 Intel_EM 60.0 2 3456M 6141M Yes () n13 LINUX64 Intel_EM 60.