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 相关文章推荐
oracle DGMGRL ORA-16603报错的解决方法(DG Broker)
Apr 06 Oracle
使用Navicat Premium工具将oracle数据库迁移到MySQL
May 27 Oracle
RPM包方式安装Oracle21c的方法详解
Aug 23 Oracle
oracle索引总结
Sep 25 Oracle
C#连接ORACLE出现乱码问题的解决方法
Oct 05 Oracle
Oracle安装TNS_ADMIN环境变量设置参考
Nov 01 Oracle
Oracle数据库中通用的函数实例详解
Mar 25 Oracle
Lakehouse数据湖并发控制陷阱分析
Mar 31 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在数组中查找指定值的方法
2015/03/17 PHP
php四种定界符详解
2017/02/16 PHP
jQuery EasyUI API 中文文档 - Calendar日历使用
2011/10/19 Javascript
现如今最流行的JavaScript代码规范
2014/03/08 Javascript
JS实现自适应高度表单文本框的方法
2015/02/25 Javascript
浅析jQuery中使用$所引发的问题
2016/05/29 Javascript
vue.js指令v-for使用及索引获取
2016/11/03 Javascript
详谈Angular 2+ 的表单(一)之模板驱动型表单
2017/04/25 Javascript
jQuery常见面试题之DOM操作详析
2017/07/05 jQuery
JavaScript自执行函数和jQuery扩展方法详解
2017/10/27 jQuery
React Native自定义控件底部抽屉菜单的示例
2018/02/08 Javascript
小程序视频列表中视频的播放与停止的示例代码
2018/07/20 Javascript
实现Vue的markdown文档可以在线运行的方法示例
2018/12/11 Javascript
JS原生瀑布流效果实现
2019/04/26 Javascript
Vue动态生成表格的行和列
2019/07/18 Javascript
浅谈JS中几种轻松处理'this'指向方式
2019/09/16 Javascript
vue实现div可拖动位置也可改变盒子大小的原理
2020/09/16 Javascript
教你用 Python 实现微信跳一跳(Mac+iOS版)
2018/01/04 Python
python3使用pandas获取股票数据的方法
2018/12/22 Python
python实现播放音频和录音功能示例代码
2018/12/30 Python
Pycharm debug调试时带参数过程解析
2020/02/03 Python
HTML5 video播放器全屏(fullScreen)方法实例
2015/04/24 HTML / CSS
美国演唱会和体育门票购买网站:Ticketnetwork
2018/10/19 全球购物
巴西儿童时尚购物网站:Dinda
2019/08/14 全球购物
简述synchronized和java.util.concurrent.locks.Lock的异同
2014/12/08 面试题
环境工程大学生自荐信
2013/10/21 职场文书
推普周活动总结
2014/08/28 职场文书
2015年小学中秋节活动总结
2015/03/23 职场文书
2015中学政教处工作总结
2015/07/22 职场文书
合同补充协议书
2016/03/24 职场文书
2016年村党支部公开承诺书
2016/03/24 职场文书
你知道哪几种MYSQL的连接查询
2021/06/03 MySQL
PyTorch 如何检查模型梯度是否可导
2021/06/05 Python
原生Javascript+HTML5一步步实现拖拽排序
2021/06/12 Javascript
MySQL索引 高效获取数据的数据结构
2022/05/02 MySQL
vue router 动态路由清除方式
2022/05/25 Vue.js