Procedure to change the hostname of Data Insight nodes in a multi-tier environment

book

Article ID: 100023702

calendar_today

Updated On:

Resolution

Follow this procedure to change the hostname and IP address of a Data Insight multi-tier environment.

1. Stop SDI on all nodes.
# net stop DataInsightWeb
# net stop DataInsightComm
# net stop DataInsightConfig
# net stop DataInsightFpolicy

2. On the Management Server, create a backup copy of the Data folder.
default location: C:\DataInsight\data

3. Edit nodename.conf and replace the host name with the new host name.
default location: C:\DataInsight\data\conf\nodename.conf


4. Create a backup copy of the config.db

default location: C:\DataInsight\data\conf\config.db.N

Note: (N being the latest config.db version)
 
5. Open config.db.N in sqlite3.exe or your SQLITE editor of choice and update “node” table with updated host names and IP addresses of all nodes.

Note: Leave the quote marks in the command.
sqlite>update node set node_name="new node name" where node_name="old node name";

sqlite>update node set node_ip="new node name" where node_ip="old node name";

6. Save the updated config.db.N file
sqlite> .save config.db.N

7. Open a Windows command prompt and run the following command to increment the version of the config.db file.
\DataInsight\bin\configdb -O -J inc_conf -j inc_conf

8. Log into all nodes that have a new hostname and update the nodename.conf as documented in Step 3.

9. On the MS, start all Data Insight services from Services Control Panel.

10. Start all Data Insight services from Services Control Panel on the reminder of Data Insight nodes.

Issue/Introduction

This article contains a procedure to change the hostname and IP address of a Data Insight multi-tier environment.