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

Warning

Gluster-NFS is considered deprecated as of Red Hat Gluster Storage 3.5. Red Hat no longer recommends the use of Gluster-NFS, and does not support its use in new deployments and existing deployments that upgrade to Red Hat Gluster Storage 3.5.3. You can use NFS-Ganesha as an alternative.

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.
For Red Hat Gluster Storage 3.5 on Red Hat Enterprise Linux 8.2 and later

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-8-x86_64-rpms
    To add the HA repository, execute the following command:
    # subscription-manager repos --enable=rhel-8-for-x86_64-highavailability-rpms
  2. If you have registered your machine using Satellite server, enable the channel by running the following command:
    # rhn-channel --add --channel rh-gluster-3-nfs-for-rhel-8-x86_64-rpms
    To subscribe to the HA channel, execute the following command:
    # rhn-channel --add --channel rhel-8-for-x86_64-highavailability-rpms
For Red Hat Gluster Storage 3.5 on Red Hat Enterprise Linux 7.7 and later

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
    To add the HA repository, execute the following command:
    # subscription-manager repos --enable=rhel-ha-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
    To subscribe to the HA channel, execute the following command:
    # rhn-channel --add --channel rhel-x86_64-server-ha-7