Chapter 4. Deploying NFS-Ganesha on Red Hat Gluster Storage

NFS-Ganesha can be installed using any of the following methods:
  • Installing NFS-Ganesha using yum
  • Installing NFS-Ganesha during an ISO Installation

4.1. Prerequisites

To install NFS-Ganesha on Red Hat Gluster Storage you require access to the installation media either through an ISO or a properly configured software repository.

Note

Ensure to install the required packages that are mentioned in the following sections on all the nodes in the Trusted Storage Pool.
For Red Hat Gluster Storage 3.2 on Red Hat Enterprise Linux 6.x

Enable the channel where the NFS-Ganesha packages are available:

  1. If you have registered your machine using Red Hat Subscription Manager, enable the repository by running the following command:
    # subscription-manager repos 
    --enable=rh-gluster-3-nfs-for-rhel-6-server-rpms
  2. If you have registered your machine using Satellite server, enable the channel by running the following command:
    # rhn-channel --add --channel 
    rhel-x86_64-server-6-rh-gluster-3-nfs
  3. To subscribe to the HA channel, execute the following command:
    # rhn-channel --add --channel rhel-x86_64-server-ha-6
  4. To add the HA repository, execute the following command:
    # subscription-manager repos --enable=rhel-6-server-rpms --enable=rhel-ha-for-rhel-6-server-rpms
For Red Hat Gluster Storage 3.2 on Red Hat Enterprise Linux 7.x

Enable the channel where the NFS-Ganesha packages are available:

  1. If you have registered your machine using Red Hat Subscription Manager, enable the repository by running the following command:
    # subscription-manager repos 
    --enable=rh-gluster-3-nfs-for-rhel-7-server-rpms
  2. If you have registered your machine using Satellite server, enable the channel by running the following command:
    # rhn-channel --add --channel 
    rhel-x86_64-server-7-rh-gluster-3-nfs
  3. To subscribe to the HA channel, execute the following command:
    # rhn-channel --add --channel rhel-x86_64-server-ha-7
  4. To add the HA repository, execute the following command:
    # subscription-manager repos --enable=rhel-7-server-rpms --enable=rhel-ha-for-rhel-7-server-rpms