Smarts NCM: How to change the server hostnames in Smarts NCM 9.3 and NCM 9.4
search cancel

Smarts NCM: How to change the server hostnames in Smarts NCM 9.3 and NCM 9.4

book

Article ID: 331332

calendar_today

Updated On:

Products

VMware Smart Assurance

Environment

VMware Smart Assurance - NCM

Resolution

Login to the server as a root or administrator user and perform the following steps.

Application Server steps:
  • Update the hostname and FQDN name in /etc/hosts file.
  • Update the hostname in /etc/sysconfig/network file.
  • **NCM 9.4 Series Only** Update the hostname in the $VOYENCE_HOME/ncmcore/webapps/ncm-webapp/WEB-INF/classes/config.properties
  • At the command line, type the following commands:
  1. hostname <<new hostname>>
  2. source /etc/voyence.conf
  • Export the infrastructure database:
  1. cd $VOYENCE_HOME/cgi-bin
  2. ./cflist.cgi > output
  • Edit (using vi) the output file and change the hostname in the following line:
  1. POP 1000 "New_Hostname" NetList=
  • Save and quit.
  • Run the following command to re-import the infrastructure DB: 
  • ./cfwrite.cgi < output
  • Remove the $VOYENCE_HOME/data/.rhttp file:
  1. cd $VOYENCE_HOME/data 
  2. rm -rf .rhttp*
  3. service httpd restart

Device Server(s) steps:
  • Remove the $VOYENCE_HOME/data/.rhttp file:
  1. rm -rf .rhttp*
  2. service httpd restart

Combination Server steps:
  • Update the hostname and FQDN name in /etc/hosts file.
  • Update the hostname in the /etc/sysconfig/network file
  • **NCM 9.4 Series Only** Update the hostname in the $VOYENCE_HOME/ncmcore/webapps/ncm-webapp/WEB-INF/classes/config.properties
  • At the command line, type the following commands:
  1. hostname <<new hostname>>
  2. source /etc/voyence.conf
  • Export the infrastructure database:
  1. cd $VOYENCE_HOME/cgi-bin
  2. ./cflist.cgi > output
  • Edit (using vi) the output file and change the hostname in the following line:
  1. POP 1000 "New_Hostname" NetList=
  • Save and quit.
  • Run the following command to re-import the infrastructure DB: 
  • ./cfwrite.cgi < output
  • Remove the $VOYENCE_HOME/data/.rhttp file:
  1. cd $VOYENCE_HOME/data 
  2. rm -rf .rhttp*
  3. service httpd restart
You then need to add the new hostname to the lockbox on the AS side and copy the file to DS machine.

For details on working with the lockbox, please find KB article here:

https://support.emc.com/kb/165258