Home > Workload Solutions > Container Platforms > Red Hat OpenShift Container Platform > Guides > Implementation Guide—Red Hat OpenShift Container Platform 4.14 on AMD-powered Dell Infrastructure > Preparing the CSAH node
Note: If needed, you can add a secondary CSAH node to ensure redundancy.
Follow these steps:
The Ansible playbooks that are described in this guide use packages that are installed with the Server with GUI option.
[root@localhost~]# hostnamectl set-hostname <hostname FQDN>
[root@csah ~]# subscription-manager register --username <subscription.user> --password <subscription.password> --force
[root@csah ~]# subscription-manager attach --pool=<pool id>
[root@csah ~]# yum install ansible-core-2.14.9 python3-netaddr python3 jq git -y
Note: Do not use the username core. User core is part of the OpenShift Container Platform cluster configuration and is a predefined user in CoreOS. In the (primary/secondary) CSAH node, user core is created using Ansible playbooks. The remainder of this guide assumes that user ansible runs the playbooks.
[root@csah ~]# useradd ansible
[root@csah ~]# passwd ansible
Changing password for user ansible.
New password:
Retype new password:
passwd: all authentication tokens updated successfully.
[root@csah sudoers.d]# pwd
/etc/sudoers.d
[root@csah sudoers.d]# cat ansible
ansible ALL=(ALL) NOPASSWD: ALL
[ansible@csah ~]$ ssh-keygen (press enter and go by defaults for the next set of questions)
[ansible@csah ~]$ ssh-copy-id <FQDN>
[ansible@csah ~]$ ansible-galaxy collection install ansible.posix community.general ansible.utils
[ansible@csah ~]$ git clone https://github.com/dell-esg/openshift-bare-metal.git
[ansible@csah ~]$ cd <git clone dir>/openshift-bare-metal
[ansible@csah openshift-bare-metal]$ git checkout origin/ecws_ocp414
If there is a secondary CSAH node, continue with steps 10 and11.
Repeat steps 1 to 3 to install Red Hat Enterprise Linux 8 on the CSAH secondary node manually, and then repeat steps 4 through 7 with the necessary modifications.
[root@csah ~]# cat /etc/hosts
<IP Address of secondary csah> <hostname of secondary CSAH> <FQDN of secondary CSAH>
Example:
192.168.35.50 csah-sec csah-sec.dcws.lab
[ansible@csah ~]$ ssh-copy-id <FQDN of secondary CSAH>