Veritas Storage Foundation Intelligent Storage Provisioning 5.0 Solutions Guide, HP-UX 11i v3, First Edition, May 2008

32 Off-host processing solutions
Implementing off-host processing solutions
To resynchronize the snapshot volume’ s data with the primary database by
refreshing the snapshot plexes from the original volume
1 On the OHP host, shut down the replica database, and use the following
command to unmount the snapshot volume:
# 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 import snapvoldg
4 The snapshot volume is initially disabled following the join. Use the
following commands on the primary host to recover and restart the
snapshot volume:
# vxrecover -g
snapvoldg
-m
snapvol
# vxvol -g
snapvoldg
start
snapvol
5 On the primary host, reattach the snapshot volume to its original volume
using the following command:
# vxsnap -g
snapvoldg
reattach
snapvol
source=
vol
\
sourcedg=
volumedg
For example, to reattach the snapshot volumes svol1, svol2 and svol3:
# vxsnap -g sdg reattach svol1 \
source=vol1 sourcedg=dbasedg \
svol2 source=vol2 sourcedg=dbasedg \
svol3 source=vol3 sourcedg=dbasedg
You can use the vxsnap snapwait command to wait for synchronization of
the linked snapshot volume to complete:
# vxsnap -g
volumedg
snapwait
volume
mirvol=
snapvol
You can then resume the procedure from step 4 on page 31.