Chapter 7. Setting up Container-Ready Storage
7.1. Installing Red Hat Gluster Storage Server on Red Hat Enterprise Linux (Layered Install)
/var partition that is large enough (50GB - 100GB) for log files, geo-replication related miscellaneous files, and other files.
Perform a base install of Red Hat Enterprise Linux 7 ServerContainer-Ready Storage is supported only on Red Hat Enterprise Linux 7.
Register the System with Subscription ManagerRun 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
Identify Available Entitlement PoolsRun the following commands to find entitlement pools containing the repositories required to install Red Hat Gluster Storage:
# subscription-manager list --available
Attach Entitlement Pools to the SystemUse the pool identifiers located in the previous step to attach the
Red Hat Enterprise Linux Serverand
Red Hat Gluster Storageentitlements to the system. Run the following command to attach the entitlements:
# subscription-manager attach --pool=[POOLID]For example:
# subscription-manager attach --pool=8a85f9814999f69101499c05aa706e47
Enable the Required ChannelsFor Red Hat Gluster Storage 3.3 on Red Hat Enterprise Linux 7.x
- 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
Verify if the Channels are EnabledRun the following command to verify if the channels are enabled:
# yum repolist
Update all packagesEnsure that all packages are up to date by running the following command.
# yum update
ImportantIf any kernel packages are updated, reboot the system with the following command.
# shutdown -r now
Kernel Version RequirementContainer-Ready Storage requires the kernel-3.10.0-690.el7 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-3.10.0-693.el7.x86_64
# uname -r 3.10.0-693.el7.x86_64
Install Red Hat Gluster StorageRun the following command to install Red Hat Gluster Storage:
# yum install redhat-storage-server
- To enable gluster-block execute the following command:
# yum install gluster-block
RebootReboot the system.