CHG:RestartDataguardStandbydatabases

CHG: Restart Dataguard Standby databases

创新互联公司服务项目包括扬州网站建设、扬州网站制作、扬州网页制作以及扬州网络营销策划等。多年来,我们专注于互联网行业,利用自身积累的技术优势、行业经验、深度合作伙伴关系等,向广大中小型企业、政府机构等提供互联网行业的解决方案,扬州网站推广取得了明显的社会效益与经济效益。目前,我们服务的客户以成都为中心已经辐射到扬州省份的部分城市,未来相信会继续扩大服务区域并继续获得客户的支持与信任!

 

Stop Dataguard Standby Database:


PreStep: Backout the CI on the OEM
You could backup the whole CN_DATABASE during the CHG.


Step 1: Stop Primary redo transport on DR Server:

Redo transport can be stopoed on DR with dataguard broker
$ dgmgrl /

DGMGRL> show configuration;
DGMGRL> show database shrars;
DGMGRL> EDIT DATABASE shrars SET STATE='TRANSPORT-OFF';
DGMGRL> show database shrars;


Step 2: Stop Standby Redo Apply
DGMGRL> show database shrars_sb;
DGMGRL> EDIT DATABASE shrars_sb SET STATE='APPLY-OFF';
DGMGRL> show database shrars_sb;


Step 3: Stop listener
$ lsnrctl status listener_shrars
$ lsnrctl stop listener_shrars
$ lsnrctl status listener_shrars


Step 4: Stop database
$ sqlplus / as sysdba;
SQL> shutdown immediate;


Step 5: Check and stop OEM agent
$ cd /data/oracle/product/agent/agent12c/core/12.1.0.5.0/bin
$ ./emctl status agent
$ ./emctl stop agent


Start Dataguard Standby Database:


Step 1: Start listener:
$ lsnrctl start listener_shrars
$ lsnrctl status listener_shrars


Step 2: Start Database
$ sqlplus / as sysdba;
SQL> startup mount;


Step 3: Start Standby Redo Apply
$ dgmgrl /
DGMGRL> show configuration;

DGMGRL> show database shrars_sb;
DGMGRL> EDIT DATABASE shrars_sb SET STATE='APPLY-ON';
DGMGRL> show database shrars_sb;


Step 4: Stop Primary redo transport on DR Server
DGMGRL> show database shrars;
DGMGRL> EDIT DATABASE shrars SET STATE='TRANSPORT-ON';
DGMGRL> show database shrars;


Step 5: Check and stop OEM agent
$ cd /data/oracle/product/agent/agent12c/core/12.1.0.5.0/bin
$ ./emctl status agent
$ ./emctl start agent

 


文章标题:CHG:RestartDataguardStandbydatabases
网站地址:http://bzwzjz.com/article/piodpd.html

其他资讯

Copyright © 2007-2020 广东宝晨空调科技有限公司 All Rights Reserved 粤ICP备2022107769号
友情链接: 网站建设推广 品牌网站建设 成都网站设计 重庆企业网站建设 成都做网站建设公司 营销网站建设 重庆网站设计 响应式网站设计方案 成都定制网站建设 成都网站建设公司 响应式网站建设 成都网站设计 成都网站建设 重庆网站建设 营销型网站建设 营销型网站建设 成都商城网站建设 网站建设费用 手机网站制作 网站设计 成都网站建设 攀枝花网站设计