How to use Heat Template to Instantiate Versa Headend in OpenStack?


Question: 

How to use heat template with OpenStack to instantiate Versa Headend (Versa Director, Versa Controller, and Versa Analytics)?

Answer:

Versa provides "Heat Template" to automate and instantiate the Versa Headend (HE) setup on an OpenStack in standalone mode.

Pre-requisites

These are the pre-requisites required for using the heat template:

  1. OpenStack—Images available and added in OpenStack for:
    • Versa Director
    • Versa Controller
    • Versa Analytics
  2. Project/Tenant—It is recommended to use non-admin project for setting up Versa HE set up. 
  3. Role—"admin" level role is provided to the OpenStack user used to run this template. 
  4. Key Pair—Key Pair should be available to the OpenStack user/project used to run this template and this key pair is used for Versa HE set up. 
  5. Public Network—Public Network should be available as part of the installation of OpenStack. Floating IPs will be assigned from this public network to management ports of Versa HE instances. 


OpenStack required these two files to run the Heat template:


NOTE: This article provides a sample of both the files that you can use in your deployment.

Environment File

This file provides information in key-value pair format. Please don't change the key name in the environment file. It has this information: 

Main Heat Template File

Run the Heat template file. It performs these actions/activities:

Refer to this topology that is brought up as part of this heat template:

             


NOTE: Due to Anti-spoofing, port security is disabled on both ports (North Bound and South Bound) of Controller for any passthrough traffic via Controller.