How to register a new database with RMAN recovery catalog

Change SID to the database you want to register
. oraenv
Connect to RMAN catalog database
rman target / catalog username/password@REG
Register database
RMAN> register database;


[oracle@rac2 bin]$ . oraenv
ORACLE_SID = [anar] ? anar
The Oracle base for ORACLE_HOME=/u01/app/oracle/product/11.1.0/db_1 is /u01/app/oracle
[oracle@rac2 bin]$ rman target / catalog test/test@REG;
Recovery Manager: Release - Production on Thu Oct 18 10:32:15 2014
Copyright (c) 1982, 2007, Oracle. All rights reserved.
connected to target database: anar (DBID=2484479252)
connected to recovery catalog database
RMAN> register database;
database registered in recovery catalog
starting full resync of recovery catalog
full resync complete

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: