Installation guide

156 Appendix B. Selectively Installing Red Hat Cluster Suite Packages
Note
If your local computer is running a version of Red Hat Enterprise Linux that
is earlier than Red Hat Enterprise Linux 4, the path to the RPMs on the CD
may be different. For example, on Red Hat Enterprise Linux 3, the path is
/mnt/cdrom/RedHat/RPMS/.
7. Eject the CD from the CD-ROM drive.
8. Change to the temporary directory containing the copied RPM files. For example:
$ cd /tmp/RPMS/
9. Remove the "-kernel" RPMs for kernels that are not installed in the cluster node, and
any other RPMs that are not being installed (for example, optional or development
RPMS). The following example removes SMP and hugemem "-kernel" RPM files:
$ rm *-kernel-smp* *-kernel-hugemem*
For information about selecting the RPMs to install, refer to
Section B.1.2.1 Determining RPMs To Install.
10. Log in to each cluster node as the root user and make a directory to contain the
RPMs. For example:
# mkdir /tmp/node-RPMS/
11. Copy the RPMs from the temporary directory in the local computer to directories in
the cluster nodes using the scp command. For example, to copy the RPMs to node
rhcs-node-01, run the following command at the local computer:
$ scp /tmp/RPMS/*.rpm root@rhcs-node-01:/tmp/node-RPMS/
12. At each node (logged in as root), change to the temporary directory created earlier
(/tmp/node-RPMS) and install the RPMs by running the rpm utility as follows:
# cd /tmp/node-RPMS/
# rpm -Uvh *