VERITAS FlashSnap Point-In-Time-Copy Solutions Administrator's Guide

Creating an Off-Host Replica Database
56 VERITAS FlashSnap Point-In-Time Copy Solutions Administrators Guide
For example, to wait for synchronization to finish for all the snapshots svol1, svol2 and
svol3, you would issue three separate commands:
# vxsnap -g dbasedg syncwait svol1
# vxsnap -g dbasedg syncwait svol2
# vxsnap -g dbasedg syncwait svol3
Note You cannot move a snapshot volume into a different disk group until synchronization of
its contents is complete. You can use the vxsnap print command to check on the
progress of synchronization.
7. On the primary host, use the following command to split the disks containing the snapshot
volumes into a separate disk group, snapvoldg, from the original disk group, volumedg:
# vxdg split volumedg snapvoldg snapvol ...
8. On the primary host, deport the snapshot volume’s disk group using the following command:
# vxdg deport snapvoldg
9. On the OHP host where the replica database is to be set up, use the following command to
import the snapshot volume’s disk group:
# vxdg import snapvoldg
10. The snapshot volumes are initially disabled following the split. Use the following commands
on the OHP host to recover and restart the snapshot volumes:
# vxrecover -g snapvoldg -m snapvol ...
# vxvol -g snapvoldg start snapvol ...
11. On the OHP host, for each snapshot volume containing tablespaces, check the file system that
it contains, and mount the volume using the following commands:
# fsck -F vxfs /dev/vx/rdsk/diskgroup/snapvol
# mount -F vxfs /dev/vx/dsk/diskgroup/snapvol mount_point
Note On Linux, use the -t option, and on AIX, use the -V option, instead of the -F option
for both commands.
For example, to check the file system in the snapshot volume snap1_dbase_vol, and
mount it on /rep/dbase_vol:
# fsck -F vxfs /dev/vx/rdsk/dbasedg/snap1_dbase_vol
# mount -F vxfs /dev/vx/dsk/dbasedg/snap1_dbase_vol \
/rep/dbase_vol