HP StoreServ Application Suite for Oracle Media manual Vcdbaremovedb

Models: StoreServ Application Suite for Oracle Media

1 184
Download 184 pages 48.7 Kb
Page 136
Image 136

Recovery Manager for Oracle User’s Guide

COMMAND

vcdba_removedb

SYNOPSIS

vcdba_removedb -s <oracle_sid> -p <primary_host> -t <timestamp> [-n <clone_sid>] [-h <clone_oracle_home>] [-f] [-v]

DESCRIPTION

The vcdba_removedb command removes a clone database that was created using the vcdba_createdb command.

The clone database is shutdown with the shutdown immediate option. All files (Oracle parameter file, control files, and redo logs), previously created with the vcdba_createdb command are removed. The virtual copy remains mounted.

You must run this command as a super user from the backup host. To allow the Oracle Database Administrator (Oracle Owner) to run this command, an identical Oracle Database Administrator user must exist on backup host. In addition, permission on the 3PAR Recovery Manager Installation and Repository directories must be changed appropriately.

OPTIONS

The following options are supported:

-s <oracle_sid> - The instance SID of the primary database. For an RAC database, any instance SID can be specified.

-p <primary_host> - The corresponding host name of the primary host where the specified Oracle database instance is running. The value of the primary host name must match the output of the hostname command.

-t <timestamp> - The timestamp of a virtual copy that was previously used to create the clone database.

-n <clone_sid> - The instance ID of the cloned database to be removed. If the clone database uses the same <oracle_sid> as the primary <oracle_sid>, this option can be omitted.

6.28

Command

Page 136
Image 136
HP StoreServ Application Suite for Oracle Media manual Vcdbaremovedb