
This document assumes that you have already purchased your RSCT product, have the Linux rpms available, and are familiar with the RSCT documentation: http://publib.boulder.ibm.com/infocen.../rsctbooks.html
For HPC clusters, RSCT support is optional:
These instructions are based on RSCT 2.5.5. If you are using a different version of of this product, you may need to make adjustments to the information provided here.
Before proceeding with these instructions, you should have the following already completed for your xCAT cluster:
Follow these instructions for installing IBM RSCT in your Linux xCAT cluster.
Include RSCT in your diskless image:
Install the optional xCAT-IBMhpc rpm on your xCAT management node. This rpm is available with xCAT and should already exist in your zypper or yum repository that you used to install xCAT on your managaement node. A new copy can be downloaded from: Download xCAT.
To install the rpm in SLES:
zypper refresh
zypper install xCAT-IBMhpc
To install the rpm in Redhat:
yum install xCAT-IBMhpc
/install/post/otherpkgs/<osver>/<arch>/rsct
For Redhat6 ppc64,the target location is:
/install/post/otherpkgs/rhels6/ppc64/rsct
Note 1: RSCT requires the System Resource Controller (src) rpm. Please ensure this rpm is included with your other rpms in the above directory before proceeding.
Note 2: You should create repodata in your /install/post/otherpkgs/<os>/<arch>/* directory so that yum or zypper can be used to install these packages and automatically resolve dependencies for you:
createrepo /install/post/otherpkgs/<os>/<arch>/rsct
If the createrepo command is not found, you may need to install the createrepo rpm package that is shipped with your Linux OS. For SLES 11, this is found on the SDK media.
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/IBMhpc.sles11.ppc64.pkglist#
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/rsct/rsct.pkglist#
For Redhat6 ppc64, edit the /install/custom/netboot/rh/compute.pkglist and add:
#INCLUDE:/opt/xcat/share/xcat/netboot/rh/compute.rhels6.ppc64.pkglist#
Verify that the above sample pkglists contain the correct packages. If you need to make changes to any of these pkglists, you can copy the contents of the file into your <profile>.pkglist and edit as you wish instead of using the #INCLUDE: ...# entry.
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/rsct/rsct.otherpkgs.pkglist#
Verify that the above sample pkglists contain the correct packages. Note that these pkglists do not contain the actual RSCT rpms. In an xCAT Stateless or Statelite cluster, all RSCT rpms will be installed as part of the postinstall scripts below. If you need to make changes to any of these pkglists, you can copy the contents of the file into your <profile>.otherpkgs.pkglist and edit as you wish instead of using the #INCLUDE: ...# entry.
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/IBMhpc.sles11.ppc64.exlist#
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/rsct/rsct.exlist#
For Redhat6 ppc64, edit the /install/custom/netboot/rh/compute.exlist and add:
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/IBMhpc.rhels6.ppc64.exlist#
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/rsct/rsct.exlist#
Verify that the above sample exclude list contains the files and directories you want deleted from your diskless image. If you need to make changes, you can copy the contents of the file into your <profile>.exlist and edit as you wish instead of using the #INCLUDE: ...# entry.
Note: Several of the exclude list files shipped with xCAT-IBMhpc re-include files (with "+directory" syntax) that are normally deleted with the base exclude lists xCAT ships in /opt/xcat/share/xcat/netboot/<os>/compute.*.exlist. Keeping these files in the diskless image is required for the install and functionality of some of the HPC products.
tabedit litefile
In a separate window, cut the contents of /opt/xcat/share/xcat/IBMhpc/rsct/litefile.csv
paste into your tabedit session, modify as needed for your environment, and save
When using persistent files, you should also make sure that you have an entry in your xCAT database statelite table pointing to the location for storing those files for each node.
Add to postinstall scripts(Please skip this step if you use xCAT 2.7 or above):
Edit your /install/custom/netboot/<ostype>/<profile>.postinstall(please make sure it has executable permission) and add:
/opt/xcat/share/xcat/IBMhpc/IBMhpc.<os>.postinstall $1 $2 $3 $4 $5
installroot=$1 rsctdir=/install/post/otherpkgs/<osver>/<arch>/rsct NODESETSTATE=genimage /opt/xcat/share/xcat/IBMhpc/rsct/rsct_install
For Redhat6 ppc64, edit the /install/custom/netboot/rh/compute.postinstall(please make sure it has executable permission) and add:
/opt/xcat/share/xcat/IBMhpc/IBMhpc.rhel.postinstall $1 $2 $3 $4 $5
installroot=$1 rsctdir=/install/post/otherpkgs/rhels6/ppc64/rsct NODESETSTATE=genimage /opt/xcat/share/xcat/IBMhpc/rsct/rsct_install
Review these sample scripts carefully and make any changes required for your cluster. Note that some of these scripts may change tuning values and other system settings. They will be run by genimage after all of your rpms are installed into the image. It will first run the general IBMhpc setup script to create filesystems, turn on services, and set system tunables. Then the script to install all of the RSCT rpms will be run. Verify that these scripts will work correctly for your cluster. If you wish to make changes to any of these scripts, copy it to /install/postscripts and adjust the above entry in the postinstall script to invoke your updated copy.
Network boot your nodes:
Wiki: Download_xCAT
Wiki: IBM_HPC_Stack_in_an_xCAT_Cluster
Wiki: Monitoring_an_xCAT_Cluster