The examples in this section explain how to use 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:
All VVR processes are running.
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 disk group 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.
Configuration Considerations:
Consider the following in each example:
The data volumes on the Secondary must have the same names and sizes as the data volumes on the Primary.
The name of the Storage Replicator Log (SRL) on the Secondary must be the same as the name of the SRL on the Primary.
The SRL must be created on disks that do not have other volumes on them.
The data volumes and SRL must be mirrored.
In the examples, each data volume is 4 GB; the Primary and Secondary SRL are 4 GB each.
The examples in this chapter use the following names:
Primary Hostname: seattle
hrdg |
Disk group |
hr_rvg |
Primary RVG |
rlk_london_hr_rvg |
Primary RLINK to Secondary london |
hr_dv01 |
Primary data volume #1 |
hr_dv02 |
Primary data volume #2 |
hr_srl |
Primary SRL volume |
Secondary Hostname: london