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 相关文章推荐
使用springboot暴露oracle数据接口的问题
May 07 Oracle
Oracle以逗号分隔的字符串拆分为多行数据实例详解
Jul 16 Oracle
关于Oracle12C默认用户名system密码不正确的解决方案
Oct 16 Oracle
Oracle安装TNS_ADMIN环境变量设置参考
Nov 01 Oracle
详解Oracle数据库中自带的所有表结构(sql代码)
Nov 20 Oracle
分析SQL窗口函数之聚合窗口函数
Apr 21 Oracle
Oracle用户管理及赋权
Apr 24 Oracle
Oracle中DBLink的详细介绍
Apr 29 Oracle
Oracle锁表解决方法的详细记录
Jun 05 Oracle
在Oracle表中进行关键词搜索的过程
Jun 10 Oracle
oracle设置密码复杂度及设置超时退出的功能
Jun 28 Oracle
Oracle查看表空间使用率以及爆满解决方案详解
Jul 23 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
Yii2增加验证码步骤详解
2016/04/25 PHP
php数据库的增删改查 php与javascript之间的交互
2017/08/31 PHP
Yii 框架使用Forms操作详解
2020/05/18 PHP
JavaScript中this关键词的使用技巧、工作原理以及注意事项
2014/05/20 Javascript
jquery实现漫天雪花飞舞的圣诞祝福雪花效果代码分享
2015/08/20 Javascript
避免jQuery名字冲突 noConflict()方法
2016/07/30 Javascript
jQuery插件ajaxFileUpload使用详解
2017/01/10 Javascript
详解关于webpack多入口热加载很慢的原因
2019/04/24 Javascript
微信小程序--获取用户地理位置名称(无须用户授权)的方法
2019/04/29 Javascript
JQuery使用属性addClass、removeClass和toggleClass实现增加和删除类操作示例
2019/11/18 jQuery
基于VUE实现简单的学生信息管理系统
2021/01/13 Vue.js
Python3实现带附件的定时发送邮件功能
2020/12/22 Python
python中字符串比较使用is、==和cmp()总结
2018/03/18 Python
浅析python继承与多重继承
2018/09/13 Python
在python中只选取列表中某一纵列的方法
2018/11/28 Python
Python魔法方法功能与用法简介
2019/04/04 Python
Scrapy-Redis结合POST请求获取数据的方法示例
2019/05/07 Python
python函数与方法的区别总结
2019/06/23 Python
Python实现EXCEL表格的排序功能示例
2019/06/25 Python
Python 中Django安装和使用教程详解
2019/07/03 Python
Python标准库shutil模块使用方法解析
2020/03/10 Python
PyQt5实现仿QQ贴边隐藏功能的实例代码
2020/05/24 Python
python seaborn heatmap可视化相关性矩阵实例
2020/06/03 Python
基于Python实现下载网易音乐代码实例
2020/08/10 Python
python快速安装OpenCV的步骤记录
2021/02/22 Python
上班早退检讨书
2014/01/09 职场文书
建筑总经理岗位职责
2014/02/02 职场文书
县委常委班子专题民主生活会查摆问题及整改措施
2014/09/27 职场文书
个人作风建设自查报告
2014/10/22 职场文书
2014年教师业务工作总结
2014/12/19 职场文书
孔庙导游词
2015/02/04 职场文书
五一劳动节慰问信
2015/02/14 职场文书
财务部岗位职责范本
2015/04/14 职场文书
运动会宣传稿100字
2015/07/23 职场文书
超详细教你怎么升级Mysql的版本
2021/05/19 MySQL
Python经常使用的一些内置函数
2022/04/11 Python