HP (Hewlett-Packard) HP-UX 11i v3 Landscape Lighting User Manual


 
373Configuring off-host processing
Implementing off-host processing solutions
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
This step sets up the snapshot volumes ready for the backup cycle, and
starts tracking changes to the original volumes.
7 On the primary host, if you temporarily suspended updates to a volume in
step 5, release all the database tables from hot backup mode.
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 backup is to be performed, use the following
command to import the snapshot volume’s disk group:
# vxdg import snapvoldg
10 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
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 command on the primary host to recover and restart the snapshot
volume:
# vxrecover -g snapvoldg -m snapvol
15 On the primary host, reattach the snapshot volume to its original volume
using the following command: