Vcdba_removedb – HP 3PAR Application Software Suite for Oracle User Manual

Page 148

Advertising
background image

6.34

Recovery Manager 3.0.3/3.0.4 for Oracle User’s Guide

COMMAND

vcdba_removedb

SYNTAX

vcdba_removedb -s <oracle_sid> -p <db_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 Oracle SID of the database instance. For Real Application Cluster (RAC) database, an

Oracle SID of any RAC instance can be specified.

-p <db_host>

The corresponding host name of the database host where the specified Oracle database

instance is running. The value of the database 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 Oracle SID of the clone database. If this option is not specified, the clone database will

have the same Oracle SID as the original database. If this option is specified along with

-o binary|for_backup

, the specified Oracle SID will be ignored.

Advertising
This manual is related to the following products: