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数据库对long类型字段进行模糊匹配的解决思路
Apr 07 Oracle
Oracle 区块链表创建过程详解
May 15 Oracle
Oracle创建只读账号的详细步骤
Jun 07 Oracle
ORACLE数据库应用开发的三十个注意事项
Jun 07 Oracle
DBCA命令行搭建Oracle ADG的流程
Jun 11 Oracle
Oracle安装TNS_ADMIN环境变量设置参考
Nov 01 Oracle
Oracle中update和select 关联操作
Jan 18 Oracle
Oracle 多表查询基本语法实例
Apr 18 Oracle
Oracle数据库事务的开启与结束详解
Jun 25 Oracle
oracle设置密码复杂度及设置超时退出的功能
Jun 28 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 或网站服务器日志,并正确配置 PHP 安装最快的解决办法
2010/08/01 PHP
php引用计数器进行垃圾收集机制介绍
2012/09/19 PHP
php中将html中的br换行符转换为文本输入中的换行符
2013/03/26 PHP
基于php导出到Excel或CSV的详解(附utf8、gbk 编码转换)
2013/06/25 PHP
php获取文件类型和文件信息的方法
2015/07/10 PHP
原生JS绑定滑轮滚动事件兼容常见浏览器
2014/06/30 Javascript
JS实现当前页居中分页效果的方法
2015/06/18 Javascript
jQuery中$.ajax()和$.getJson()同步处理详解
2015/08/12 Javascript
原生js页面滚动延迟加载图片
2015/12/20 Javascript
基于jQuery实现淡入淡出效果轮播图
2020/07/31 Javascript
node.js实现博客小爬虫的实例代码
2016/10/08 Javascript
详解vue过滤器在v2.0版本用法
2017/06/01 Javascript
详解Angular2表单-模板驱动的表单(Template-Driven Forms)
2017/08/04 Javascript
JavaScript实现拖拽和缩放效果
2020/08/24 Javascript
jQuery实现回到顶部效果
2020/10/19 jQuery
[02:47]2018年度DOTA2最佳辅助位选手4号位-完美盛典
2018/12/17 DOTA
Python 基础教程之str和repr的详解
2017/08/20 Python
浅谈python爬虫使用Selenium模拟浏览器行为
2018/02/23 Python
python自动发邮件库yagmail的示例代码
2018/02/23 Python
Python格式化输出%s和%d
2018/05/07 Python
Django 登陆验证码和中间件的实现
2018/08/17 Python
在pycharm中python切换解释器失败的解决方法
2018/10/29 Python
在python tkinter中Canvas实现进度条显示的方法
2019/06/14 Python
django框架实现一次性上传多个文件功能示例【批量上传】
2019/06/19 Python
python实现串口自动触发工作的示例
2019/07/02 Python
Django model 中设置联合约束和联合索引的方法
2019/08/06 Python
Django认证系统user对象实现过程解析
2020/03/02 Python
Python实现树莓派摄像头持续录像并传送到主机的步骤
2020/11/30 Python
租房协议书怎么写
2014/04/10 职场文书
新年寄语2016
2015/08/17 职场文书
检讨书范文
2019/04/16 职场文书
nginx反向代理时如何保持长连接
2021/03/31 Servers
mysql 获取时间方式
2022/03/20 MySQL
浅谈Redis 中的过期删除策略和内存淘汰机制
2022/04/03 Redis
Windows server 2012 配置Telnet以及用法详解
2022/04/28 Servers
Spring Data JPA框架持久化存储数据到数据库
2022/04/28 Java/Android