How to change the IP addresses of Primary and Standby hosts with existing Standby configuration.

Follow

Read our docs The steps in this article will show you how to change the IP addresses of the Primary and Standby hosts with an existing Standby configuration running.

Note this applies if you are making use of IP addresses in the config files.


Problem Details

Problem Statement

What is the correct process to follow when changing IP addresses of Primary and Standby hosts with an existing Standby configuration?

Applicable Error Code

N/A

Affected Versions

v8

Affected Platforms

All

 
Description

How to change the IP addresses of the Primary and Standby hosts with an existing Standby configuration, please make sure the following are done:

Note this applies if you are making use of IP addresses in the config files.

Solution
  1. Backup the $DBVISIT_BASE directory on Primary and Standby hosts.
  2. Stop the Dbvisit processes on Primary and Standby hosts.
  3. Ensure /etc/hosts have IP changes reflected on both hosts.
  4. Update the .conf files (dbvnet, dbvagent, dbvserver) and the dbv_<hostname>.cmd, where the IP's have changed on both hosts.
  5. Remove all directories called /tmp/pdk-*
  6. Start the Dbvisit processes on Primary and Standby hosts.
  7. Update the DDC file on the Primary host if IP Addresses were used for SOURCE and DESTINATION. 
  8. Change the Host resolution files (they may not exist):
    $DBVISIT_BASE\standby\dbvhost_*
  9. Run dbvctl -d <DDC> -c on Primary to copy the updated DDC to the Standby host. 
  10. Continue with normal operations.

 

Have more questions? Submit a request

Comments