Veritas Volume Manager 5.0 Administrator's Guide (September 2006)

365Configuring off-host processing
Implementing off-host processing solutions
11 On the OHP host, back up the snapshot volume. If you need to remount the file
system in the volume to back it up, first run
fsck on the volume. The following are
sample commands for checking and mounting a file system:
# fsck -F vxfs /dev/vx/rdsk/snapvoldg/snapvol
# mount -F vxfs /dev/vx/dsk/snapvoldg/snapvol mount_point
Back up the file system at this point, and then use the following command to
unmount it.
# umount mount_point
12 On the OHP host, use the following command to deport the snapshot volume’s disk
group:
# vxdg deport snapvoldg
13 On the primary host, re-import the snapshot volume’s disk group using the following
command:
# vxdg import snapvoldg
14 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
15 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
Repeat step 5 through step 15 each time that you need to back up the volume.
Implementing decision support
This section describes a procedure for implementing off-host decision support for a
volume in a private disk group. The intention is to present an outline of how to set up a
replica database. It is beyond the scope of this guide to describe how to configure a
database to use this procedure.