Home > Workload Solutions > Container Platforms > Red Hat OpenShift Container Platform > Archive > Implementation Guide—Red Hat OpenShift Container Platform 4.6 on Dell Infrastructure > Adding a local network compute node
Follow these steps:
Note: For this release, only rhcos computes are supported. Supported values for the operating system are only rhcos for this release.
new_compute_nodes:
- name: com-3
ip_os: <bond IP>
ip_idrac: <iDRAC IP>
os: rhcos
Note: On the CSAH node, run the commands as user ansible unless otherwise specified.
[ansible@csah-pri python]$ pwd
<git clone dir>/python
[ansible@csah-pri python]$ python3 generate_inventory_file.py --add --release 4.6 --nodes nodes.yaml --id_user <idrac user> --id_pass <idrac_password>
Enter complete path to existing inventory file: <git clone dir>/ansible/generated_inventory
Do you want to perform bonding for 'new_compute_nodes' (y/NO): y
Specify the bonding information as appropriate. An updated inventory file is created with the new compute node information added.
Notes:
If there is no secondary CSAH node, use the ocp.yaml playbook file. The following example uses the haocp.yaml file as there are both primary and secondary CSAH nodes set up.
The newly created inventory file is highlighted in yellow.
[ansible@csah-pri ansible]$ pwd
/home/ansible/openshift-bare-metal/ansible
[ansible@csah-pri ansible]$ ansible-playbook -i <updated inventory file> haocp.yaml