Chapter 7. Setting up CDS nodes
To provide repositories that clients can connect to and access the updated packages, you must first set up the CDS 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.
7.1. Registering the CDS node Copy linkLink copied to clipboard!
The following instructions explain how to register your Content Delivery Server (CDS) nodes.
On the CDS nodes 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 each of the CDS nodes.
Procedure
On the CDS nodes, 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 CDS 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.
7.2. Enabling the required repositories on the CDS 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.
If you are planning to use Ceph File System (CephFS) as your shared storage, then you must also enable the rhceph-5-tools-for-rhel-8-x86_64-rpms repository.
CDS nodes require RHEL installations with base packages and with all repositories disabled except for the rhel-8-for-x86_64-baseos-rpms, rhel-8-for-x86_64-appstream-rpms, and, optionally, rhceph-5-tools-for-rhel-8-x86_64-rpms repositories. This requirement means that you cannot install any third-party configurations or softwares that are not necessary for the direct operation of the server. This restriction includes hardening or other non-Red Hat security software.
Prerequisites
- Ensure that you have root access to all the CDS nodes you plan to use.
Procedure
- The necessary repositories are automatically enabled on all your CDS nodes.
Optional: If you are planning to use CephFS, enable the Ceph tools repository on all your CDS nodes.
# subscription-manager repos --enable rhceph-5-tools-for-rhel-8-x86_64-rpms
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)