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

29Off-host processing solutions
Implementing off-host processing solutions
4 Create the snapshot volume, snapvol, by running the following command on
the primary host:
# vxsnap -g
volumedg
make \
source=
volume
/snapvol=
snapvol
/snapdg=
snapvoldg
If a database spans more than one volume, you can specify all the volumes
and their snapshot volumes using one command, as shown in this example:
# vxsnap -g dbasedg make \
source=vol1/snapvol=snapvol1/snapdg=sdg \
source=vol2/snapvol=snapvol2/snapdg=sdg \
source=vol3/snapvol=snapvol3/snapdg=sdg
5 On the primary host, if you temporarily suspended updates to the volume by
a database in step 3, release all the tables from hot backup mode.
6 On the primary host, deport the snapshot volume’s disk group using the
following command:
# vxdg deport snapvoldg
7 On the OHP host where the backup is to be performed, use the following
command to import the snapshot volume’s disk group:
# vxdg import snapvoldg
8 The snapshot volume is initially disabled following the join. Use the
following commands on the OHP host to recover and restart the snapshot
volume:
# vxrecover -g
snapvoldg
-m
snapvol
# vxvol -g
snapvoldg
start
snapvol
9 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
10 On the OHP host, use the following command to deport the snapshot
volume’s disk group:
# vxdg deport snapvoldg
11 On the primary host, re-import the snapshot volume’s disk group using the
following command:
# vxdg import snapvoldg
12 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