Change the IP address of NCM servers
search cancel

Change the IP address of NCM servers

book

Article ID: 331271

calendar_today

Updated On:

Products

VMware Smart Assurance

Issue/Introduction

Provide steps to change the IP address of a Smarts NCM Application Server(AS), Device Server(DS), and/or Reporting Server.



Environment

NCM 10.x

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 following file:

    /etc/hosts 

     

  3. Replace the IP(s) in the application server and the reporting server in the following file:

    $VOYENCE_HOME/ncmcore/webapps/voyence/powerup.jnlp 

     

    For example:

    <property name="jnlp.server_ip" value="NEW IP"/>

     

  4. Run commands:
    source /etc/voyence.conf
    cd $VOYENCE_HOME/cgi-bin

     

  5.  Run the 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 the output file and replace the IP address(es) of the device server(s)
  7. Run the command:
    ./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 file:
    /etc/hosts

     

  3. Replace the IP(s) of the application server in:
    $VOYENCE_HOME/data/devserver/master.addr

     

  4. Remove the .rhttps under the following directory:
    $VOYENCE_HOME/data 

     

  5. Restart the services using the following command:
    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 following file:
    /etc/hosts 

     

  3. Replace the IP(s) of the application server in the following file:
    $VOYENCE_HOME/web/conf/web.properties

     

  4. Restart the services:
    service httpd start
    service tomcat start