oracle DGMGRL ORA-16603报错的解决方法(DG Broker)


Posted in Oracle onApril 06, 2021
当执行添加物理备库动作时出现如下报错
DGMGRL> add database 'orclstd' as connect identifier is 'orclstd' maintained as  physical;

Error: ORA-16603: member is part of another Data Guard broker configuration

以下是OERR给出的解决办法
[oracle@adg ~]$ oerr ORA 16603
16603, 00000, "member is part of another Data Guard broker configuration"
// *Cause:  The member was part of another Data Guard broker configuration.
//          This could occur if the original configuration was re-created
//          while this member was disconnected from the network or the
//          same member was added to two different Data Guard broker
//          configurations.
// *Action: Ensure that the member belongs to only one broker configuration.
//          Shut down the broker by setting the DG_BROKER_START initialization
//          parameter to 'false'. Then, remove the Oracle Data Guard broker
//          configuration files. Finally, restart the broker by setting the
//          DG_BROKER_START initialization parameter to 'true'.


要注意这个解决动作是要在备库上执行的 不要搞错

以下是解决流程
[oracle@adg ~]$ cd $ORACLE_HOME/dbs
[oracle@adg /u01/app/oracle/product/19c/dbhome_1/dbs]$ ls
afiedt.buf                arch2_163_1066257379.dbf  lkORCLSTD
arch1_180_1066257379.dbf  c-1594038115-20210324-00  orapworclstd
arch1_181_1066257379.dbf  dr1orclstd.dat            pfile.ora
arch1_182_1066257379.dbf  dr2orclstd.dat            snapcf_orclstd.f
arch2_161_1066257379.dbf  hc_orclstd.dat            spfileorclstd.ora
arch2_162_1066257379.dbf  init.ora
将dr开头的两个文件删掉
[oracle@adg /u01/app/oracle/product/19c/dbhome_1/dbs]$ rm dr*
[oracle@adg /u01/app/oracle/product/19c/dbhome_1/dbs]$ ls
afiedt.buf                arch2_162_1066257379.dbf  lkORCLSTD
arch1_180_1066257379.dbf  arch2_163_1066257379.dbf  orapworclstd
arch1_181_1066257379.dbf  c-1594038115-20210324-00  pfile.ora
arch1_182_1066257379.dbf  hc_orclstd.dat            snapcf_orclstd.f
arch2_161_1066257379.dbf  init.ora                  spfileorclstd.ora

[oracle@adg /u01/app/oracle/product/19c/dbhome_1/dbs]$ sqlplus / as sysdba

SQL*Plus: Release 19.0.0.0.0 - Production on Sat Apr 3 18:55:19 2021
Version 19.10.0.0.0

Copyright (c) 1982, 2020, Oracle.  All rights reserved.


Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.10.0.0.0

SYS@orclstd>show parameter dg_broker

NAME                                 TYPE
------------------------------------ ---------------------------------
VALUE
------------------------------
dg_broker_config_file1               string
/u01/app/oracle/product/19c/db
home_1/dbs/dr1orclstd.dat
dg_broker_config_file2               string
/u01/app/oracle/product/19c/db
home_1/dbs/dr2orclstd.dat
dg_broker_start                      boolean
TRUE
SYS@orclstd>alter system set dg_broker_start=false;

System altered.

SYS@orclstd>show parameter dg_broker

NAME                                 TYPE
------------------------------------ ---------------------------------
VALUE
------------------------------
dg_broker_config_file1               string
/u01/app/oracle/product/19c/db
home_1/dbs/dr1orclstd.dat
dg_broker_config_file2               string
/u01/app/oracle/product/19c/db
home_1/dbs/dr2orclstd.dat
dg_broker_start                      boolean
FALSE

SYS@orclstd>alter system set dg_broker_start=true;

System altered.

SYS@orclstd>show parameter dg_broker

