重庆思庄Oracle、Redhat认证学习论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 1630|回复: 0
打印 上一主题 下一主题

[Oracle] ORA-16525 dg broker不可用

[复制链接]
跳转到指定楼层
楼主
发表于 2022-5-31 14:25:37 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
数据库:Oracle 11.2.0.4
系统:CentOS 7.9
问题描述:dgmgrl执行show configuration命令,出现以下ora-16525异常,如下所示:
DGMGRL> show configuration;
Error:
ORA-16525: the Data Guard broker is notyet available
Configuration details cannot be determinedby DGMGRL
查看告警日志:
[oracle@oel trace]$ catdrcorcl150.log  (drcorcl150.log $ORACLE_BASE/rdbms/orcl150/orcl150/trace目录下)
....
05/27/2022 17:40:54
Data Guard Broker shutting down
RSM0 successfully terminated
05/27/2022 17:40:57
>> Data Guard Broker Has Been ShutDown <<
Fore Deregistering service ORCL150_DGBwith listener(s)
此处主备库的dg_broker_start均为false
SQL> show parameter dg_broker
NAME                                 TYPE        VALUE
----------------------------------------------- ------------------------------
dg_broker_config_file1               string          /u01/app/oracle/product/11.2.0
                                                                       /db_1/dbs/dr1ORCL150.dat
dg_broker_config_file2               string          /u01/app/oracle/product/11.2.0
                                                                        /db_1/dbs/dr2ORCL150.dat
dg_broker_start                      boolean         FALSE
尝试将dg_broker_start设置为"true".
SQL> alter system setdg_broker_start=true;
System altered.
DGMGRL> show configuration;
Configuration - dg_conf
Protection Mode: MaxPerformance
Databases:
   orcl150 - Primary database
   orcl151 - Physical standby database
Fast-Start Failover: DISABLED
Configuration Status:
SUCCESS
结论:将主备库dg_broker_start修改为trueshowconfiguration正常显示.
以下为日志信息:
[oracle@oel trace]$ cat drcorcl150.log
......
05/27/2022 17:40:54
Data Guard Broker shutting down
RSM0 successfully terminated
05/27/2022 17:40:57
>> Data Guard Broker Has Been ShutDown <<
Fore Deregistering service ORCL150_DGBwith listener(s)
05/28/2022 13:29:47
Creating Data Guard Broker Monitor Process(DMON)
05/28/2022 13:29:50
>> Starting Data Guard Brokerbootstrap <<
Broker Configuration File Locations:
     dg_broker_config_file1 ="/u01/app/oracle/product/11.2.0/db_1/dbs/dr1ORCL150.dat"
     dg_broker_config_file2 = "/u01/app/oracle/product/11.2.0/db_1/dbs/dr2ORCL150.dat"
05/28/2022 13:29:54
DMON Registering service ORCL150_DGB withlistener(s)
Broker Configuration:       "dg_conf"
     Protection Mode:           Maximum Performance
     Fast-Start Failover (FSFO): Disabled, flags=0x0, version=0
     Primary Database:          orcl150 (0x01010000)
     Standby Database:          orcl151, Enabled Physical Standby (0x02010000)
05/28/2022 13:29:58
Site orcl151 returned ORA-16525.
Version Check Results:
     Database orcl151 returned ORA-16525
Creating process RSM0
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 支持支持 反对反对
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|手机版|小黑屋|重庆思庄Oracle、Redhat认证学习论坛 ( 渝ICP备12004239号-4 )

GMT+8, 2024-11-25 23:17 , Processed in 0.114038 second(s), 20 queries .

重庆思庄学习中心论坛-重庆思庄科技有限公司论坛

© 2001-2020

快速回复 返回顶部 返回列表