ORACLE 11G dgbroker异常之ORA-16820&ORA-16825&ORA-12541

来源:这里教程网 时间:2026-03-03 11:58:25 作者:

       最近,一oracle 11.2.0.4的dg实验环境出现断电故障,这套dg环境配置有dg observer,就是dgbroker,启动恢复的过程中遇到点异常报错。本博文记录配置有dg observer的dg环境断电恢复的异常处理过程。        1、在主备库的实例和监听启动前,登陆dgmgrl控制台提示无TNS         2、启动observer前,启动主备库启动不了的         启动主库报错(切记,启动observer,确定DG主备关系前,不要直接startup):         启动备库报错(切记,启动observer,确定DG主备关系前,不要直接startup):         3、启动主备库的监听         启动主备库的监听程序后,在启动主备实例前,dgmgrl控制台能正常登陆,但是无法查看配置:         4、启动observer观察者         在启动主备实例前,在主库启动观察者,会提示实例未启动:           在未作任何操作的情况下,备库被提升为主库         但是,原主库未被做调整         手动发起主库的startup,提示有主库已存在:         dgmgrl控制台提示,原主库被降级为standby:         5、查看主备库角色和状态         主库:         备库:         dgmgrl控制台查看配置:         6、另外,如果observer进程异常中断,查看主备配置,提示报错16825&16820, 解决方法是启动observer,重新登陆dgmgrl控制台查看即可: [oracle@centdgpri ~]$ dgmgrl sys/WaterH2o@dbprimary DGMGRL for Linux: Version 11.2.0.4.0 - 64bit Production Copyright (c) 2000, 2009, Oracle. All rights reserved. Welcome to DGMGRL, type "help" for information. Connected. DGMGRL> show configuration; Configuration - my_dgb   Protection Mode: MaxPerformance   Databases:     orcl  - Primary database       Error: ORA-16825: multiple errors or warnings, including fast-start failover-related errors or warnings, detected for the database     orcls - (*) Physical standby database       Error: ORA-16825: multiple errors or warnings, including fast-start failover-related errors or warnings, detected for the database Fast-Start Failover: ENABLED Configuration Status: ERROR DGMGRL> show configuration; Configuration - my_dgb   Protection Mode: MaxPerformance   Databases:     orcl  - Primary database       Error: ORA-16820: fast-start failover observer is no longer observing this database     orcls - (*) Physical standby database       Error: ORA-16820: fast-start failover observer is no longer observing this database Fast-Start Failover: ENABLED Configuration Status: ERROR     7、总结:一旦oracle 11g dg配置有dgbroker,主备同时出现断电,为避免主备切换,启动程序的顺序:         启动主备的监听程序         启动dg observer         启动主库的实例         启动备库的实例         校验dgbroker配置及主备库状态

相关推荐