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表分区的概念及操作
Apr 24 Oracle
oracle覆盖导入dmp文件的2种方法
May 21 Oracle
SQL模糊查询报:ORA-00909:参数个数无效问题的解决
Jun 21 Oracle
快速学习Oracle触发器和游标
Jun 30 Oracle
oracle连接ODBC sqlserver数据源的详细步骤
Jul 25 Oracle
Oracle 临时表空间SQL语句的实现
Sep 25 Oracle
Oracle中update和select 关联操作
Jan 18 Oracle
Oracle 多表查询基本语法实例
Apr 18 Oracle
在Oracle表中进行关键词搜索的过程
Jun 10 Oracle
Oracle中日期的使用方法实例
Jul 07 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连mysql和oracle数据库性能比较
2006/10/09 PHP
$_GET['goods_id']+0 的使用详解
2013/06/06 PHP
php定时计划任务的实现方法详解
2013/06/06 PHP
zf框架的registry(注册表)使用示例
2014/03/13 PHP
PHP快速排序quicksort实例详解
2016/09/28 PHP
PHP Laravel 上传图片、文件等类封装
2017/08/16 PHP
使用PHP开发留言板功能
2019/11/19 PHP
jQuery实现可拖动的浮动层完整代码
2013/05/27 Javascript
js获取input长度并根据页面宽度设置其大小及居中对齐
2014/08/22 Javascript
JS实现点击按钮获取页面高度的方法
2015/11/02 Javascript
js计算时间差代码【包括计算,天,时,分,秒】
2016/04/26 Javascript
angularjs ui-router中路由的二级嵌套
2017/03/10 Javascript
详解Vue路由开启keep-alive时的注意点
2017/06/20 Javascript
详解React 16 中的异常处理
2017/07/28 Javascript
对Angular中单向数据流的深入理解
2018/03/31 Javascript
jQuery常见的遍历DOM操作详解
2018/09/05 jQuery
在 Vue.js中优雅地使用全局事件的方法
2019/02/01 Javascript
用vscode开发vue应用的方法步骤
2019/05/06 Javascript
JS闭包原理及其使用场景解析
2020/12/03 Javascript
[42:39]老党炸弹人试玩视频
2014/09/03 DOTA
python选取特定列 pandas iloc,loc,icol的使用详解(列切片及行切片)
2019/08/06 Python
python实现简易淘宝购物
2019/11/22 Python
基于virtualenv创建python虚拟环境过程图解
2020/03/30 Python
python matplotlib.pyplot.plot()参数用法
2020/04/14 Python
css3实现文字首尾衔接跑马灯的示例代码
2020/10/16 HTML / CSS
俄罗斯眼镜网: optikaworld
2016/07/31 全球购物
Right-on官方网站:日本知名的休闲服装品牌
2019/07/12 全球购物
上海某公司.net方向笔试题
2014/09/14 面试题
历史教育专业个人求职信
2013/12/13 职场文书
新教师岗前培训方案
2014/06/05 职场文书
学生不讲诚信检讨书
2014/09/29 职场文书
婚宴邀请函
2015/01/30 职场文书
2015年医院护理部工作总结
2015/04/23 职场文书
2015年预算员工作总结
2015/05/14 职场文书
大学生村官驻村工作心得体会
2016/01/23 职场文书
win11系统中dhcp服务异常什么意思? Win11 DHCP服务异常修复方法
2022/04/08 数码科技