Move Dbvserver to a new host.

Follow

Read our docs This article explains how to move dbvserver to a new host, with all the existing configurations.

Problem Statement

Move dbvserver to new host.

Applicable Error Code

N/A

Affected Versions

Dbvisit Standby Version 8.0,9.0 and 10.0

Affected Platforms

Platform Independent.

 
Description

 Below are the steps to move the Dbvserver to a new host. 

 For this example i am moving the Dbvserver from host kiwi704 to kiwi702. The new host which you are moving to, should be able to recognise and ping the primary and standby hosts , so that the dbvagents can recognise them as soon as you start the dbvserver in the new host.
 
Steps Performed

1. Stop the dbvserver in old host kiwi704. 


[oracle@kiwi704 /usr/dbvisit/dbvserver]$ ./dbvserver -d stop
dbvserver stops, pid: 1578

2. Install dbvserver in new host kiwi702.



-----------------------------------------------------------
    Summary of the Dbvisit DBVSERVER configuration
-----------------------------------------------------------
    DBVISIT_BASE /usr/dbvisit
    DBVSERVER_LOCAL_HOST kiwi702
    DBVSERVER_LOCAL_PORT 4433

    Press ENTER to continue

-----------------------------------------------------------
    About to install Dbvisit DBVSERVER
-----------------------------------------------------------
    Component dbvserver installed.

3. Copy the dbvserver.db file from the old host to the new host in the location $DBVISIT_BASE/dbvserver/conf directory. (Take a backup of the existing file).


[oracle@kiwi702 /usr/dbvisit/dbvserver/conf]$ ls -lrt
total 68
-rw-r--r-- 1 oracle oinstall   324 Aug  9 12:39 dbvserver.conf
-rw-r--r-- 1 oracle oinstall 65536 Aug  9 12:39 dbvserver.db
[oracle@kiwi702 /usr/dbvisit/dbvserver/conf]$ mv dbvserver.db dbvserver.db.back
[oracle@kiwi702 /usr/dbvisit/dbvserver/conf]$ scp oracle@kiwi704:/usr/dbvisit/dbvserver/conf/dbvserver.db .
oracle@kiwi704's password:
dbvserver.db                                                                                                                                  100%  192KB 192.0KB/s   00:00

4. Start the dbvserver in the new host kiwi702.


[oracle@kiwi702 /usr/dbvisit/dbvserver]$ ./dbvserver -d start
[oracle@kiwi702 /usr/dbvisit/dbvserver]$ ./dbvserver -d status
dbvserver is running with pid: 2678
[oracle@kiwi702 /usr/dbvisit/dbvserver]$

5. Login to the browser and check if the configurations are seen and the agents are up and running.

Screen_Shot_2017-08-09_at_1.04.10_pm.png

You should be able to see all your tasks and the hosts and configurations. After checking the configurations, you can un-install the dbvserver in the old host.

Have more questions? Submit a request

Comments

  • Avatar
    Read Only

    on new site all hosts must be available with the same host names as on old one