2.6. Subscribing to the Red Hat Gluster Storage Server Channels

After you have successfully installed Red Hat Gluster Storage, you must subscribe to the required channels:

Note

If you used Red Hat Satellite or Layered Installation method to install Red Hat Gluster Storage 3.0, then you can skip the steps mentioned in this chapter. For more information regarding layered installation, see Section 2.3, “Installing Red Hat Gluster Storage Server on Red Hat Enterprise Linux (Layered Install)”
Using Subscription Manager

  1. 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 Subscription Manager:
    # subscription-manager register
  2. 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 | grep -A8 "Red Hat Enterprise Linux Server"
    # subscription-manager list --available | grep -A8 "Red Hat Storage"
  3. 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]
    For example:
    # subscription-manager attach --pool=8a85f9814999f69101499c05aa706e47
  4. Enable the Required Channels for Red Hat Gluster Storage on Red Hat Enterprise Linux

    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
      
    2. For Red Hat Gluster Storage 3.0.4 or later, if you require Samba, then enable the following repository:
      # subscription-manager repos --enable=rh-gluster-3-samba-for-rhel-6-server-rpms
    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.5

    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
    2. For Red Hat Gluster Storage 3.0.4 or later, if you require Samba, then enable the following repository:
      # subscription-manager repos --enable=rh-gluster-3-samba-for-rhel-7-server-rpms
    3. For Red Hat Gluster Storage 3.4, if NFS-Ganesha is required, then enable the following repository:
      # subscription-manager repos --enable=rh-gluster-3-nfs-for-rhel-7-server-rpms --enable=rhel-ha-for-rhel-7-server-rpms
    4. For Red Hat Gluster Storage 3.4, if you require CTDB, then enable the following repository:
      # subscription-manager repos --enable=rh-gluster-3-samba-for-rhel-7-server-rpms
  5. Verify if the Channels are Enabled

    Run the following command to verify if the channels are enabled:
    # yum repolist
    
Using Red Hat Satellite Server

  1. Configure the Client System to Access Red Hat Satellite

    Configure the client system to access Red Hat Satellite. Refer section Registering Clients with Red Hat Satellite Server in Red Hat Satellite 5.6 Client Configuration Guide.
  2. Register to the Red Hat Satellite Server

    Run the following command to register the system to the Red Hat Satellite Server:
    # rhn_register
    
  3. Register to the Standard Base Channel

    In the select operating system release page, select All available updates and follow the prompts to register the system to the standard base channel for RHEL 6 - rhel-x86_64-server-6. The standard base channel for RHEL 7 is RHEL7-rhel-x86_64-server-7
  4. Subscribe to the Required Red Hat Gluster Storage Server Channels

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

    1. Run the following command to subscribe the system to the required Red Hat Gluster Storage server channel:
      # rhn-channel --add --channel rhel-x86_64-server-6-rhs-3 --channel rhel-x86_64-server-sfs-6
    2. For Red Hat Gluster Storage 3.0.4 or later, if you require Samba, then execute the following command to enable the required channel:
      # rhn-channel --add --channel rhel-x86_64-server-6-rh-gluster-3-samba
    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.5

    1. Run the following command to subscribe the system to the required Red Hat Gluster Storage server channels for RHEL 7:
      # rhn-channel --add --channel rhel-x86_64-server-7-rh-gluster-3
    2. For Red Hat Gluster Storage 3.0.4 or later, if you require Samba, then execute the following command to enable the required channel:
      # rhn-channel --add --channel rhel-x86_64-server-7-rh-gluster-3-samba
    3. For Red Hat Gluster Storage 3.4, for NFS-Ganesha enable the following channel:
      # rhn-channel --add --channel rhel-x86_64-server-7-rh-gluster-3-nfs --channel rhel-x86_64-server-ha-7
    4. For Red Hat Gluster Storage 3.4, if CTDB is required, then enable the following channel:
      # rhn-channel --add --channel rhel-x86_64-server-7-rh-gluster-3-samba
  5. Verify if the System is Registered Successfully

    Run the following command to verify if the system is registered successfully:
    # rhn-channel --list
    rhel-x86_64-server-7
    rhel-x86_64-server-7-rh-gluster-3