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 数据仓库ETL技术之多表插入语句的示例详解
Apr 12 Oracle
mybatis使用oracle进行添加数据的方法
Apr 27 Oracle
oracle覆盖导入dmp文件的2种方法
May 21 Oracle
SQL模糊查询报:ORA-00909:参数个数无效问题的解决
Jun 21 Oracle
oracle连接ODBC sqlserver数据源的详细步骤
Jul 25 Oracle
Oracle 临时表空间SQL语句的实现
Sep 25 Oracle
C#连接ORACLE出现乱码问题的解决方法
Oct 05 Oracle
使用Oracle命令进行数据库备份与还原
Dec 06 Oracle
oracle重置序列从0开始递增1
Feb 28 Oracle
Oracle数据库中通用的函数实例详解
Mar 25 Oracle
详解SQL的窗口函数
Apr 21 Oracle
oracle设置密码复杂度及设置超时退出的功能
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实现12306火车票余票查询和价格查询(12306火车票查询)
2014/01/14 PHP
Zend Framework动作控制器用法示例
2016/12/09 PHP
php7函数,声明,返回值等新特性介绍
2018/05/25 PHP
PHP获取星期几的常用方法小结
2018/12/18 PHP
laravel-admin 实现在指定的相册下添加照片
2019/10/21 PHP
分享几种好用的PHP自定义加密函数(可逆/不可逆)
2020/09/15 PHP
JS中处理与当前时间间隔的函数代码
2012/05/23 Javascript
jquery动画4.升级版遮罩效果的图片走廊--带自动运行效果
2012/08/24 Javascript
javascript中的nextSibling使用陷(da)阱(keng)
2014/05/05 Javascript
JavaScript严格模式禁用With语句的原因
2014/10/20 Javascript
修改或扩展jQuery原生方法的代码实例
2015/01/13 Javascript
Javascript中的Prototype到底是什么
2016/02/16 Javascript
实例讲解jQuery中对事件的命名空间的运用
2016/05/24 Javascript
原生JS实现匀速图片轮播动画
2016/10/18 Javascript
Vue.js路由组件vue-router使用方法详解
2016/12/02 Javascript
JS中页面与页面之间超链接跳转中文乱码问题的解决办法
2016/12/15 Javascript
canvas实现图像放大镜
2017/02/06 Javascript
微信小程序封装的HTTP请求示例【附升级版】
2019/05/11 Javascript
JavaScript:ES2019 的新特性(译)
2019/08/08 Javascript
ES6 Promise对象概念及用法实例详解
2019/10/15 Javascript
基于JS实现视频上传显示进度条
2020/05/12 Javascript
[02:11]2016国际邀请赛中国区预选赛最美TA采访现场玩家
2016/06/28 DOTA
python使用cPickle模块序列化实例
2014/09/25 Python
Python中类的定义、继承及使用对象实例详解
2015/04/30 Python
Python输出9*9乘法表的方法
2015/05/25 Python
详解Python编程中time模块的使用
2015/11/20 Python
Python文件夹与文件的相关操作(推荐)
2016/07/25 Python
python3 pillow生成简单验证码图片的示例
2017/09/19 Python
Pycharm远程调试openstack的方法
2017/11/21 Python
英国最出名高街品牌:Forever Unique
2018/02/24 全球购物
ORACLE第二个十问
2013/12/14 面试题
说一下Linux下有关用户和组管理的命令
2014/08/18 面试题
会计电算化学生个人的自我评价
2014/02/08 职场文书
党员廉洁自律承诺书
2014/05/26 职场文书
2015年人民调解工作总结
2015/05/18 职场文书
2016年暑期见闻作文
2015/11/25 职场文书