Skip to content

urao/vmm-automation

Repository files navigation

Steps to run the deployment in VMM Infra


  1. Assuming you are running these playbooks from you laptop
  2. Clone the repo
git clone https://github.com/urao/vmm-automation.git
  1. Fill in the details which has string "__fill__in" script in the files
cd vmm-automation
grep -irn "fill__" *
scripts/setup.env:4:VMM_USERNAME=__fill__in
scripts/setup.env:20:LAPTOP_SSH_KEY="__fill__in"
scripts/setup.env:21:VMM_SSH_KEY="__fill__in"
scripts/setup.env:27:CONTRAIL_REGISTRY_USERNAME="__fill__in"
scripts/setup.env:28:CONTRAIL_REGISTRY_PASSWORD="__fill__in"
  1. Copy Linux, vMX, vQFX images under /vmm/data/user_disks/<username>/ folder

  2. Copy required healthbot version of the image to be installed, under /vmm/data/user_disks/<username>/ folder

  3. For Appformix deployment, Create appropriate version folder, as per below

  4. Copy Appformix and Appformix flows images in the below location based on the version

    Contrail Appformix
    1912 1.0.6
    2002 1.0.7
    2003 1.0.7
    Contrail Appformix Flows
    1912 3.1.11
    2002 3.1.14-a1
    2003 3.1.15
/vmm/data/user_disks/<username>/appformix/3_1_11/
/vmm/data/user_disks/<username>/xflow/1_0_6/
  1. Currently supported topologies are showed here
  2. Update scripts/setup.env file with what topology you want to deploy
# Available Topologies
# Demo => demo
# Healthbot => hbvm
# Contrail+Appformix => cafx
# Kubernetes Cluster => k8s

VMM_TOPO_TYPE=demo
  1. Enable passwordless login to VMM servers
  2. Run the script to deploy the selected topology [Ex. demo]
./scripts/create_deploy_demo_vmm.sh
  1. Run the above script with -c option to cleanup the topology [Ex. demo]
./scripts/create_deploy_demo_vmm.sh -c

References

Ansible Doc