Note: the below procedure is dated and involves a manual installation. Starting 20.2.x we have installation script available that automates the installation of the analytics cluster, please refer to the below docs link for the steps to install the cluster using the script

https://docs.versa-networks.com/Getting_Started/Deployment_and_Initial_Configuration/Headend_Deployment/Initial_Configuration/Perform_Initial_Software_Configuration#Set_Up_Analytics

 


<the below procedure is left for reference - however you should look to install the cluster using the "installation script" mentioned above>


This article describes to Configure Versa Analytics

 

Please refer to the reference deployment architecture here

 

Prerequisite : Director should be deployed.

Create a new Virtual Machines and load them with Versa-SDWAN Analytics Software

Once VM is created, configure the Management IP on ETH0 interface

The  default Console login and password for Versa Analytics is

Username: admin

Password :versa123

And we should be able to SSH to Analytics’s Management IP

  

Step 1: Assign IP address on northbound and southbound interfaces from CLI

“sudo vi /etc/network/interfaces”.

 

 

cid:image004.png@01D483EC.CDB97170

 

Step 2 : Configure static route on Analytics and ensure reachability to 10.0.0.0/12

172.16.1.3: It is eth1 IP address of Controller

 

cid:image006.png@01D483EC.169B6430

 

 

Step 3 : Configure hostname in both Versa Director and Analytics

10.192.78.171 :It is Northbound IP address of Director

10.192.78.172:It is Northbound IP address of Analytics  [ With this IP we will be able to access GUI of  Analytics ]

 

 

cid:image008.png@01D483E9.CB9E8810

 

cid:image009.png@01D483EA.25ED1F70

 

Step 4 :  Stop the services of Versa Director

Vsh stop

 

cid:image003.png@01D483EE.4764A3E0

 

 

Step 5 :  Generate versa director certificate on director

Execute the Command : /opt/versa/vnms/scripts/vnms-certgen.sh --cn Versa-Director --overwrite --storepass versa123


Note: --cn is your Director hostname


 

cid:image013.jpg@01D48C23.900E0950

  

 

 

cid:image016.jpg@01D48C23.900E0950

 

Step 6: Start versa director daemons on master director.

Vsh start

 

cid:image017.jpg@01D48C23.900E0950

 

 

Step 7 :  Copy and install the certificate to analytics node on master Director

Execute command : /opt/versa/vnms/scripts/vnms-cert-sync.sh --sync


 

 

cid:image018.jpg@01D48C23.900E0950

  

cid:image020.jpg@01D48C23.900E0950

 

Step 8 :  Verify on Analytics, whether the certificates are installed

 

cid:image021.jpg@01D48C23.900E0950

 

Step 9 :  Verify certificates on both director and analytics are correct.

Execute the command 
cd /opt/versa/vnms/scripts/
./vnms-cert-sync.sh --verify


 

cid:image022.jpg@01D48C23.900E0950

 

 Step 10 : Configure Versa Analytics setup on Analytics:

Execute the command : # sudo /opt/versa/scripts/van-scripts/vansetup.py

 

cid:image023.jpg@01D48C23.900E0950

 

 

  

 

 

Step 11 :Try to open in GUI

https://10.192.78.172:8443/versa/app/  (10.192.78.172:It is northbound IP of Analytics)

Username :admin

Password :versa123

 

 

cid:image029.jpg@01D48C23.900E0950

 

 

 Step 12:  Go to Admin > Administration > Authentication > Add the Host name of Versa Director

After Registering ,we will be able to access Analytics, directly from Director Tab

 

 

 

 Now we will be able to access Analytics from Director Tab.

 

 

cid:image031.jpg@01D48C23.900E0950



Step 13Configuring Versa Analytics to collect log for statistical display

If Analytics Cluster is selected in the template, then Collector's configuration will be present.

To check the configuration on the Analytics collector,

>show configuration log-collector-exporter local collectors


 


If the configuration is not present, then use the below command to configure it

versa@Analytics1% set log-collector-exporter local collectors  analytics address 172.16.1.2 port 1234 transport tcp storage directory  /var/tmp/log format syslog


172.16.1.2: SouthBound/Control IP address of Analytics. This is called the collector IP address.