Veritas FlashSnap Point-In-Time Copy Solutions 5.0.1 Administrators Guide, HP-UX 11i v3, First Edition, November 2009
If the replica DB2 database is to be rolled forward (the primary must have
been placed in LOGRETAIN RECOVERY mode before the snapshot was
taken), use the following commands to start it, and put it in roll-forward
pending state:
db2start
db2inidb database as standby
Obtain the latest log files from the primary database, and use the following
command to roll the replica database forward to the end of the logs:
db2 rollforward db database to end of logs
■ For an Oracle database, use a script such as that shown in the example.
See “Script to complete, recover and start a replica Oracle database”
on page 93.
(This script also creates the control file for the new database by executing
the SQL script that you created using the procedure in About preparing
a replica Oracle database.)
■ For a Sybase ASE database, use a script such as that shown in the example.
See “Script to start a replica Sybase ASE database” on page 94.
If you are using the warm standby method, specify the -q option to the
dataserver command. Use the following isql commands to load the dump
of the transaction log and put the database online:
load transaction from dump_device with standby_access
online database database_name for standby_access
If you are not using the warm standby method, use the following isql
command to recover the database, roll back any uncommitted transactions
to the time that the quiesce command was issued, and put the database
online:
online database database_name
Resynchronizing the data with the primary host
This procedure describes how to resynchronize the data in a snapshot with the
primary host.
Decision support
Creating an off-host replica database
74