2.3. Subscribing to the Red Hat Gluster Storage Server Channels
2.3. 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.x, then you can skip the steps mentioned in this chapter. For more information regarding layered installation, see Section 2.4, "Installing Red Hat Gluster Storage Server on Red Hat Enterprise Linux (Layered Install)" Using Subscription Manager 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: Identify Available Entitlement Pools Run the following commands to find entitlement pools containing the repositories required to install Red Hat Gluster Storage: Attach Entitlement Pools to the System Use the pool identifiers located in the 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: For example: Enable the Required Channels for Red Hat Gluster Storage on Red Hat Enterprise Linux For Red Hat Gluster Storage 3.5 on Red Hat Enterprise Linux 6.7 and later Run the following commands to enable the repositories required to install Red Hat Gluster Storage: If you require Samba, then enable the following repository: NFS-Ganesha is not supported on Red Hat Enterprise Linux 6 based installations. For Red Hat Gluster Storage 3.5 on Red Hat Enterprise Linux 7.7 and later Run the following commands to enable the repositories required to install Red Hat Gluster Storage If you require Samba, then enable the following repository: For Red Hat Gluster Storage 3.5, if NFS-Ganesha is required, then enable the following repository: For Red Hat Gluster Storage 3.5, if you require CTDB, then enable the following repository: For Red Hat Gluster Storage 3.5 on Red Hat Enterprise Linux 8.2 and later Run the following commands to enable the repositories required to install Red Hat Gluster Storage If you require Samba, then enable the following repository: For Red Hat Gluster Storage 3.5, if NFS-Ganesha is required, then enable the following repository: For Red Hat Gluster Storage 3.5, if you require CTDB, then enable the following repository: Verify if the Channels are Enabled Run the following command to verify if the channels are enabled: Using Red Hat Satellite Server 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 . Register to the Red Hat Satellite Server Run the following command to register the system to the Red Hat Satellite Server: 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 Red Hat Enterprise Linux 6 - rhel-6-server-rpms . The standard base channel for Red Hat Enterprise Linux 7 is rhel-7-server-rpms . The standard base channel for Red Hat Enterprise Linux 8 is rhel-8-for-x86_64-baseos-rpms . Subscribe to the Required Red Hat Gluster Storage Server Channels For Red Hat Gluster Storage 3.5 on Red Hat Enterprise Linux 6.7 and later Run the following command to subscribe the system to the required Red Hat Gluster Storage server channel: If you require Samba, then execute the following command to enable the required channel: NFS-Ganesha is not supported on Red Hat Enterprise Linux 6 based installations. For Red Hat Gluster Storage 3.5 on Red Hat Enterprise Linux 7.7 and later Run the following command to subscribe the system to the required Red Hat Gluster Storage server channels for Red Hat Enterprise Linux 7: If you require Samba, then execute the following command to enable the required channel: For Red Hat Gluster Storage 3.5, for NFS-Ganesha enable the following channel: For Red Hat Gluster Storage 3.5, if CTDB is required, then enable the following channel: For Red Hat Gluster Storage 3.5 on Red Hat Enterprise Linux 8.2 and later Run the following command to subscribe the system to the required Red Hat Gluster Storage server channels for Red Hat Enterprise Linux 8: If you require Samba, then execute the following command to enable the required channel: For Red Hat Gluster Storage 3.5, for NFS-Ganesha enable the following channel: For Red Hat Gluster Storage 3.5, if CTDB is required, then enable the following channel: Verify if the System is Registered Successfully Run the following command to verify if the system is registered successfully:
subscription-manager register subscription-manager list --available | grep -A8 "Red Hat Enterprise Linux Server" subscription-manager list --available | grep -A8 "Red Hat Storage" subscription-manager attach --pool= [POOLID] subscription-manager attach --pool=8a85f9814999f69101499c05aa706e47 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 subscription-manager repos --enable=rh-gluster-3-samba-for-rhel-6-server-rpms subscription-manager repos --enable=rhel-7-server-rpms subscription-manager repos --enable=rh-gluster-3-for-rhel-7-server-rpms subscription-manager repos --enable=rh-gluster-3-samba-for-rhel-7-server-rpms subscription-manager repos --enable=rh-gluster-3-nfs-for-rhel-7-server-rpms --enable=rhel-ha-for-rhel-7-server-rpms subscription-manager repos --enable=rh-gluster-3-samba-for-rhel-7-server-rpms subscription-manager repos --enable=rhel-8-for-x86_64-baseos-rpms subscription-manager repos --enable=rhel-8-for-x86_64-appstream-rpms subscription-manager repos --enable=rh-gluster-3-for-rhel-8-x86_64-rpms subscription-manager repos --enable=rh-gluster-3-samba-for-rhel-8-x86_64-rpms subscription-manager repos --enable=rh-gluster-3-nfs-for-rhel-8-x86_64-rpms --enable=rhel-8-for-x86_64-highavailability-rpms subscription-manager repos --enable=rh-gluster-3-samba-for-rhel-8-x86_64-rpms yum repolist rhn_register rhn-channel --add --channel rhel-6-server-rpms --channel rhel-scalefs-for-rhel-6-server-rpms --channel rhs-3-for-rhel-6-server-rpms rhn-channel --add --channel rh-gluster-3-samba-for-rhel-6-server-rpms rhn-channel --add --channel rhel-7-server-rpms --channel rh-gluster-3-for-rhel-7-server-rpms rhn-channel --add --channel rh-gluster-3-samba-for-rhel-7-server-rpms rhn-channel --add --channel rhel-x86_64-server-7-rh-gluster-3-nfs --channel rhel-x86_64-server-ha-7 rhn-channel --add --channel rh-gluster-3-samba-for-rhel-7-server-rpms rhn-channel --add --channel rh-gluster-3-for-rhel-8-x86_64-rpms rhn-channel --add --channel rh-gluster-3-samba-for-rhel-8-x86_64-rpms rhn-channel --add --channel rh-gluster-3-nfs-for-rhel-8-x86_64-rpms --channel rhel-8-for-x86_64-highavailability-rpms rhn-channel --add --channel rh-gluster-3-samba-for-rhel-8-x86_64-rpms rhn-channel --list rhel-x86_64-server-7 rhel-x86_64-server-7-rh-gluster-3