Veritas Storage Foundation 5.1 SP1 Advanced Features Administrator"s Guide (5900-1503, April 2011)
Resynchronizing the data with the primary host
This procedure describes how to resynchronize the data in a snapshot with the
primary host.
To resynchronize a snapshot with the primary database
1
On the OHP host, shut down the replica database, and use the following
command to unmount each of the snapshot volumes:
# umount mount_point
2
On the OHP host, use the following command to deport the snapshot volume’s
disk group:
# vxdg deport snapvoldg
3
On the primary host, re-import the snapshot volume’s disk group using the
following command:
# vxdg [-s] import snapvoldg
Note: Specify the -s option if you are reimporting the disk group to be rejoined
with a shared disk group in a cluster.
4
On the primary host, use the following command to rejoin the snapshot
volume’s disk group with the original volume’s disk group:
# vxdg join snapvoldg
volumedg
5
VxVM will recover the volumes automatically after the join unless it is set
not to recover automatically. Check if the snapshot volumes are initially
disabled and not recovered following the join.
If a volume is in the DISABLED state, use the following command on the
primary host to recover and restart the snapshot volume:
# vxrecover -g volumedg -m snapvol
6
Use the steps in Creating an off-host replica database to to resynchronize the
snapshot and make the snapshot available at OHP host again.
The snapshots are now ready to be re-used for backup or for other decision
support applications.
191Decision support
Creating an off-host replica database