Deploying Virtual ACI Multi-Site Lab

ACI MultiSite design is the architecture interconnecting multiple APIC cluster domains with their associated pods. A MultiSite design could also be called a Multi-Fabric design, because it interconnects separate regions (fabrics) each deployed as either a single pod or multiple pods (a Multi-Pod design).

The need for complete isolation (both at the network and tenant change-domain levels) across separate Cisco ACI networks led to the Cisco ACI Multi-Site architecture, introduced in Cisco ACI Release 3.0(1).

Aucun texte alternatif pour cette image

First article discussed how to install the Application Centric Infrastructure Simulator on VMware ESXi. This second article will help install a virtual ACI Multi-Site Lab and understand some concepts and configurations on MSO like Schema, Template, Tenant, L2 / L3 Stretching and some inter-site policies. 

The Virtual Multi-Site LAB Architecture :

  • Two ACI fabrics built with ACI Simulator
  • One APIC cluster domain in each fabric with one spine and two leafs nodes
  • One ACI Multi-Site Orchestrator used to manage the two fabrics and to define inter-site policies.
Aucun texte alternatif pour cette image

Scenario 1 : Installing Single Node Orchestrator in VMware ESX

Scenario 2 : Multisite Orchestrator GUI Walkthrough

Scenario 3 : Adding Sites to MSO

Scenario 4 : Creating Tenant, Schema and Templates for MSIT

Scenario 5 : Adding Application Profile, EPG, BD, VRF to Schema Templates

Scenario 6 : Creating policy inside the templates and deploying to sites

---------------------------------------------------------------------------------------------------------------

Scenario 1 : Installing Single Node Orchestrator in VMware ESX

Caution: Single node installations are supported for testing purposes only. Production Multi-Site deployments require a 3-node Orchestrator cluster.

Step 1 : Download the Open Virtualization Appliance (OVA) file.

  • Download the ACI Multi-Site Image (ESX Only) file (esx-msc-<version>.ova) for the release.

Link below : https://software.cisco.com/download/home/285968390/type

  • Click ACI Multi-Site Software and Choose a Cisco ACI Multi-Site Orchestrator release version.

In my lab i’m using 3.1(1g) release.

Step 2 :  Deployed the OVA directly in ESX

Aucun texte alternatif pour cette image
  • Confirm the virtual machine allocated the required Disk, CPU and Memory.
  • Power on the virtual machine.

Step 3 : Complete the MSO initial Setup

  • Log in to the VM using the console
  • Username = root , Password = cisco
  • It will be required to change the password immediately (root enforced). This should be a complex password.
Aucun texte alternatif pour cette image
  • Type nmtui for to configure networking basics :
Aucun texte alternatif pour cette image

Caution : No routing could be done between the spines and ISN so it is important to put Eth0 of MSO and APICs in the same subnet. Do not forget we are in a full virtual lab, the ACI Simulator includes simulated switches, so you cannot validate a data path.

  • Click on OK, go back deactivate and reactive this connection
  • Set System Hostname
Aucun texte alternatif pour cette image
  • Click and Exit the Network Manager TUI
  • Ping one APIC to validate connectivity between MSO and the ACI Simulator
Aucun texte alternatif pour cette image
  • Log in to the VM now using SSH
Aucun texte alternatif pour cette image
  • Move into the deployment scripts directory
# cd /opt/cisco/msc/builds/<build_number>/prod-standalone
  •  Run the initialization script
#./msc_cfg_init.py
  • Run the deployment script.
# ./msc_deploy.py
Aucun texte alternatif pour cette image
  •  Wait Deployment complete
Aucun texte alternatif pour cette image

Step 4 : Log in ACI Multi-Site Orchestrator GUI

Aucun texte alternatif pour cette image
  • The default login is admin and the default password is We1come2msc!
  • When you first log in, you will be prompted to change the password.
Aucun texte alternatif pour cette image
Aucun texte alternatif pour cette image

Scenario 2 : Multisite Orchestrator GUI Walk-through

Aucun texte alternatif pour cette image

Functionality of each Multi-Site Orchestrator GUI page is described in the following link

https://www.cisco.com/c/en/us/td/docs/switches/datacenter/aci/aci_multi-site/sw/3x/configuration/cisco-aci-multi-site-configuration-guide-3x/m-gui-overview.html

Scenario 3 : Adding sites to MSO

  • GO to Infrastructure > Sites
