Veritas Storage Foundation 5.0 for Oracle RAC Configuration Guide Extracts for HP Serviceguard Storage Management Suite, Second Edition, May 2008

Using Storage Checkpoints and Storage Rollback
Examples of Using the Command Line Interface
Chapter 4
55
To update the repository
•Use the dbed_update command as follows:
$ /opt/VRTS/bin/dbed_update -S PROD -H /oracle/product/10g
To view the status of the repository
•Use the dbed_update command with the -n option as follows:
$ /opt/VRTS/bin/dbed_update -S PROD -H /oracle/product/10g -n
Repository is up to date.
Creating Storage Checkpoints Using dbed_ckptcreate
You can use the dbed_ckptcreate command to create a Storage Checkpoint from the
command line.
Storage Checkpoints can be either online, offline, or instant. By default, Storage
Checkpoints are offline. If online is specified, the database is put into hot-backup mode
when the Storage Checkpoint is created. If offline is specified, the database is expected
to be down. If instant is specified, the database must be online and a Storage Checkpoint
will be taken for a “crash recovery”-type Storage Rollback.
Before creating a Storage Checkpoint, the following conditions must be met:
To create Storage Checkpoints while the database is online
Table 4-4 Repository Using dbed_update Notes
Prerequisites You must be logged on as the database administrator (typically, the
user ID oracle).
Usage notes The dbed_update command creates a repository in the
/etc/vx/vxdbed/$ORACLE_SID directory where information used by
SG Oracle RAC is kept. If the repository already exists, the command
will refresh the information.
The database must be up and running, and the ORACLE_SID and
the ORACLE_HOME variable arguments must be specified with the
-S and -H options, respectively.
See the dbed_update(1M) manual page for more information.
Table 4-5 Create Storage Checkpoint Notes
Prerequisites You must be logged on as the database administrator (typically, the
user ID oracle).
For best recoverability, always keep ARCHIVELOG mode enabled
when you create Storage Checkpoints.
Usage notes dbed_ckptcreate stores Storage Checkpoint information under the
following directory:
/etc/vx/vxdbed/$ORACLE_SID/checkpoint_dir
See the dbed_ckptcreate(1M) manual page for more information.