
58 Building a Linux HPC Cluster with xCAT
5.1 Install xCAT
By default, xCAT is installed in /opt/xcat. Run the following command to unpack
the distribution package:
[root]# tar xzpvf xcat-dist-1.1.0.tgz -C /opt/
Copy the xCAT profile to /etc/profile.d/. The profile adds the xCAT commands to
the path and sets a variable XCATROOT.
[root]# cp /opt/xcat/samples/xcat.{sh,csh} /etc/profile.d
[root]# chmod 755 /etc/profile.d/xcat.{sh,csh}
xCAT provides a number of init scripts that are used to start and stop services,
and these init scripts will run with a different environment, which means that
XCATROOT is not defined. These scripts will look for XCATROO ...