Aucun texte alternatif pour cette image
  • Click the Add Site button to add each site one by one
  1. Name: the site name.
  2. APIC Controller URL: add APIC Controller URL.
  3.  Username: the site username.
  4.  Password: the unique site password for access.
  5.  APIC Site ID : Each Site must have a unique Site ID
Aucun texte alternatif pour cette image
  • Click save if all inputs are OK, a warning message will confirm Site is successfully connected to the MSO
  • If the inputs are not good a fail message will appear
Aucun texte alternatif pour cette image
  •  Add second site
Aucun texte alternatif pour cette image
  • Go to Operation > Sites Firmware
  • Check Overview of all Sites Firmeware
Aucun texte alternatif pour cette image
  • Logon an APIC and check the topology, you can see now Inter-Pod Network
Aucun texte alternatif pour cette image

Scenario 4 : Creating Tenant, Schema and Template in MSO

  • Schema: Profile including the site-configuration objects that will be pushed to sites. Schemas are the containers for single or multiple templates that are used for defining the policies.
  • Templates : are the framework for defining and deploying the policies to the sites. Child of a schema, a template contains configuration-objects (App Profile, EPG, VRF, Contract, BD, Filter, External EPG) that are shared between sites or site-specific.
  • Tenant : A secure and exclusive virtual computing environment. In Cisco ACI, a tenant is a unit of isolation from a policy perspective, but it does not represent a private network

Use Case :

  1. A VRF ‘VRF_stretched’ containing three Bridge Domains. This VRF will be stretched beetween DC1 and DC2
  2. Bridge Domain ‘BD1_Stretched’ will be pushed to both sites
  3. Bride Domain ‘BD1_DC1’ will be pushed to DC1 only
  4. Bride Domain ‘BD1_DC2’ will be pushed to DC2 only

For this we need to create at least 3 different Templates :

  1. One Template for the stretched BD / EPG that will be pushed to both site
  2. One Template for each BD that will be pushed to one site only
  3. Create a Schema containing the three Templates
Aucun texte alternatif pour cette image

Step 1 : Creating Tenant

  • Go to Application Management > Tenant
Aucun texte alternatif pour cette image
  • Click on Add Tenant
Aucun texte alternatif pour cette image
  • Choose associated sites and save
  • Do Same for each Tenant that will be deployed on each site only
Aucun texte alternatif pour cette image
Aucun texte alternatif pour cette image
  • Lets verify on APIC for each site
Aucun texte alternatif pour cette image

You can see Tenants are deployed => Tenant_DC_ALL on all sites, Tenant_DC1 on site DC1 and Tenant_DC2 on site DC2

Below on APIC you can see thos object are created on MSO

Aucun texte alternatif pour cette image

Step 2 : Creating Schema and Template

  • Go to Application Management > Schemas
Aucun texte alternatif pour cette image
  • and Click Add Schema
Aucun texte alternatif pour cette image
  • Go to Application Management > Schemas choose schema created in last step and create Template
Aucun texte alternatif pour cette image
  • Default is Template 1 => give a name and select Tenant will be assocciated to this Template
  • Associate Tenant to Schema Template
Aucun texte alternatif pour cette image

Template is created with a list of objects (APP, VRF, BD, etc ...) by default with options to activate for this Tenant or not

  • Create Template_DC1, Template_DC2 and Template_DC_ALL and associate each with Tenant_DC_ALL
Aucun texte alternatif pour cette image

Step 3 :Associate Site(s) and Template(s)

  • One Template for each BD that will be pushed to one Site only
Aucun texte alternatif pour cette image
  • One Template for the stretched BD / EPG that will be pushed to both sites
Aucun texte alternatif pour cette image
  • Verify complete schema configuration
Aucun texte alternatif pour cette image

Scenario 5 : Adding Application Profile, EPG, BD, VRF, vzAny to Schema Templates

  • Go to Application Management > Schemas>Template_DC_ALL
Aucun texte alternatif pour cette image
  • Add Application Profile
Aucun texte alternatif pour cette image
  • Add VRF (you can choose to activate L3 Multicast, VzAny.....)
Aucun texte alternatif pour cette image
  • Add BDs
Aucun texte alternatif pour cette image
  • Add Subnet to BD
Aucun texte alternatif pour cette image
  • Add EPGs
Aucun texte alternatif pour cette image
  • Associate EPGs to BD and choose some options related
Aucun texte alternatif pour cette image
  • Deploy configuration to sites
