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

31Off-host processing solutions
Implementing off-host processing solutions
This step sets up the snapshot volumes, and starts tracking changes to the
original volumes. When you are ready to create a replica database, proceed
to step 4.
4 On the primary host, suspend updates to the volume that contains the
database tables. The database may have a hot backup mode that allows you
to do this by temporarily suspending writes to its tables. For example, Oracle
supports online backup by temporarily suspending updates to the datafiles
of the tablespaces, provided that the database is running in archive mode
and the tablespaces are online. As the Oracle database administrator, put
each tablespace into hot backup mode.
5 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
This step sets up the snapshot volumes ready for the backup cycle, and
starts tracking changes to the original volumes.
6 On the primary host, if you temporarily suspended updates to the volume by
a database in step 4, release all the tables from hot backup mode.
7 On the primary host, deport the snapshot volume’s disk group using the
following command:
# vxdg deport snapvoldg
8 On the OHP host where the replica database is to be set up, use the following
command to import the snapshot volume’s disk group:
# vxdg import snapvoldg
9 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
10 On the OHP host, check and mount the snapshot 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
11 On the OHP host, use the appropriate database commands to recover and
start the replica database for its decision support role.