Chapter 8. Setting up HAProxy nodes
To provide load balancing capabilities across the CDS nodes, you must first set up the HAProxy nodes.
The following process explains how to:
The following procedures assume that your CCSP account uses Simple Content Access (SCA). If that is not the case, refer to Appendix A, Using Entitlement Mode instead.
8.1. Registering the HAProxy node Copy linkLink copied to clipboard!
The following instructions explain how to register your HAProxy nodes.
On the HAProxy node you do not need to use the --type=rhui flag that was required on the RHUA node.
Prerequisites
- Latest version of RHEL 8 is installed.
- Ensure you have root access to the HAProxy nodes.
Procedure
On the HAProxy node, enter the following command:
# subscription-manager registerType your CCSP user name and password when prompted.
Optional: If your system is already registered, you can override the subscription using the
--forceoption.# subscription-manager register --forceThe new system will be available on the Red Hat Customer Portal, and the new HAProxy instance will not have any subscriptions attached to it.
Verification
- Navigate to the Red Hat Hybrid Cloud Console.
- Verify that your system is available by locating it within the inventory.
8.2. Enabling the required repositories on the HAProxy node Copy linkLink copied to clipboard!
To install RHUI on your system, you must first enable certain repositories on your nodes which contain the required packages.
Prerequisites
- Ensure you have root access to the HAProxy node.
Procedure
- The necessary repositories are automatically enabled on all your HAProxy nodes.
Verification
List the enabled repositories and verify whether the relevant repositories appear on the list.
# yum repolist enabled Updating Subscription Management repositories. repo id repo name rhel-8-for-x86_64-appstream-rpms Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs) rhel-8-for-x86_64-baseos-rpms Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs)