VoyenceControl: How do I update the IP Address of a Device Server in VoyenceControl?
book
Article ID: 303488
calendar_today
Updated On:
Products
VMware Smart Assurance
Issue/Introduction
Symptoms:
How do I update the IP Address of a Device Server in VoyenceControl?
The Application Server is unable to communicate with a Device Server.
Environment
VMware Smart Assurance - NCM
Resolution
To update the IP Address of a Device Server you will need to update the infrastructure database, delete a cache file, and restart a few services:
On the Application Server, change directory to $VOYENCE_HOME/cgi-bin.
Source the /etc/voyence.conf file:
source /etc/voyence.conf
Output the infrastructure database to a file with the following command:
./cflist.cgi > output.txt
Open the output.txt file for editing.
Every Device Server has a POP line entry in the infrastructure database. This line contains the IP Address that will need to be updated. Locate the POP entry line for your Device Server, below is an example:
The value that you need to update is the value for the ADDR attribute. Set it to your new IP Address.
Save your changes and exit.
Write your changes to the infrastructure database with the following command:
./cfwrite.cgi < output.txt
Delete the $VOYENCE_HOME/data/.rhttps file on both the Application Server and the Device Server.
Restart the apache service on both the Application Server and the Device Server with the following command:
/etc/init.d/httpd restart
Restart the voyence service on the Application Server and the Device Server with the following command:
/etc/init.d/voyence restart
Your Application Server and Device Server should be communicating with each other successfully now.
Additional Information
These steps assume you have correctly and appropriately modified the IP Address of the Device Server ahead of time with respect to the operation system's expectations. This includes modification of the /etc/hosts file or any other.
The $VOYENCE_HOME variable is a reference to the install directory of VoyenceControl. By default this is /opt/voyence.