The examples in this section explain how to use Veritas Volume Replicator (VVR) to set up a simple VVR configuration under different situations. The examples explain how to set up a VVR configuration with one Secondary and hence one RLINK; however, VVR enables you to configure and set up configurations with multiple Secondaries. The examples give the steps to replicate from the Primary host seattle to the Secondary host london.
Unless otherwise noted, the following assumptions apply to all the examples in this section:
The network connection between the Primary site london and the Secondary site seattle is active.
The Primary and the Secondary have a disk group named hrdg with enough free space to create the VVR objects mentioned in the examples.
Examples 1-5 assume that the Primary data volumes have been set up and contain data.
The /etc/vx/vras/.rdg file on the Secondary host contains the Primary diskgroup ID. Ensure that each disk group ID entry in the .rdg file appears on a separate line. A Secondary can be added to an RDS only if the /etc/vx/vras/.rdg file on the Secondary host contains the Primary disk group ID. You can enter the following command to ensure that all disk groups are automatically added to the /etc/vx/vras.rdg file:
echo "+" >> /etc/vx/vras.rdg
Use the vxprint -l diskgroup command to display the disk group ID of the disk group hrdg, which is being used.
Consider the following in each example:
In the examples, each data volume is 4 GB; the Primary and Secondary SRL are 4 GB each.