The FlashStack portfolio of solutions is a series of validated solutions developed in partnership with Cisco and Pure Storage. Each FlashStack is designed, built, and validated in Cisco’s internal labs, and delivered as Cisco Validated Design (CVD) that includes a design guide, deployment guide, and automation delivered as Infrastructure as Code (IaC).
This release of the CVD introduces support for the 7th generation of Cisco UCS C-Series and Cisco UCS X-Series Servers, powered using 4th Gen Intel Xeon Scalable processors. The new Cisco UCS servers provide the compute infrastructure for the FlashStack virtual server infrastructure (VSI) solution. For storage, the solution uses either 32Gbps Fibre Channel (FC) or 100Gbps IP/ethernet storage to access unified block and file storage on a Pure Storage FlashArray. For the virtualization layer of the stack, the solution introduces support for VMware vSphere 8.0 and the new capabilities available in this release.
This repository provides the IaC automation for provisioning the end-to-end infrastructure in this CVD solution:
https://www.cisco.com/c/en/us/td/docs/unified_computing/ucs/UCS_CVDs/flashstack_m7_vmware_8_ufs_fc.html
This repository contains the Ansible playbooks to automate the following components in the Virtual Server Infrastructure stack:
• Cisco UCS X-series and C-series M7 servers in Intersight Managed Mode (IMM)
• Cisco Nexus and MDS Switches
• Pure FlashArray
• VMware ESXi and VMware vCenter.
The automation provided in this repo will enable you to deploy the following FlashStack designs in the CVD using Ansible. To execute the playbooks, the following FlashStack solution design must be built and cabled as shown in the figure below. The automation does provide the flexibility to provision either FC or IP/Ethernet for storage access.
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:
You might already have this collection installed.
ansible-galaxy collection list
ansible-galaxy collection install cisco.intersight
(For Intersight Collection) ansible-galaxy collection install cisco.nxos
(For Cisco NX-OS collection) ansible-galaxy collection install purestorage.flasharray
(Pure Storage FlashArray Collection) ansible-galaxy collection install community.vmware
(For VMWare Ansible Collection) Next, clone the repository from GitHub with "git clone https://github.com/ucs-compute-solutions/FlashStack_IMM_M7.git".
To execute the automation in this repo, update the inventory and variables files to reflect the specifics of your environment. The variables that must be configured to execute the automation are defined in the following locations:
inventory/(group_vars|host_vars)/<component_name>/(vars|vault)
role_name/defauls/main.yml
Provisioned by: intersight-ansible
NOTE: You can specify the location of the inventory file by adding -i inventory/inventory.ini
to the ansible-playbook command below.
ansible-playbook ./setup_network.yml
ansible-playbook ./setup_compute.yml
ansible-playbook ./setup_pure_storage.yml
ansible-playbook ./setup_network_san.yml
ansible-playbook ./setup_vmware_vcenter.yml
ansible-playbook ./setup_vmware_esxi.yml
To execute the playbooks against your Intersight account, you need to complete following additional steps of creating an API key and saving the Secrets_File:
https://community.cisco.com/t5/data-center-and-cloud-documents/intersight-api-overview/ta-p/3651994
The API key and Secrets.txt (default file name) should be put in the inventory/intersight/vault sub-directory and encrypted - these as well as passwords should also not be uploaded to GitHub by using the .gitignore file to filter out any files with sensitive information.
The Intersight playbooks in this repository perform following functions:
After successfully executing the playbooks, one or many server profiles can easily derived and attached to the compute node from Intersight dashboard.
Execution of first three playbooks in these repositories set up Server Profile Template in Intersight. After successfully executing the playbooks, one or more server profiles can easily derived and attached to the compute node from Intersight dashboard. To install OS on these newly provisioned servers, Intersight now offers an Install OS workflow that can be directly accessed by navigating to Infrastructure Service > Operate > Servers. Next select a server and use the '...' option on the right hand side to select Install Operating System" from the list of menu options.
Owner
Contributors
Categories
Products
IntersightUCS ManagerNX-OSProgramming Languages
PythonLicense
Code Exchange Community
Get help, share code, and collaborate with other developers in the Code Exchange community.View Community