372Configuring off-host processing

Implementing off-host processing solutions

Note: If the volume was created under VxVM 4.0 or a later release, and it is not associated with a new-style DCO object and DCO volume, follow the procedure described in Preparing a volume for DRL and instant snapshots” on page 275.

If the volume was created before release 4.0 of VxVM, and has any attached snapshot plexes, or is associated with any snapshot volumes, follow the procedure given in Upgrading existing volumes to use version 20 DCOs” on page 279.

2Use the following command on the primary host to check whether FastResync is enabled on the volume:

#vxprint -g volumedg -F%fastresync volume

This command returns on if FastResync is enabled; otherwise, it returns off.

If FastResync is disabled, enable it using the following command on the primary host:

#vxvol -g volumedg set fastresync=on volume

3On the primary host, create a new volume in a separate disk group for use as the snapshot volume as described in Creating a volume for use as a full- sized instant or linked break-off snapshot” on page 323. It is recommended that a snapshot disk group is dedicated to maintaining only those disks that are used for off-host processing.

4On the primary host, link the snapshot volume in the snapshot disk group to the data volume:

#vxsnap -g volumedg -b addmir volume mirvol=snapvol \ mirdg=snapvoldg

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 \ mirdg=snapvoldg

Note: This step sets up the snapshot volumes. When you are ready to create a backup, proceed to step 5.

5On the primary host, suspend updates to the volume that contains the database tables. A database may have a hot backup mode that allows you to do this by temporarily suspending writes to its tables.

6Create the snapshot volume, snapvol, by running the following command on the primary host:

#vxsnap -g volumedg make \

source=volume/snapvol=snapvol/snapdg=snapvoldg