Aucun texte alternatif pour cette image
  • Now create EPG_DC1 / BD1_DC1 and EPG_DC2 / BD1_DC2 that will only respectevely deployed on DC1 and DC2
Aucun texte alternatif pour cette image
  • Deploy for each site
  • Do same for EPG_DC2 / BD1_DC2  
Aucun texte alternatif pour cette image
Aucun texte alternatif pour cette image
  • Checks on APICs
Aucun texte alternatif pour cette image

Objects created in MSO is tagged. On APIC DC1 we can see 2 Tenants created on MSO : Tenant_DC1 and Tenant_DC_ALL (stretched on the 2 sites)

Aucun texte alternatif pour cette image

On APIC DC2 we can see 2 Tenants created on MSO : Tenant_DC2 and Tenant_DC_ALL (stretched on the 2 sites)

  • Below all objects created in MSO and deployed on APIC DC2
Aucun texte alternatif pour cette image

vzAny Multi-Site

  • Step 1 : Create Filter
Aucun texte alternatif pour cette image

Step 2: Create Contract

  • Contract scope could be VRF, Tenant or Global
Aucun texte alternatif pour cette image

Step 3: Configure vzAny to Consume/Provide the Contract

Aucun texte alternatif pour cette image

Step 4: Deploy the vzAny contract

Aucun texte alternatif pour cette image

Step 5: Checks on APIC

  • Contract deployed
Aucun texte alternatif pour cette image
  • Go to Tenant_DC_ALL > Networking>VRF_Stretched
Aucun texte alternatif pour cette image

Scenario 6 : Creating policies and deploying to sites

DHCP Relay Policy

  • Go to Application Management > Policies
Aucun texte alternatif pour cette image
  • Choose Create DHCP Policy
  • Add Name of the Policy
  • Associate it to the Tenant Tenant_DC_ALL
Aucun texte alternatif pour cette image
  • Add Provider => select the EPG where located the DHCP Server
Aucun texte alternatif pour cette image
  • Select Application EPG (server located inside ACI) and give the IP address of the server
Aucun texte alternatif pour cette image
  • Click Save
Aucun texte alternatif pour cette image
  • Popup shows POlicy successfully created
Aucun texte alternatif pour cette image
  • DCHP Server EPG is tagged
Aucun texte alternatif pour cette image
  • Activate DHCP Policy on BDs and choosethe relay Policy
Aucun texte alternatif pour cette image
  • Deploy and lets Verify on APIC
Aucun texte alternatif pour cette image
  • Policy is created on each APIC
  • Below Policy attached to BDs
Aucun texte alternatif pour cette image

Limitations

The ACI Simulator includes simulated switches, so you cannot validate a data path. It is for this reason that the Infra part has not been configured in this lab. In Production you will have to do this. The goal here is to allow you to have a fairly realistic lab that can allow you to familiarize yourself with ACI Multi-Site, design, configuration and interaction with APIC

References :

https://www.cisco.com/c/en/us/solutions/collateral/data-center-virtualization/application-centric-infrastructure/white-paper-c11-739609.html

https://www.cisco.com/c/en/us/td/docs/switches/datacenter/aci/aci_multi-site/sw/2x/installation/Cisco-ACI-Multi-Site-Installation-Upgrade-Guide-221.html

https://www.cisco.com/c/en/us/td/docs/switches/datacenter/aci/aci_multi-site/sw/3x/configuration/cisco-aci-multi-site-configuration-guide-3x/m-gui-overview.html







Ashish Halder

APECE | DU| 350-601 DCCOR | 300-620 DCACI | 350-701 SCOR |300-710 SNCF | 300-715 SISE | 300-720 SESA | 300-725 SWSA | 300-730 SVPN | 200-301 CCNA | PCNSE | 300-415 ENSDWI | CCIE DC |

1 年

Excellent

Rakesh Kumar

CCIE DC # 63812 | CCSI#35784| ACI | Nexus | UCS | Hyperflex |MDS|Nexus Dashboard|Cisco Intersight

3 年

Awesome ??..can you share lab for aci pod configuration on virtual environment..

回复
Moussa - Samy Benabdelkader

Responsable TAC BACKBONE Réseau INNOV ORANGE

3 年

????????

Hassan HBAR

ACI and Network architect at Societe Générale ( Looking for new position as a network engineer SP/DC or enterprise)

3 年

Awesome, I don’t know that you are a great writer as you are in the field.

要查看或添加评论,请登录

S. Oumar NDIAYE的更多文章

社区洞察

其他会员也浏览了