Ario's Weblog

Mei 13, 2010

Setting RMAN Catalog

Filed under: Backup & Recovery — javora @ 8:47 am

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.

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
         2  'D:\oracle\product\10.2.0\oradata\catdb\rcat_ts.dbf'
         3  size 100m autoextend on next 10m maxsize unlimited
         4  permanent logging extent management local
         5  autoallocate segment space management auto flashback on; 

4. create user rman
   SQLPLUS> create user rman identified by oracle default
         2  tablespace rcat_ts temporary tablespace
         3  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;

Tinggalkan sebuah Komentar »

Belum ada komentar.

RSS umpan untuk komentar-komentar dalam tulisan ini. URI Lacak Balik

Tinggalkan Balasan

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

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Ubah )

Twitter picture

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

Facebook photo

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

Connecting to %s

Theme: Rubric. Blog pada WordPress.com.

Ikuti

Get every new post delivered to your Inbox.