Installing Cisco VTS
The following sections provide details about installing VTS on a Linux-OpenStack environment or a VMware-based environment. Ensure that you review the Prerequisites chapter, before you begin installing VTS.
Installing Cisco VTS in a Linux - OpenStack Environment
Installing Cisco VTS in an OpenStack environment involves:
- Installing the VTC VM
- Modifying the Credentials File
- Installing OpenStack Plugin
- Installing the Host Agent
Installing the VTC VM
The VTC VM is installed on controller node. The VM is provided as vtc.qcow2 file.
![]() Note | Ensure that the following packages are installed: |
You will need root permission to execute the following steps.
Modifying the Credentials File
Before logging in to VTS GUI, modify the credentials file in VTC, available at /usr/lib/python2.7/dist-packages/vtsHostAgent/credentials. This is used for the HostAgent installer to put the right credentials on the plugin and host agent as well as to put the correct versions of the plugin and host agents. This is necessary step so you do not have to manually put the plugin and host agents into the respective directories.
When you execute change password using the GUI, it will run the host agent installer, modify the files, and restart the OpenStack Neutron services.![]() Note | In High Availability mode, modify the file in both the VTCs. |
An example is given below. The IP for NCS is the VIP IP.
[ncs] username = admin password = admin ip = 172.20.98.246 [compute1] username = admin password = cisco123 ip = 172.20.98.199 [compute2] username = admin password = cisco123 ip = 172.20.98.200 [compute3] username = admin password = cisco123 ip = 172.20.98.208 [compute4] username = admin password = cisco123 ip = 172.20.98.209 [controller] username = admin password = cisco123 ip = 172.20.98.197
Installing OpenStack Plugin
Installing the Host Agent
The host agent installer can be used to install or upgrade the VTS host agent on your compute/controller nodes. To install the host agent:
| Step 1 | Copy the host agent installer to your VTC. |
| Step 2 | Create a credentials file that contains your compute, NCS, and controller credentials. Sample file is at vts/install/hostagent/credentials. |
| Step 3 | You can run the
installer as standalone as well as a REST server that accepts REST APIs from
northbound GUI.
|
Installing Cisco VTS on a VMware Environment
Installing Cisco VTS on a VMware environment includes:
Installing VTC on ESXi
To install VTC on an ESXi host:
| Step 1 | Open the Browse Datastore window on the ESXi host where VTC needs to be installed. | ||
| Step 2 | Create a folder to upload VTC image, for example, VTC-A. | ||
| Step 3 | Upload vtc.vmdk and vtc.vmx file in this folder. | ||
| Step 4 | Right click on
vtc.vmx, and select add to inventory.
This will create the VM for VTC.
| ||
| Step 5 | Power ON the VM,
and open the console for it.
Console window automatically starts a script and asks for your inputs to configure the following: |
Installing vCenter VTC Plugin
Do the following to install the vCenter plugin:
| Step 1 | Log in to your
VTC server, and change directory to:
/opt/cisco/packages/vtc/bin |
| Step 2 | As root, run:
vwcregister.py -s <vCenter IP> -u <vCenter administrative user> -p <vcenter administrative user password> We recommend that you use the administrator@vsphere.local user when registering the plugin. To verify that the plugin has been installed, go to https://<vcenter-ip-address>/mob/?moid=ExtensionManager. The table should list the following: extensionList["com.cisco.vts.vwcplugin"] |
Initializing vCenter Plugin
Microsoft SQL Server is the supported database. Plugin can connect to an external database or to database on vCenter server machine. You need to configure the port and username/password on the VTS Configuration tab to create database for VTS. vCenter plugin also needs to communicate to VTC to push the configuration and receive the events for provisioning the overlay.
| Step 1 | Click one of
the virtual distributed switches (VDS) you had created.
VTS plugin adds three tabs to all VDS: VTS configuration, VTS Networks, and VTS Router. These tabs can accessed by clicking the Manage tab. |
| Step 2 | Click the Manage tab, and select VTS Configuration. |
| Step 3 | Enter the following details: |
| Step 4 | Click Submit.
After you click Submit, the GUI displays a button, Set. This shows the current status of the database and means that the database configuration is set. We do not support the copying the database entries from the previous database to the new database. Updating database can be a potentially disruptive operation. After saving the database information, a new box appears to enter the VTS IP, username, and password. |
| Step 5 | Enter the VTS
IP, username, and password. Make sure that the configured user has admin
privileges.
If both
connections are successful, the plugin is ready to start creating networks,
subnets, and routers. With each new network, a new port group will be created
for all VDS in vCenter.
After you click Submit, the GUI displays a button, Set. Updating the parameters can be a potentially disruptive operation. |

Feedback