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

Page 70

Advertising
background image

rmora_export

SYNTAX

rmora_export -s <oracle_sid> -p <db_server> -t <timestamp> -r

<alt_backup_server> -e <alt_tpdusername> [-l <alt_tpdhost>] [-v]

DESCRIPTION

The rmora_export command exports a virtual copy's repository from the current backup server
to an alternate backup server. The exported virtual copy can then be mounted or cloned at the
alternate backup server. A virtual copy's repository can be exported to multiple alternate backup
servers, which share the same HP 3PAR storage system as the original backup server. A virtual
copy can only be mounted on one backup server at a time.

The first time a virtual copy repository is exported to an alternate backup server, the rmora_export
command also copies the Recovery Manager for Oracle configuration file from the current backup
server to the alternate backup server.

The rmora_export command also modifies configuration parameters according to the values
specified in the arguments for alt_tpdhost and alt_tpdusername.

If the rmora_export command is invoked by an Oracle DBA, an identical Oracle owner user
must exist on the alternate backup server.

SSH must be configured to allow accessing from the current backup server to the alternate backup
server as well as from the alternate backup server to the HP 3PAR storage system.

You must run this command as a super user or Oracle owner user from the backup server. To allow
the Oracle Database Administrator to run this command, an identical Oracle Database Administrator
user must exist on alternate backup server. In addition, permission on the /opt/3PAR/RMOra
directory 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_server>

The corresponding host name of the database server where the specified Oracle database instance
is running. The value of the database server name must match the output of the hostname
command.

-t <timestamp>

The timestamp of a virtual copy. It is also the name of the virtual copy. The virtual copy name can
be obtained using the rmora_display command.

-r <alt_backup_server>

The alternate backup server name.

-l <alt_tpdhost>

The <alt_tpdhost> hostname is the hostname defined on the HP 3PAR storage system, which
represents the alternate backup server. The InForm CLI showhost command lists all available TPD
host names.

-e alt_tpdusername

The HP 3PAR storage system username that will be used by Recovery Manager for Oracle to
connect to the HP 3PAR storage system from the alternate backup server. The HP 3PAR storage

70

Using the Recovery Manager Command Line Interface

Advertising