FlexPod Converged Infrastructure deployment using Ansible for OpenShift Container Platform 4 bare-metal IPI installation
This repository is for FlexPod automated deployment covering the following to support OpenShift COntainer platform 4 bare-metal:
- Cisco UCS
- Cisco Nexus
- NetApp AFF A-Series
This repository contains Ansible playbooks to configure Cisco Nexus, Cisco UCS and NetApp ONTAP to prepare the bare-metal infrastructure for OCP4 installation. This repository can be used for setting up Cisco devices as well as NetApp AFF as covered in the following Cisco Validated Design (CVD):
https://www.cisco.com/c/en/us/td/docs/unified_computing/ucs/UCS_CVDs/flexpod_iac_redhat_openshift.html
The first three steps illustrated above to deploy FlexPod infrastructure is covered in this repository.
OpenShift IPI automated installation is not part of this repo and the IPI installation repo is available at https://github.com/openshift-kni/baremetal-deploy/tree/master/ansible-ipi-install.
Usage:
All the details of deploying the FlexPod along with OpenShift Container Platform 4 IPI automated installation is covered in the above mentioned CVD. Refer to the document for detailed instructions on how to execute the Ansible Playbooks to bring up the OpenShift Container Platform environment delivered as Infrastructure as Code (IaC).
Playbook Execution Commands – Summary:
Setup all the variables before executing the playbooks as detailed in the CVD: https://www.cisco.com/c/en/us/td/docs/unified_computing/ucs/UCS_CVDs/flexpod_redhat-OCP.html
- Setup LAN on Nexus and UCS: "ansible-playbook ./Setup_LAN_Connectivity.yml -i inventory"
- Setup Cisco UCS: "ansible-playbook ./Setup_UCS.yml -i inventory"
- Setup NetApp AFF: "ansible-playbook ./Setup_ONTAP.yml -i inventory"
- Setup OCP 4 Cluster using IPI install: "ansible-playbook -i inventory/hosts playbook.yml