此内容没有您所选择的语言版本。
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:
- 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
# subscription-manager repos --enable=rh-gluster-3-nfs-for-rhel-8-x86_64-rpms
Copy to Clipboard Copied! Toggle word wrap Toggle overflow To add the HA repository, execute the following command:subscription-manager repos --enable=rhel-8-for-x86_64-highavailability-rpms
# subscription-manager repos --enable=rhel-8-for-x86_64-highavailability-rpms
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - 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
# rhn-channel --add --channel rh-gluster-3-nfs-for-rhel-8-x86_64-rpms
Copy to Clipboard Copied! Toggle word wrap Toggle overflow To subscribe to the HA channel, execute the following command:rhn-channel --add --channel rhel-8-for-x86_64-highavailability-rpms
# rhn-channel --add --channel rhel-8-for-x86_64-highavailability-rpms
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
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:
- 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
# subscription-manager repos --enable=rh-gluster-3-nfs-for-rhel-7-server-rpms
Copy to Clipboard Copied! Toggle word wrap Toggle overflow To add the HA repository, execute the following command:subscription-manager repos --enable=rhel-ha-for-rhel-7-server-rpms
# subscription-manager repos --enable=rhel-ha-for-rhel-7-server-rpms
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - 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
# rhn-channel --add --channel rhel-x86_64-server-7-rh-gluster-3-nfs
Copy to Clipboard Copied! Toggle word wrap Toggle overflow To subscribe to the HA channel, execute the following command:rhn-channel --add --channel rhel-x86_64-server-ha-7
# rhn-channel --add --channel rhel-x86_64-server-ha-7
Copy to Clipboard Copied! Toggle word wrap Toggle overflow