NAME                                 TYPE
------------------------------------ ---------------------------------
VALUE
------------------------------
dg_broker_config_file1               string
/u01/app/oracle/product/19c/db
home_1/dbs/dr1orclstd.dat
dg_broker_config_file2               string
/u01/app/oracle/product/19c/db
home_1/dbs/dr2orclstd.dat
dg_broker_start                      boolean
TRUE
SYS@orclstd>
Oracle 相关文章推荐
Oracle11g R2 安装教程完整版
Jun 04 Oracle
SQL模糊查询报:ORA-00909:参数个数无效问题的解决
Jun 21 Oracle
快速学习Oracle触发器和游标
Jun 30 Oracle
oracle连接ODBC sqlserver数据源的详细步骤
Jul 25 Oracle
关于Oracle12C默认用户名system密码不正确的解决方案
Oct 16 Oracle
Lakehouse数据湖并发控制陷阱分析
Mar 31 Oracle
Oracle使用别名的好处
Apr 19 Oracle
排查并解决Oracle sysaux表空间异常增长
Apr 20 Oracle
分析SQL窗口函数之取值窗口函数
Apr 21 Oracle
Oracle用户管理及赋权
Apr 24 Oracle
instantclient客户端 连接oracle数据库
Apr 26 Oracle
Oracle笔记
Apr 05 #Oracle
ORACLE数据库对long类型字段进行模糊匹配的解决思路
Oracle 数据仓库ETL技术之多表插入语句的示例详解
oracle表分区的概念及操作
Apr 24 #Oracle
Oracle设置DB、监听和EM开机启动的方法
mybatis使用oracle进行添加数据的方法
Apr 27 #Oracle
使用springboot暴露oracle数据接口的问题
You might like
php中如何判断一个网页请求是ajax请求还是普通请求
2013/08/10 PHP
PHP实现浏览器中直接输出图片的方法示例
2018/03/14 PHP
PHP实现链表的定义与反转功能示例
2018/06/09 PHP
js实现网站首页图片滚动显示
2013/02/04 Javascript
通过复制Table生成word和excel的javascript代码
2014/01/20 Javascript
jQuery on方法传递参数示例
2014/12/09 Javascript
javascript抽象工厂模式详细说明
2014/12/16 Javascript
JavaScript中的splice()方法使用详解
2015/06/09 Javascript
详解jQuery向动态生成的内容添加事件响应jQuery live()方法
2015/11/02 Javascript
jquery form表单获取内容以及绑定数据
2016/02/24 Javascript
JavaScript String 对象常用方法详解
2016/05/13 Javascript
jQuery常见的遍历DOM操作详解
2018/09/05 jQuery
webpack4实现不同的导出类型
2019/04/09 Javascript
javascript简单实现深浅拷贝过程详解
2019/10/08 Javascript
通过实例解析vuejs如何实现调试代码
2020/07/16 Javascript
[01:15:15]VG VS EG Supermajor小组赛B组胜者组第一轮 BO3第二场 6.2
2018/06/03 DOTA
[02:03]风行者至宝清风环佩外观展示
2020/09/05 DOTA
浅谈python中的getattr函数 hasattr函数
2016/06/14 Python
Python基于百度AI的文字识别的示例
2018/04/21 Python
Python线性拟合实现函数与用法示例
2018/12/13 Python
django解决跨域请求的问题详解
2019/01/20 Python
手把手教你使用Python创建微信机器人
2019/04/29 Python
python实现视频分帧效果
2019/05/31 Python
经济管理专业毕业生推荐信
2013/11/11 职场文书
铁路安全事故反思
2014/04/26 职场文书
公司节能减排倡议书
2014/05/14 职场文书
新闻发布会策划方案
2014/06/12 职场文书
幼儿园端午节活动方案
2014/08/25 职场文书
软弱涣散基层党组织整改方案
2014/10/25 职场文书
九年级数学教学反思
2016/02/17 职场文书
2019新员工试用期转正申请书3篇
2019/08/13 职场文书
oracle DGMGRL ORA-16603报错的解决方法(DG Broker)
2021/04/06 Oracle
MySQL安装后默认自带数据库的作用详解
2021/04/27 MySQL
关于JavaScript轮播图的实现
2021/11/20 Javascript
vue使用wavesurfer.js解决音频可视化播放问题
2022/04/04 Vue.js
python实现手机推送 代码也就10行左右
2022/04/12 Python