Home > Workload Solutions > Container Platforms > Red Hat OpenShift Container Platform > Archive > Implementation Guide—Red Hat OpenShift Container Platform 4.6 on Dell Infrastructure > Preparing the CSAH node
Note: If needed, an additional CSAH node can be added to ensure redundancy.
To install Red Hat Enterprise Linux 8.2 in the CSAH node:
[root@localhost~]# hostnamectl set-hostname <hostname FQDN>
Create a bridge interface and a bond interface with bridge as the “master” (or primary) interface. Add “slaves” (secondary interfaces) to the bond and then assign an IP address to the bridge interface, as shown in the following example.
Note: The assigned IP address must be able to reach the Internet, and the DNS must be able to resolve subscription.rhsm.redhat.com. Ensure that the interface names and IP addresses reflect the environment.
# Create bond interface
nmcli connection add type bond con-name bond0 ifname bond0 bond.options "lacp_rate=1,miimon=100,mode=802.3ad,xmit_hash_policy=layer3+4" ipv4.method disabled ipv6.method ignore
# Add slaves to bond interfaces
nmcli connection add type ethernet con-name bond-slave-ens2f0 ifname ens2f0 master bond0 slave-type bond
nmcli connection add type ethernet con-name bond-slave-ens3f0 ifname ens3f0 master bond0 slave-type bond
# Create bridge interface for Mgmt network
nmcli connection add type bridge con-name Bridge-mgmt ifname br0 ip4 192.168.175.9/26 ipv4.dns 192.168.32.10 ipv4.dns-search demo.lab ipv4.gateway 192.168.175.1 connection.autoconnect yes
# Create a slave vlan using bond device for Mgmt bridge
nmcli connection add type vlan con-name mgmt-vlan ifname bond0.11 dev bond0 id 11 master br0 slave-type bridge
# Bring bridge connection up
nmcli connection up Bridge-mgmt
# Create a bridge interface for iDRAC network
nmcli connection add type bridge con-name Bridge-idrac ifname br1 ip4 192.168.110.29/24
# Create a slave vlan using bond device for iDRAC bridge
nmcli connection add type vlan con-name idrac-vlan ifname bond0.10 dev bond0 id 10 master br1 slave-type bridge
# Bring bridge connection up
nmcli connection up Bridge-idrac
[root@csah-pri ~]# systemctl restart NetworkManager
[root@csah-pri ~]# subscription-manager register --username <subscription.user> --password <subscription.password> --force
[root@csah-pri ~]# subscription-manager attach --pool=<pool id>
[root@csah-pri ~]# subscription-manager repos --enable=ansible-2.9-for-rhel-8-x86_64-rpms --enable=rhocp-4.6-for-rhel-8-x86_64-rpms
[root@csah-pri ~]# 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 CSAH (primary/secondary), user core is created using Ansible playbooks. The remainder of this guide assumes that user ansible runs the playbooks.
[root@csah-pri ~]# useradd ansible
[root@csah-pri ~]# passwd ansible
Changing password for user ansible.
New password:
Retype new password:
passwd: all authentication tokens updated successfully.
[root@csah-pri sudoers.d]# pwd
/etc/sudoers.d
[root@csah-pri sudoers.d]# cat ansible
ansible ALL=(ALL) NOPASSWD: ALL
[ansible@csah-pri ~]$ ssh-keygen (press enter and go by defaults for the next set of questions)
[ansible@csah-pri ~]$ ssh-copy-id <FQDN>
[ansible@csah-pri ~]$ git clone https://github.com/dell-esg/openshift-bare-metal.git
[ansible@csah-pri ~]$ cd <git clone dir>/openshift-bare-metal
[ansible@csah-pri openshift-bare-metal]$ git checkout origin/ocp46_q3
Note: Ignore steps 8 through 10 if there is no secondary CSAH node.
Note: Install Red Hat Enterprise Linux 8 in a CSAH secondary node manually and repeat steps 3 through 6 with necessary modifications. Ignore steps 8 through 10 if there is no CSAH secondary node.
[root@csah-pri ~]# cat /etc/hosts
<IP Address of secondary csah> csah-sec csah-sec.demo.lab
[ansible@csah-pri ~]$ ssh-copy-id <secondary CSAH FQDN>