image

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:

  1. Cisco UCS
  2. Cisco Nexus
  3. 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

image

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

  1. Setup LAN on Nexus and UCS: "ansible-playbook ./Setup_LAN_Connectivity.yml -i inventory"
  2. Setup Cisco UCS: "ansible-playbook ./Setup_UCS.yml -i inventory"
  3. Setup NetApp AFF: "ansible-playbook ./Setup_ONTAP.yml -i inventory"
  4. Setup OCP 4 Cluster using IPI install: "ansible-playbook -i inventory/hosts playbook.yml
View code on GitHub

Code Exchange Community

Get help, share code, and collaborate with other developers in the Code Exchange community.View Community
Disclaimer:
Cisco provides Code Exchange for convenience and informational purposes only, with no support of any kind. This page contains information and links from third-party websites that are governed by their own separate terms. Reference to a project or contributor on this page does not imply any affiliation with or endorsement by Cisco.