暂无图片
暂无图片
暂无图片
暂无图片
暂无图片

DGMGRL error: Object “dbnamesty” was not found

原创 伟鹏 2023-05-18
349

在dgbroker里面执行

show database verbose dbname;

然后报错

DGMGRL> show configuration;

Configuration - DG_dbname

Protection Mode: MaxPerformance

Databases:

NCDB - Primary database

NCDBSDB - Physical standby database

Warning: ORA-16857: standby disconnected from redo source for longer than specified threshold

Fast-Start Failover: DISABLED

Configuration Status:

WARNING


DGMGRL> show database verbose dbnamesty;

Object "dbnamesty" was not found


这个主要是在进行dgbroker配置的时候,添加数据库名字的时候带引号了


解决方法:

1、先disable configuration

DGMGRL>  disable configuration;

2、用sys用户登录

DGMGRL>sys/"密码"

3、编辑配置

DGMGRL> show configuration; Configuration - DG_dbname

 Protection Mode: MaxPerformance 

 Databases: dbname- Primary database 

 dbnamesty  - Physical standby database 

 Fast-Start  Failover: DISABLED Configuration Status: DISABLED

DGMGRL> edit database 'dbnamesty' rename to dbnamesty; Succeeded.

DGMGRL> edit database 'dbname' rename to dbname;

4、enable配置文件

DGMGRL> enable configuration;

 Enabled. 

 DGMGRL> show configuration; 

 Configuration - DG_DBNAME 

 Protection Mode: MaxPerformance 

 Databases: dbname   - Primary

 database dbnamesty- Physical standby database

 Fast-Start Failover: DISABLED 

 Configuration Status: SUCCESS       

「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论