2.2. Installing GFS

To install GFS, follow these steps:

  1. Install Red Hat GFS 6.0 RPMs according to the directions in the Red Hat GFS Administrator's Guide for GFS 6.0 (refer to http://www.redhat.com/docs/manuals/csgfs/admin-guide/).

  2. Follow the directions in the Red Hat GFS Administrator's Guide for GFS 6.0 to prepare and set up the servers to use GFS. In particular, make sure to install any additional packages required for GFS that may not be available with the your distribution (for example, perl-Net-Telnet). Example 2-1 shows setting up prerequisite software and installing GFS for an SMP kernel.

  3. Proceed to Section 2.3 Configuring Pools.

# up2date perl-Net-Telnet <-- Installs/updates latest
.                             perl-Net-Telnet (required for fencing)
.
.
# chkconfig ntpd on  <-- Turns on network time server for next reboot 
# service ntpd start  <-- Starts network time server now
ntpd: Synchronizing with time server:                      [  OK  ]
Starting ntpd:                                             [  OK  ]
# ls -al /usr/sbin/stunnel  <-- Checks for stunnel (for RILOE fencing only)
-rwxr-xr-x    1 root     root        60032 Apr 10  2003 /usr/sbin/stunnel
# up2date GFS-modules-SMP  <-- Installs/updates latest GFS modules
.
.
.
# modprobe pool        |
# modprobe lock_gulm   |--- Loads GFS modules
# modprobe gfs         |

Note: Red Hat GFS 6.0 releases for Red Hat Enterprise Linux 3 Update 5 and later do not require running the depmod -a command before running the modprobe commands.

Example 2-1. Installing Red Hat GFS 6.0 for an SMP Kernel