RMAN pada defaultnya menggunakan control file dari target database sebagai catalog. Namun catalog dari RMAN dapat diletakkan pada database terpisah yang fungsinya khusus sebagai catalog RMAN. Berikut ini langkah-langkah dalam membuat catalog database tersebut.
=======================
SETTING RMAN CATALOG
=======================
1. create catalog database (mis: catdb)
2. login ke catalog database
c:\sqlplus sys/oracle@catdb as sysdba
3. create tablespace buat catalog tablespace
SQLPLUS> create tablespace rcat_ts datafile
'D:\oracle\product\10.2.0\oradata\catdb\rcat_ts.dbf'
size 100m autoextend on next 10m maxsize unlimited
permanent logging extent management local
autoallocate segment space management auto flashback on;
4. create user rman
SQLPLUS> create user rman identified by oracle default
tablespace rcat_ts temporary tablespace
temp quota unlimited on rcat_ts;
SQLPLUS> grant resource to rman;
SQLPLUS> grant create session to rman;
SQLPLUS> grant connect to rman;
5. grant role recovery_catalog owner ke user rman
SQLPLUS> grant recovery_catalog_owner to rman;
6. start RMAN dan log in sebagai catalog owner
C:\rman catalog rman/oracle@catdb
RMAN> CREATE CATALOG TABLESPACE rcat_ts;
7. connect ke database target dan register db tsb ke
recovery catalog.
C:\rman target sys/oracle@dgcoba catalog rman/oracle@catdb
RMAN> register database;
Setting RMAN Catalog
Langganan:
Posting Komentar (Atom)
0 komentar:
Posting Komentar