Configuring off-host processing

Implementing off-host processing solutions

373

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.

7On the primary host, if you temporarily suspended updates to a volume in step 5, release all the database tables from hot backup mode.

8On the primary host, deport the snapshot volume’s disk group using the following command:

#vxdg deport snapvoldg

9On 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

10The snapshot volume is initially disabled following the join. Use the following commands on the OHP host to recover and restart the snapshot volume:

#vxrecover -gsnapvoldg -msnapvol

#vxvol -gsnapvoldg start snapvol

11On 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

12On the OHP host, use the following command to deport the snapshot volume’s disk group:

#vxdg deport snapvoldg

13On the primary host, re-import the snapshot volume’s disk group using the following command:

#vxdg import snapvoldg

14The snapshot volume is initially disabled following the join. Use the following command on the primary host to recover and restart the snapshot volume:

#vxrecover -gsnapvoldg -msnapvol

15On the primary host, reattach the snapshot volume to its original volume using the following command:

Page 372
Image 372
HP Veritas Volume Manager 5.0 -UX 11i v3 manual # vxdg deport snapvoldg, # vxdg import snapvoldg