Instructions to be performed when IP address of the MAIN server is changed.
In an Hierarchical setup the IP address of MAIN node must be given in all its Data Collector node during setup phase. When there is a change in IP address of MAIN Server, then all DC nodes needs to be updated. Below steps describes the instruction to be performed
Perform the below steps in all Data Collector nodes (DCN)
Update the setup parameter with new MainServer IP
You can skip this step if the Main has HA configuration and only the own IP address of the Main replicas has changed and the NLB address which is passed for parameter ANS_P_MAINSERVERIP in all DCN is still the same.
In an admin command window run below command to open the file setup_answers.bat in notepad. (don't double click to open this file)
notepad "%app_root%\setup\setup_answers.bat"
Modify the ANS_P_MAINSERVERIP parameter value with the new mainserver IP
Activate the PostInstall script with:
"%app_root%\config\featureinstall\APP_TimedTask_HierarchicalCpmPlusKM_activate_after.bat"
Either run the above command in an admin command prompt or restart RTDB-Scheduler service from windows service manager.
After a while, the local DatabaseNodes table should contain the updated IP address of the main computer (and replicas in case of HA configuration in Main).
The postinstall also re-configures the services that communicate with the main server and restarts them (CpmPlusKM-OpcDaServer and CpmPlusKM-OpcHdaServer).
Updated 5 months ago
