[Oracle][Data Guard]Oracle11g Active Data Guard#2实战

[Oracle][Data Guard]Oracle11g Active Data Guard#2实战


11g建立过程大多和10g相同,利用rman duplicate快速建立physics standby是最佳选择,最大差异就是rman command

(前面建立过程可参考Oracle 10g DG第五章Create physical standby db by SQL+快速复制数据库-rman Duplicate小弟就不在写了)

连线至auxiliary database

image

执行 rman command(差异部分小弟用红色highlight起来)

RUN {

allocate channel c1 type disk;

ALLOCATE AUXILIARY CHANNEL ax1 DEVICE TYPE DISK;ALLOCATE AUXILIARY CHANNEL ax2 DEVICE TYPE DISK;ALLOCATE AUXILIARY CHANNEL ax3 DEVICE TYPE DISK;ALLOCATE AUXILIARY CHANNEL ax4 DEVICE TYPE DISK;

duplicate target database for standby from active database dorecover;}

clip_image002

image

image

建立完成后测试同步功能

开启standby db redo apply

image

Check current sequence

image

alter system switch logfile;

image

switchlog后primary和standby同步成功。

下篇小弟将实测physics standby db open readonly状态下可否open redo apply services

原文:大专栏  [Oracle][Data Guard]Oracle11g Active Data Guard#2实战


猜你喜欢

转载自www.cnblogs.com/petewell/p/11518168.html
今日推荐