Because the Primary data volumes are initialized with zeroes, the data on the Secondary node need not be synchronized with the Primary. However, we recommend that you zero initialize the Secondary data volumes.
To set up replication when data volumes are initialized with zeroes
# vxassist -g hrdg make hr_dv01 4G layout=mirror \ logtype=dcm mirror=2 init=zero disk01 disk02 # vxassist -g hrdg make hr_dv02 4G layout=mirror \ logtype=dcm mirror=2 init=zero disk03 disk04
# vxassist -g hrdg make hr_srl 4G mirror=2 disk05 disk06
# vradmin -g hrdg createpri hr_rvg hr_dv01,hr_dv02 hr_srl
# vradmin -g hrdg addsec hr_rvg seattle london
Note: |
Do not start the application or mount the file system before completing step 5. |
# vradmin -g hrdg -f startrep hr_rvg london
After completing this step, start the application.