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笔记
Apr 05 Oracle
ORACLE数据库对long类型字段进行模糊匹配的解决思路
Apr 07 Oracle
oracle表分区的概念及操作
Apr 24 Oracle
使用springboot暴露oracle数据接口的问题
May 07 Oracle
oracle通过存储过程上传list保存功能
May 12 Oracle
DBCA命令行搭建Oracle ADG的流程
Jun 11 Oracle
oracle索引总结
Sep 25 Oracle
分析SQL窗口函数之聚合窗口函数
Apr 21 Oracle
Oracle锁表解决方法的详细记录
Jun 05 Oracle
Oracle数据库事务的开启与结束详解
Jun 25 Oracle
Oracle 11g数据库使用expdp每周进行数据备份并上传到备份服务器
Jun 28 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管理依赖(dependency)关系工具 Composer 安装与使用
2014/08/18 PHP
destoon文章模块调用企业会员资料的方法
2014/08/22 PHP
PHP中Laravel 关联查询返回错误id的解决方法
2017/04/01 PHP
thinkphp3.2嵌入百度编辑器ueditor的实例代码
2017/07/13 PHP
深入学习微信网址链接解封的防封原理visit_type
2019/08/15 PHP
颜色选择器 Color Picker,IE,Firefox,Opera,Safar
2010/11/25 Javascript
Jquery 选中表格一列并对表格排序实现原理
2012/12/15 Javascript
jquery插件如何使用 jQuery操作Cookie插件使用介绍
2012/12/15 Javascript
使用jquery局部刷新(jquery.load)从数据库取出数据
2014/01/22 Javascript
JavaScript学习笔记之Cookie对象
2015/01/22 Javascript
jquery使整个div区域可以点击的方法
2015/06/24 Javascript
第一章之初识Bootstrap
2016/04/25 Javascript
JS模拟实现ECMAScript5新增的数组方法
2017/03/20 Javascript
原生js实现简单的Ripple按钮实例代码
2017/03/24 Javascript
Vue2.x中的父组件传递数据至子组件的方法
2017/05/01 Javascript
JS+HTML5 canvas绘制验证码示例
2018/12/05 Javascript
vue自定义指令directive的使用方法
2019/04/07 Javascript
electron-vue开发环境内存泄漏问题汇总
2019/10/10 Javascript
js实现倒计时秒杀效果
2020/03/25 Javascript
python监控网卡流量并使用graphite绘图的示例
2014/04/27 Python
django通过ajax发起请求返回JSON格式数据的方法
2015/06/04 Python
VSCode下配置python调试运行环境的方法
2018/04/06 Python
Python模拟登录之滑块验证码的破解(实例代码)
2019/11/18 Python
基于jupyter代码无法在pycharm中运行的解决方法
2020/04/21 Python
Python配置pip国内镜像源的实现
2020/08/20 Python
德国户外商店:eXXpozed
2020/07/25 全球购物
说出数据连接池的工作机制是什么?
2013/04/19 面试题
2014年三八妇女节活动总结
2014/03/01 职场文书
高中运动会广播稿
2014/09/16 职场文书
运动会观后感
2015/06/09 职场文书
Python time库的时间时钟处理
2021/05/02 Python
postgres之jsonb属性的使用操作
2021/06/23 PostgreSQL
JavaScript实现简单拖拽效果
2021/09/15 Javascript
Vue的过滤器你真了解吗
2022/02/24 Vue.js
python工具dtreeviz决策树可视化和模型可解释性
2022/03/03 Python
Win11开始菜单添加休眠选项
2022/04/19 数码科技