Lab 1
Lab 1
: In this lab we are going to deploy a headend architecture which will include
- Versa Director
- Versa Analytics
- Versa Controller
- DC Switch
Connect vDirector, vController and vAnalytics together through a Switch (DC SW) and
a management PC to all of these devices.
After this the director will be reloaded and we should be able to find the changes we made
in the initial setup.
To configure the IP address on interfaces till the time device is up and running use the
commands below. (A restart will remove the configurations)
versa-flexvnf login:
versa
Password: versa123
To configure the IP address on interfaces till the time device is up and running use the
commands below. (A restart will remove the configurations)
To Configure the password permanently on the interfaces we will have to make the change
in the interface configuration file. Use the commands given below:
To configure IP address on eth0 and eth1 use the commands given below to open the
interface file.
Try to ping all devices from your vDirector and ping vDirector from your local PC to
confirm the connectivity.
Step 4: Open https://10.255.1.111 on browser to get the GUI of vDirector. Login inside the
GUI using the credentials mentioned below:
Username: Administrator
Password: versa123
After taking the GUI access, we will make the Analytics as part of the Director.
This can be done under the Administration settings, under Connectors. Inside the
Connectors menu select Analytics Cluster to add the Analytics Cluster.
Click on the + button next to the search bar and add your cluster using the details given below
and press OK.
Go to the CLI of the vDirector and and open the clustersetup.conf file. Use the commands
given below
[Administrator@Director-1: ~] $ cd /opt/versa/vnms/scripts/
[Administrator@Director-1: scripts] $ cd van-cluster-config/
/opt/versa/vnms/scripts/van-cluster-config
[Administrator@Director-1: van-cluster-config] $ cd van_cluster_install/
/opt/versa/vnms/scripts/van-cluster-config/van_cluster_install
[Administrator@Director-1: van_cluster_install] $ sudo nano clustersetup.conf
[sudo] password for Administrator:
In this file we need to make some modifications. Check the highlighted text to look for the
changes you need to make.
[VAN_CLUSTER_SETUP_CONF]
# cluster_size:Total Number of nodes in the van-cluster cluster_size:1
# cluster_name:Name of the cluster cluster_name:VAN-Cluster
# forwarder_count: Total number of Log forwarding nodes
# (0 if none are present) forwarder_count:
0
#[VERSA-DIR-2]
#username: Administrator
#password:
#rpc_address: 10.10.10.100
#listen_address: 192.169.1.2
# Node Configurations
# Each VAN-NODE-X has the properties of the corresponding VAN node
# First node in the cluster
[VAN-NODE-1]
# username: In this block, Versa Analytics Node User Credentials
# Enter password in Password prompt during installation
# Enter password for above user; if password is not entered it is prompted
#password:
We don’t have any Second node cluster therefore, we can ignore the left part of the file.
Save the file using Ctrl + x and press Y to confirm changes and then press Enter.
Now, we need to run the script to execute the configuration. Use the command below to
execute in vDirector.
After executing the file use the details as mentioned below in the screenshot and allow it
some time to complete the process.
Next step would be installing the Certificates. Go to the vDirector and use command below
to install and generate the certificate.
Allow it some time to install the certificates and it should show you an output like shown
below.
Now reload the GUI of Director and follow the steps given below.
Go to Administration, under the System settings, click on Static Route to add a route so
that the Director can communicate with the overlay network.
Now we will add the organization and appliances. Go to the Workflows, click on
Controllers and add a Controller with the following settings: