Home > Workload Solutions > Container Platforms > Red Hat OpenShift Container Platform > Guides > Implementation Guide—Red Hat OpenShift Container Platform 4.12 on AMD-powered Dell Infrastructure > Preparing the CSAH node
To install Red Hat Enterprise Linux 8.6 on the CSAH node:
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-amd ~]# subscription-manager register --username <subscription.user> --password <subscription.password> --force
[root@csah-amd ~]# subscription-manager attach --pool=<pool id>
[root@csah-amd ~]# subscription-manager repos --enable=ansible-2.9-for-rhel-8-x86_64-rpms
[root@csah-amd ~]# yum install -y jq ansible python3-netaddr git
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-amd ~]# useradd ansible
[root@csah-amd ~]# passwd ansible
Changing password for user ansible.
New password:
Retype new password:
passwd: all authentication tokens updated successfully.
[root@csah-amd sudoers.d]# pwd
/etc/sudoers.d
[root@csah-amd sudoers.d]# cat ansible
ansible ALL=(ALL) NOPASSWD: ALL
[ansible@csah-amd ~]$ ssh-keygen (press enter and go by defaults for the next set of questions)
[ansible@csah-amd ~]$ ssh-copy-id <FQDN>
[ansible@csah-amd ~]$ git clone https://github.com/dell-esg/openshift-bare-metal.git
[ansible@csah-amd ~]$ cd <git clone dir>/openshift-bare-metal
[ansible@csah-amd openshift-bare-metal]$ git checkout origin/ecws_ocp412
If there is a secondary CSAH node, continue with steps 9 through 11.
Install Red Hat Enterprise Linux 8 on the CSAH secondary node manually, and repeat steps 4 through 7 with the necessary modifications.
[root@csah-amd ~]# 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-amd ~]$ ssh-copy-id <FQDN of secondary CSAH>