2.6. Subscribing to the Red Hat Gluster Storage Server Channels
Note
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:Copy to Clipboard Copied! Toggle word wrap Toggle overflow subscription-manager register
# subscription-manager register
Identify Available Entitlement Pools
Run the following commands to find entitlement pools containing the repositories required to install Red Hat Gluster Storage:Copy to Clipboard Copied! Toggle word wrap Toggle overflow subscription-manager list --available | grep -A8 "Red Hat Enterprise Linux Server" subscription-manager list --available | grep -A8 "Red Hat Storage"
# subscription-manager list --available | grep -A8 "Red Hat Enterprise Linux Server" # subscription-manager list --available | grep -A8 "Red Hat Storage"
Attach Entitlement Pools to the System
Use the pool identifiers located in the previous step to attach theRed Hat Enterprise Linux Server
andRed Hat Gluster Storage
entitlements to the system. Run the following command to attach the entitlements:Copy to Clipboard Copied! Toggle word wrap Toggle overflow subscription-manager attach --pool=[POOLID]
# subscription-manager attach --pool=[POOLID]
For example:Copy to Clipboard Copied! Toggle word wrap Toggle overflow subscription-manager attach --pool=8a85f9814999f69101499c05aa706e47
# subscription-manager attach --pool=8a85f9814999f69101499c05aa706e47
Enable the Required Channels for Red Hat Gluster Storage on Red Hat Enterprise Linux
For Red Hat Gluster Storage 3.2 on Red Hat Enterprise Linux 6.7 and later- Run the following commands to enable the repositories required to install Red Hat Gluster Storage:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow 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=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
- For Red Hat Gluster Storage 3.0.4 or later, if you require Samba, then enable the following repository:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow subscription-manager repos --enable=rh-gluster-3-samba-for-rhel-6-server-rpms
# subscription-manager repos --enable=rh-gluster-3-samba-for-rhel-6-server-rpms
- For Red Hat Gluster Storage 3.2, if NFS-Ganesha is required, then enable the following repository:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow subscription-manager repos
# subscription-manager repos --enable=rh-gluster-3-nfs-for-rhel-6-server-rpms
For Red Hat Gluster Storage 3.2 on Red Hat Enterprise Linux 7.3- Run the following commands to enable the repositories required to install Red Hat Gluster Storage
Copy to Clipboard Copied! Toggle word wrap Toggle overflow subscription-manager repos --enable=rhel-7-server-rpms subscription-manager repos --enable=rh-gluster-3-for-rhel-7-server-rpms
# subscription-manager repos --enable=rhel-7-server-rpms # subscription-manager repos --enable=rh-gluster-3-for-rhel-7-server-rpms
- For Red Hat Gluster Storage 3.0.4 or later, if you require Samba, then enable the following repository:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow subscription-manager repos --enable=rh-gluster-3-samba-for-rhel-7-server-rpms
# subscription-manager repos --enable=rh-gluster-3-samba-for-rhel-7-server-rpms
- For Red Hat Gluster Storage 3.2, if NFS-Ganesha is required, then enable the following repository:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow subscription-manager repos
# subscription-manager repos --enable=rh-gluster-3-nfs-for-rhel-7-server-rpms
- For Red Hat Gluster Storage 3.2, if you require CTDB, then enable the following repository:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow subscription-manager repos --enable=rh-gluster-3-samba-for-rhel-7-server-rpms
# subscription-manager repos --enable=rh-gluster-3-samba-for-rhel-7-server-rpms
Verify if the Channels are Enabled
Run the following command to verify if the channels are enabled:Copy to Clipboard Copied! Toggle word wrap Toggle overflow yum repolist
# yum repolist
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:Copy to Clipboard Copied! Toggle word wrap Toggle overflow rhn_register
# rhn_register
Register to the Standard Base Channel
In the select operating system release page, selectAll available updates
and follow the prompts to register the system to the standard base channel for RHEL6 - rhel-x86_64-server-6. The standard base channel for RHEL 7 is RHEL7-rhel-x86_64-server-7Subscribe to the Required Red Hat Gluster Storage Server Channels
For Red Hat Gluster Storage 3.2 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:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow rhn-channel --add --channel rhel-x86_64-server-6-rhs-3 --channel rhel-x86_64-server-sfs-6
# rhn-channel --add --channel rhel-x86_64-server-6-rhs-3 --channel rhel-x86_64-server-sfs-6
- For Red Hat Gluster Storage 3.0.4 or later, if you require Samba, then execute the following command to enable the required channel:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow rhn-channel --add --channel rhel-x86_64-server-6-rh-gluster-3-samba
# rhn-channel --add --channel rhel-x86_64-server-6-rh-gluster-3-samba
- For Red Hat Gluster Storage 3.2, for NFS-Ganesha enable the following channel:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow rhn-channel --add --channel
# rhn-channel --add --channel rhel-x86_64-server-6-rh-gluster-3-nfs
For Red Hat Gluster Storage 3.2 on Red Hat Enterprise Linux 7.3- Run the following command to subscribe the system to the required Red Hat Gluster Storage server channels for RHEL 7:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow rhn-channel --add --channel rhel-x86_64-server-7-rh-gluster-3
# rhn-channel --add --channel rhel-x86_64-server-7-rh-gluster-3
- For Red Hat Gluster Storage 3.0.4 or later, if you require Samba, then execute the following command to enable the required channel:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow rhn-channel --add --channel rhel-x86_64-server-7-rh-gluster-3-samba
# rhn-channel --add --channel rhel-x86_64-server-7-rh-gluster-3-samba
- For Red Hat Gluster Storage 3.2, for NFS-Ganesha enable the following channel:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow rhn-channel --add --channel
# rhn-channel --add --channel rhel-x86_64-server-7-rh-gluster-3-nfs
- For Red Hat Gluster Storage 3.2, if CTDB is required, then enable the following channel:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow rhn-channel --add --channel rhel-x86_64-server-7-rh-gluster-3-samba
# rhn-channel --add --channel rhel-x86_64-server-7-rh-gluster-3-samba
Verify if the System is Registered Successfully
Run the following command to verify if the system is registered successfully:Copy to Clipboard Copied! Toggle word wrap Toggle overflow rhn-channel --list
# rhn-channel --list rhel-x86_64-server-7 rhel-x86_64-server-7-rh-gluster-3