Table of Contents |
---|
Dbvisit Standby version 7 is making use of a new directory structure in comparison to the previous version 5 and 6. The default location on Linux for version 5 and 6 was /usr/local/dbvisit but in version 7 the default location changed to /usr/dbvisit. You can however still install version 7 into any other custom location, example /opt/dbvisit. It is recommended not to install Dbvisit Standby in the home directory of the oracle Unix account (/home/oracle).
...
Note |
---|
Before you continue with the next step you need to make sure you follow Step 1 to 5 above on all the servers in the standby configuration. When doing this, it is important to make sure the Dbvnet password provided during installation is the same on all the servers where you are installing Dbvnet. This password is used for secure communication and if different passwords are used between the primary and standby servers, you will not be able to establish a connection between these servers using Dbvnet. |
Align | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Dbvisit Standby considerations with RACThe Dbvisit Standby Database Configuration file (DDC) created during the setup on each node will have the name of the instance and not the name of the database (dbv_oracle_instance.env).
Dbvisit Standby RAC TakeoverIf a RAC node fails and is unavailable, then Dbvisit Standby on another RAC node can automatically take over the log shipment from the failed node. The Dbvisit Standby RAC Takeover is controlled by the following variables in the dbv{_}oracle_instance.env file:
RAC_TAKEOVER:
RAC_TAKEOVER_FORCE:
RAC_TAKEOVER_SID
Example - 2 Node Primary RAC configuration If the RAC setup contains 2 nodes (racnode1, racnode2) with instance names RACDB1 and RACDB2, then:
Example - 3 Node Primary RAC Configuration The RAC_TAKEOVER_SID is not too different with a 3 node set up, as for a 2, and you just specify the next node in the sequence in a rolling/circular fashion. So, if the RAC setup contains 3 nodes (racnode1, racnode2, racnode3) with instance names RACDB1, RACDB2 and RACDB3 then:
|
...
- To perform a basic status check which confirms that the primary and standby server can communicate using Dbvnet:
- dbvnet-test [-s|--status] SERVER[:PORT]
- To perform a more detail check, testing network connectivity, you can run the following:
- dbvnet-test [-f|--fulltest] SERVER–fulltest] TMPDIR SERVER:PORT
In the example below, dbvrlin301 is a primary server and dbvrlin305 is the single instance standby server. Dbvisit Standby was installed using default values and no additional configuration has been performed at this stage. Dbvnet and Dbvserver is running on both nodes, but only Dbvnet is required and used for these tests:
...
Code Block | ||
---|---|---|
| ||
oracle@dbvrlin301[/usr/dbvisit/dbvnet]: ./dbvnet-test -f /tmp dbvrlin305:7890
>>> Determining Dbvnet status on server dbvrlin305:7890...
Dbvnet on server dbvrlin305:7890 is running.
>>> Running file transfer round trip on server dbvrlin305:7890...
Creating file '/tmp/dbvnet-test.tmp' containing 10 MB of data... - done.
> Transferring 'dbvnet-test.tmp' to server dbvrlin305:7890
Progress: 0%...20%...40%...60%...80%...100% [2609 KB/s] - done.
> Retrieving file "dbvnet-test.tmp" from server dbvrlin305:7890
Progress: 0%...20%...40%...60%...80%...100% [4599 KB/s] - done.
Comparing checksums: all three checksums (local/remote/local) are identical. File
transfer round trip finished successfully. |
...