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