Smarts NCM 9.4: How to change the IP address of a Application Server(AS), Device Server(DS), and/or Reporting Server?
book
Article ID: 331271
calendar_today
Updated On:
Products
VMware Smart Assurance
Issue/Introduction
Symptoms:
How to change the IP address of a Smarts NCM Application Server(AS), Device Server(DS), and/or Reporting Server.
Smarts NCM 9.4 installed and running, but the IP address needs to be changed.
Environment
VMware Smart Assurance - NCM
Resolution
To change IP addresses of Smarts NCM Application Server, Device Server, and/or Reporting Server, please perform the following steps depending on your Smarts NCM environment.
IMPORTANT! To complete the following procedure, root or administrator access is required to the Smarts NCM server(s).
====================================================================================================== Change IP address of APPLICATION SERVER (AS): ====================================================================================================== 1. Stop all the services: service vcmaster stop 2. Replace the IP(s) in the /etc/hosts file 3. Replace the IP(s) in $VOYENCE_HOME/ncmcore/webapps/voyence/powerup.jnlp of application server and the reporting server Example:
<property name="jnlp.server_ip" value="NEW IP"/>
4. Run commands: source /etc/voyence.conf cd $VOYENCE_HOME/cgi-bin
5. Run command: ./cflist.cgi > output
If the remote Device Server IP address has changed also, perform step 6 and step 7 below (If not, skip steps 6 and 7) 6. Edit output file and replace the IP(s) of the device server(s) 7. Run: ./cfwrite.cgi < output
8. Replace the IP address of the Reporting server in Database server conf file: $VOYENCE_HOME/db/controldb/data/pg_hba.conf
9. Replace the IP of the Application server in Database server: $VOYENCE_HOME/db/controldb/data/postgresql.conf
10. Restart the services: service vcmaster start
====================================================================================================== Change IP address of DEVICE SERVER (DS): ====================================================================================================== 1. Stop all the services: service vcmaster stop
2. Replace the IP(s) in the /etc/hosts file 3. Replace the IP(s) of the application server in $VOYENCE_HOME/data/devserver/master.addr 4. Remove the .rhttps under the $VOYENCE_HOME/data directory 5. Restart the services service vcmaster start
====================================================================================================== Change IP address of REPORTING SERVER: ====================================================================================================== 1. Stop all the services: service httpd stop service tomcat stop
2. Replace the IP(s) in the /etc/hosts file.
3. Replace the IP(s) of the application server in $VOYENCE_HOME/web/conf/web.properties 4. Restart the services: service httpd start service tomcat start