We're here to help!

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

Follow

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

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


Problem Details

Problem Statement

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

Applicable Error Code

N/A

Affected Versions

v8, v9

Affected Platforms

All

 
Description

How to change the Hostnames 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 Hostnames in the config files.

Solution
 
1. VERY IMPORTANT: Backup $DBVISIT_BASE directory on Primary and Standby, ensure to make a backup copy of the DDC file .env and the repository file  .db
2. Remove the DDC from the GUI console
3. Remove the Hosts from the GUI console
4. Stop Dbvisit processes/components on Primary and Standby.
5. Ensure /etc/hosts have new resolvable hostnames reflected on both hosts.
6. Change the listener_address and remote_address in dbvnet.conf.
7. Change the listener_address in dbvagent.conf.
8. If you have installed dbvserver on one of these servers which are about to change. You have to
     change listener_address and public_address in dbvserver.conf as well.
9. Change the DDC file entries for the following on Primary only
       a. change SOURCE and DESTINATION parameters with the new values.
       b. Make sure the ARCHSOURCE/ARCHDEST locations are available..

10. Edit the file $DBVISIT_BASE/standby/dbvhost_<DDC>.sh file and change it to the correct Hostname.
11. Start all Dbvisit processes
12. Add the new Hosts in GUI console
13. Import DDC in GUI console
14. Run ./dbvctl -d <DDC> -c from Primary to copy DDC to Standby
15. Refresh the repository, by running dbvctl with -R option the first time from Primary,
      example: ./dbvctl -d <DDC> -R
 
 
Have more questions? Submit a request

Comments