==========================
--rman Create catalog Database
==========================
[Oracle@l-db-128-36 bin]$ Sqlplus/as SYSDBA
Sql*plus:release 10.2.0.4.0-production on Wednesday March 9 15:32:00 2011
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition release 10.2.0.4.0-64bit Production
With the partitioning, OLAP, Data Mining and real application testing options
--Create a table space
sql> Create tablespace Rman_catalog;
Tablespace created.
--Create a user and authorize
Sql> create user Rman identified by rman default tablespace rman_catalog temporary tablespace temp;
Grant Connect,resource,create Session,recovery_catalog_owner to Rman;
User created.
Sql>
Grant succeeded.
Sql>
Sql>
Sql>
Sql> exit
Disconnected from Oracle Database 10g Enterprise Edition release 10.2.0.4.0-64bit Production
With the partitioning, OLAP, Data Mining and real application testing options
--Register Database
[Oracle@l-db-128-36 bin]$ Rman
Recovery manager:release 10.2.0.4.0-production on Wednesday March 9 15:35:18 2011
Copyright (c) 1982, 2007, Oracle. All rights reserved.
rman> Connect catalog Rman/rman@zjport;
Connected to Recovery Catalog database
rman> Register database;
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR message STACK follows ===============
RMAN-00571: ===========================================================
Rman-03002:failure of the Register command at 03/09/2011 15:35:48
Rman-06428:recovery Catalog is not installed
rman> Create catalog Tablespace rman_catalog;
Recovery Catalog Created