Installing Standard LSF on HP XC
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.d/lsf
Reconfiguring the XC cluster
Use the cluster_config command to update the role changes in the XC database and update the
golden image with the new configuration as follows:
1. Configure all nodes to reimage on bootup as follows:
[root@n16 conf]# setnode --resync –all
All nodes must reimage in order to update themselves with the latest changes.
2. Shutdown the cluster as follows:
[root@n16 conf]# stopsys
3. Run the cluster_config command
[root@n16 conf]# cd /opt/hptc/config/sbin
[root@n16 sbin]# ./cluster_config
specifying the following:
a. Adjust any role assignments. The compute role will no longer be applicable to
resource management on XC, because standard LSF is installed on every node. If
you want to limit which nodes are to be used for actual user applications, you can
create hostgroups within LSF. See the Platform documentation for more details.
b. The resource_management role is also no longer valid. You can remove this
role from all nodes, or leave it with the understanding that nothing special will be
occurring on the nodes configured with the resource_management role.
c. After adjusting the roles, select p to proceed. Provide the appropriate answers to
the existing services. You should not be prompted with questions about SLURM or
LSF-HPC.
4. When cluster_config completes, the golden image is updated. Start the cluster as follows,
remembering that all nodes are reimaging so booting will take some time:
[root@n16 sbin]# startsys
5. When the cluster is fully up and running, standard LSF is running on all the compute nodes. The
following example shows output from standard LSF commands on XC cluster configured in the
preceding example:
[root@n16 root]# lsid
Platform LSF 6.1, Apr 12 2005