How to install High Availability and/or Resilient Storage cluster packages in Red Hat Enterprise Linux 6, 7, 8, 9?
Environment
- Red Hat Enterprise Linux (RHEL) 6, 7, 8, 9 with the High Availability or Resilient Storage Add-On
Issue
- How to install cluster packages on Red Hat Enterprise Linux?
- Are there package groups in
yum
that will provide High Availability and Resilient Storage packages? - How to install High Availability and Resilient Storage packages?
- Is there a repo that needs to be enabled to install cluster packages?
- How do I install GFS2?
Resolution
Contents
- Registering Systems to Install High Availability Packages
- Registering Systems to Install Resilient Storage Packages
- Installing Packages Using the Conga Cluster Administration Server in RHEL 6
- Installing Packages using
yum
NOTE: The correct repository name may vary depending upon the subscription that provides the High Availability or Resilient Storage components along with the system architecture.
In order to list all the available repositories, please use the following command. This helps to get the Repo ID
details:
# subscription-manager repos --list
Registering Systems to Install High Availability Packages
-
Each node in the cluster must have the appropriate subscriptions for RHEL and the High Availability Add On or Resilient Storage Add On.
-
Each node in the cluster must have the appropriate repository enabled with Red Hat Subscription Manager. The repository should correspond to the RHEL version and optionally the extended support level of the systems.
Following are the example repository names as per the OS version:
RHEL9
Repository: rhel-9-for-x86_64-highavailability-rpms
RHEL8
Repository: rhel-8-for-x86_64-highavailability-rpms
RHEL 7
Repository: rhel-ha-for-rhel-7-server-rpms
RHEL 6
Repository: rhel-ha-for-rhel-6-server-rpms
Registering Systems to Install Resilient Storage Packages
-
Each node in the cluster must have the appropriate subscriptions for RHEL and the Resilient Storage Add On.
-
Optionally, if the cluster will require packages enabling shared storage support, such as for GFS2,
lvm2-cluster
(clvmd
),cmirror
,ctdb
, etc, then all nodes will also need to have the appropriate repository enabled with Red Hat Subscription Manager. The repository should correspond to the RHEL version and optionally the extended support level of the systems.
Following are the example repository names as per the OS version:
RHEL 9
Repository: rhel-9-for-x86_64-resilientstorage-rpms
RHEL 8
Repository: rhel-8-for-x86_64-resilientstorage-rpms
RHEL 7
Repository: rhel-rs-for-rhel-7-server-rpms
RHEL 6
Repository: rhel-rs-for-rhel-6-server-rpms
Installing Packages Using the Conga Cluster Administration Server in RHEL 6
- If the RHEL 6 cluster in question will be configured and administered by Conga, an option is provided to install packages automatically during initial setup. A
luci
server will first need to be installed and started either on one cluster node or a dedicated system:
# yum install luci
- On all cluster nodes the
ricci
package must also be installed for theluci
server to communicate with:
# yum install ricci
- After
luci
andricci
have been configured and started, the Conga web interface can be used to set up nodes and install the necessary packages.
NOTE: Conga is not available in RHEL 7 or 8. Packages must be installed using yum on this release.
Installing Packages using yum
- To manually install the High Availability / Clustering packages in RHEL 6, 7, 8 or 9:
# yum groupinstall 'High Availability'
- To manually install the Resilient Storage packages in RHEL 6, 7, 8 or 9:
# yum groupinstall 'Resilient Storage'
NOTE: Each cluster node must use the same version of cluster-related packages. Ensure there is no version mismatch between cluster nodes.
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Comments