
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 stateful image definition:
Install the optional xCAT-IBMhpc rpm on your xCAT management node and service nodes. This rpm is available with xCAT and should already exist in your zypper or yum repository that you used to install xCAT on your management 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
vi /install/custom/install/<ostype>/<service-profile>.otherpkgs.pkglist
If this is a new file, add the following to use the service profile shipped with xCAT:
#INCLUDE:/opt/xcat/share/xcat/install/sles/service.<osver>.<arch>.otherpkgs.pkglist
Either way, add this line:
xcat/xcat-core/xCAT-IBMhpc
updatenode <service-noderange> -S
/install/post/otherpkgs/<osver>/<arch>/rsct
Note: RSCT requires the System Resource Controller (src) rpm. Please ensure this rpm is included with your other rpms in the above directory before proceeding. :For Redhat6 on PPC64:
/install/post/otherpkgs/rhels6/ppc64/rsct
Edit your /install/custom/install/<ostype>/<profile>.pkglist and add:
#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/install/rh/compute.pkglist and add:
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/IBMhpc.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.
Note: This pkglist support is available with xCAT 2.5 and newer releases. If you are using an older release of xCAT, you will need to add the entries listed in these pkglist files to your Kickstart or AutoYaST install template file.
Edit your /install/custom/install/<ostype>/<profile>.otherpkgs.pkglist and add:
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/rsct/rsct.otherpkgs.pkglist#
Verify that the above sample pkglists contain the correct packages. If you need to make changes, you can copy the contents of the file into your <profile>.otherpkgs.pkglist and edit as you wish instead of using the #INCLUDE: ...# entry. These packages will be installed on the node after the first reboot by the xCAT postbootscript otherpkgs. Note that these pkglists contain the actual RSCT rpms. Due to do not need license acceptance, all product rpms will be installed through pkglists, not through postinstall scripts.
You can find more information on the xCAT otherpkgs package list files and their use in the xCAT documentation [Using_Updatenode].
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.
Add to postscripts:
Copy the IBMhpc postscript to the xCAT postscripts directory:
cp /opt/xcat/share/xcat/IBMhpc/IBMhpc.postscript /install/postscripts
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. This script will run after all OS rpms are installed on the node
and the xCAT default postscripts have run, but before the node reboots for the first time.
Add this script to the postscripts list for your node. For example, if all nodes in your compute nodegroup will be using this script:
chdef -t group -o compute -p postscripts=IBMhpc.postscript
If your nodes are already installed with the correct OS, and you are adding RSCT software to the existing nodes, continue with these instructions and skip the next step to "Network boot the nodes".
The updatenode command will be used to synchronize configuration files, add the RSCT software and run the postscripts using the pkglist and otherpkgs.pkglist files created above. Note that support was added to updatenode in xCAT 2.5 to install packages listed in pkglist files (previously, only otherpkgs.pkglist entries were installed). If you are running an older version of xCAT, you may need to add the pkglist entries to your otherpkgs.pkglist file or install those packages in some other way on your existing nodes.
You will want updatenode to run zypper or yum to install all of the packages. Make sure their repositories have access to the base OS rpms:
#SLES:
xdsh <noderange> zypper repos --details | xcoll
#RedHat:
xdsh <noderange> yum repolist -v | xcoll
If you installed these nodes with xCAT, you probably still have repositories set pointing to your distro directories on the xCAT MN or SNs. If there is no OS repository listed, add appropriate remote repositories using the zypper ar
command or adding entries to /etc/yum/repos.d.
Also, for updatenode to use zypper or yum to install packages from your /install/post/otherpkgs directories, make sure you have run the createrepo command for each of your otherpkgs directories (see instructions in the "Updating xCAT nodes" document [Using_Updatenode].
Synchronize configuration files to your nodes (optional):
updatenode <noderange> -F
Update the software on your nodes:
updatenode <noderange> -S
Run postscripts and postbootscripts on your nodes:
updatenode <noderange> -P
Network boot your nodes:
Wiki: Download_xCAT
Wiki: IBM_HPC_Stack_in_an_xCAT_Cluster
Wiki: Monitoring_an_xCAT_Cluster
Wiki: Using_Updatenode