FlashStack Converged Infrastructure setup using Ansible for FlashStack Virtual Server Infrastructure with Cisco UCS 4.2(1) in UCS Managed Mode, VMware vSphere 7.0 U2, and Pure Storage FlashArray//X R3 Series

This repository for FlashStack contains Ansible playbooks to configure Cisco Nexus, Cisco UCS, Cisco MDS, Pure FlashArray for VMware ESXi and VMware vCenter. This repository can be used for setting up Cisco devices, Pure FlashArray as well as VMware ESXi and vCenter as covered in the following Cisco Validated Design (CVD): https://www.cisco.com/c/en/us/td/docs/unified_computing/ucs/UCS_CVDs/flashstack_vsi_xseries_70u2_design.html.

The CVD lays out the complete process for configuring the FlashStack using Ansible. Since these playbooks are intended to save time in setting up a working FlashStack, a complete FlashStack as shown below is needed to execute the playbooks. Various simulators could be used to partially test individual playbooks.

FlashStack - physical topology for IP connectivity

image

FlashStack - physical topology for FC connectivity

image

Set up the execution environment

To execute various ansible playbooks, a linux based system will need to be setup as described in the CVD with the packages listed at the following pages:
• Cisco UCS: https://galaxy.ansible.com/cisco/ucs
• Cisco NxOS: https://galaxy.ansible.com/cisco/nxos
• Pure FlashArray: https://galaxy.ansible.com/purestorage/flasharray
• VMware: https://galaxy.ansible.com/community/vmware

How to execute these playbooks?

FlashStack Automated Deployment Workflow

image

High-Level FlashStack Automation

image

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/flashstack_vSphere7.0U2.html

  1. Setup LAN on Nexus and UCS: "ansible-playbook ./Setup_Nexus.yml -i inventory"
  2. Setup Pure FlashArray Initial Config - Optional: "ansible-playbook ./Setup_Pure.yml -i inventory"
  3. Setup Cisco UCS: "ansible-playbook ./Setup_UCS.yml -i inventory"
  4. Setup Pure FlashArray: "ansible-playbook ./Setup_MDS.yml -i inventory"
  5. Setup Pure FlashArray: "ansible-playbook ./Setup_Pure.yml -i inventory"
  6. Setup VMWare ESXi servers: "ansible-playbook ./Setup_ESXi.yml -i inventory"
  7. Setup VMWare Cluster and vCenter Setup: "ansible-playbook ./Setup_vCenter.yml -i inventory"
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.