Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.

2.3. Installing Red Hat Gluster Storage Server on Red Hat Enterprise Linux (Layered Install)


Layered install involves installing Red Hat Gluster Storage over Red Hat Enterprise Linux. For more information regarding supported Red Hat Enterprise Linux version for a particular Red Hat Gluster Storage release, see Section 1.7, “Red Hat Gluster Storage Support Matrix”.

Important

Virtual Data Optimizer (VDO) volumes, which are supported in Red Hat Enterprise Linux 7.5, are not currently supported in Red Hat Gluster Storage. VDO is supported only when used as part of Red Hat Hyperconverged Infrastructure for Virtualization 2.0. See Understanding VDO for more information.

Important

It is recommended to create a separate /var partition that is large enough (50GB - 100GB) for log files, geo-replication related miscellaneous files, and other files.
  1. Perform a base install of Red Hat Enterprise Linux Server

    Red Hat Gluster Storage requires a kernel version of 2.6.32-431.17.1 or higher. This is available in Red Hat Enterprise Linux 6.5 and higher, and in Red Hat Enterprise Linux 7.
  2. Register the System with Subscription Manager

    Run the following command and enter your Red Hat Network user name and password to register the system with the Red Hat Network:
    # subscription-manager register
    Copy to Clipboard Toggle word wrap
  3. Identify Available Entitlement Pools

    Run the following commands to find entitlement pools containing the repositories required to install Red Hat Gluster Storage:
    # subscription-manager list --available
    Copy to Clipboard Toggle word wrap
  4. Attach Entitlement Pools to the System

    Use the pool identifiers located in the previous step to attach the Red Hat Enterprise Linux Server and Red Hat Gluster Storage entitlements to the system. Run the following command to attach the entitlements:
    # subscription-manager attach --pool=[POOLID]
    Copy to Clipboard Toggle word wrap
    For example:
    # subscription-manager attach --pool=8a85f9814999f69101499c05aa706e47
    Copy to Clipboard Toggle word wrap
  5. Enable the Required Channels

    For Red Hat Gluster Storage 3.4 on Red Hat Enterprise Linux 6.7 and later

    1. Run the following commands to enable the repositories required to install Red Hat Gluster Storage:
      # subscription-manager repos --enable=rhel-6-server-rpms
      # subscription-manager repos --enable=rhel-scalefs-for-rhel-6-server-rpms
      # subscription-manager repos --enable=rhs-3-for-rhel-6-server-rpms
      
      Copy to Clipboard Toggle word wrap
    2. For Red Hat Gluster Storage 3.0.4 and later, if you require Samba, then enable the following repository:
      # subscription-manager repos --enable=rh-gluster-3-samba-for-rhel-6-server-rpms
      Copy to Clipboard Toggle word wrap
      For more information about installing Samba, see Chapter 3, Deploying Samba on Red Hat Gluster Storage
    3. NFS-Ganesha is not supported on Red Hat Enterprise Linux 6 based installations.
    For Red Hat Gluster Storage 3.4 on Red Hat Enterprise Linux 7.x

    1. Run the following commands to enable the repositories required to install Red Hat Gluster Storage
      # subscription-manager repos --enable=rhel-7-server-rpms
      # subscription-manager repos --enable=rh-gluster-3-for-rhel-7-server-rpms
      Copy to Clipboard Toggle word wrap
    2. For Red Hat Gluster Storage 3.0.4 and later, if you require Samba, then enable the following repository:
      # subscription-manager repos --enable=rh-gluster-3-samba-for-rhel-7-server-rpms
      Copy to Clipboard Toggle word wrap
      For more information about installing Samba, see Chapter 3, Deploying Samba on Red Hat Gluster Storage
    3. If you require NFS-Ganesha then enable the following repositories:
      # subscription-manager repos --enable=rh-gluster-3-nfs-for-rhel-7-server-rpms --enable=rhel-ha-for-rhel-7-server-rpms
      Copy to Clipboard Toggle word wrap
      For more information about installing NFS-Ganesha, see Chapter 4, Deploying NFS-Ganesha on Red Hat Gluster Storage.
  6. Verify if the Channels are Enabled

    Run the following command to verify if the channels are enabled:
    # yum repolist
    Copy to Clipboard Toggle word wrap
  7. Kernel Version Requirement

    Red Hat Gluster Storage requires the kernel-2.6.32-431.17.1.el6 version or higher to be used on the system. Verify the installed and running kernel versions by running the following command:
    # rpm -q kernel
    kernel-2.6.32-431.el6.x86_64
    kernel-2.6.32-431.17.1.el6.x86_64
    Copy to Clipboard Toggle word wrap
    # uname -r
    2.6.32-431.17.1.el6.x86_64
    Copy to Clipboard Toggle word wrap
  8. Update all packages

    Ensure that all packages are up to date by running the following command.
    # yum update
    Copy to Clipboard Toggle word wrap

    Important

    If any kernel packages are updated, reboot the system with the following command.
    # shutdown -r now
    Copy to Clipboard Toggle word wrap
  9. Install Red Hat Gluster Storage

    Run the following command to install Red Hat Gluster Storage:
    # yum install redhat-storage-server
    Copy to Clipboard Toggle word wrap
    1. For Red Hat Gluster Storage 3.0.4 and later, if you require Samba, then execute the following command to install Samba:
      # yum groupinstall RH-Gluster-Samba-Server
      Copy to Clipboard Toggle word wrap
    2. If you require Samba Active Directory integration with gluster, execute the following command:
      # yum groupinstall RH-Gluster-AD-Integration
      Copy to Clipboard Toggle word wrap
  10. Reboot

    Reboot the system.
Nach oben
Red Hat logoGithubredditYoutubeTwitter

Lernen

Testen, kaufen und verkaufen

Communitys

Über Red Hat Dokumentation

Wir helfen Red Hat Benutzern, mit unseren Produkten und Diensten innovativ zu sein und ihre Ziele zu erreichen – mit Inhalten, denen sie vertrauen können. Entdecken Sie unsere neuesten Updates.

Mehr Inklusion in Open Source

Red Hat hat sich verpflichtet, problematische Sprache in unserem Code, unserer Dokumentation und unseren Web-Eigenschaften zu ersetzen. Weitere Einzelheiten finden Sie in Red Hat Blog.

Über Red Hat

Wir liefern gehärtete Lösungen, die es Unternehmen leichter machen, plattform- und umgebungsübergreifend zu arbeiten, vom zentralen Rechenzentrum bis zum Netzwerkrand.

Theme

© 2025 Red Hat