把印章系統資料庫註冊到cwyy例項上的恢復目錄

ljm0211發表於2012-07-02
1、在印章系統資料庫環境下登入RMAN,同時要連線到要註冊的恢復目錄
[oraseal@ZJ-YZ01 admin]$ rman target / catalog rman/rman****@cwyy

Recovery Manager: Release 10.2.0.4.0 - Production on 星期三 3月 10 15:33:56 2010

Copyright (c) 1982, 2007, Oracle.  All rights reserved.

connected to target database: SEAL (DBID=1498033262)
connected to recovery catalog database

RMAN> register database;

database registered in recovery catalog
starting full resync of recovery catalog
full resync complete

RMAN>

2、驗證:在恢復目錄中以RMAN使用者登入執行以下查詢,可以看到以上註冊的資料庫的ID已經出現在查詢結果中。註冊成功。
select db_key,db_id from db

DB_KEY                             DB_ID
============================================
58                                        734179557                            
1                                         959537134                            
5448                                      1444078908                           
188888                                    1498033262                           

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/11411056/viewspace-734378/,如需轉載,請註明出處,否則將追究法律責任。

相關文章