给某一个客户安装ADG完毕,配置Broker方便日后的管理与切换,碰到些许问题,以作记录
创建完configuration之后,enable的过程很慢,而且状态出现error
主库查询:
备库查询:
查看备数据库的状态
创建完configuration之后,enable的过程很慢,而且状态出现error
主库查询:
- DGMGRL> SHOW CONFIGURATION VERBOSE;
- Configuration - anxinconf
- Protection Mode: MaxAvailability
- Databases:
- anxin - Primary database
- anxinstd - Physical standby database
- Error: ORA-16664: unable to receive the result from a database
- Properties:
- FastStartFailoverThreshold = '30'
- OperationTimeout = '30'
- FastStartFailoverLagLimit = '30'
- CommunicationTimeout = '180'
- ObserverReconnect = '0'
- FastStartFailoverAutoReinstate = 'TRUE'
- FastStartFailoverPmyShutdown = 'TRUE'
- BystandersFollowRoleChange = 'ALL'
- ObserverOverride = 'FALSE'
- ExternalDestination1 = ''
- ExternalDestination2 = ''
- PrimaryLostWriteAction = 'CONTINUE'
- Fast-Start Failover: DISABLED
- Configuration Status:
- ERROR
- DGMGRL> SHOW CONFIGURATION VERBOSE;
- Configuration - anxinconf
- Protection Mode: MaxAvailability
- Databases:
- anxin - Primary database
- anxinstd - Physical standby database
- Warning: ORA-16792: configurable property value is inconsistent with database setting
- Properties:
- FastStartFailoverThreshold = '30'
- OperationTimeout = '30'
- FastStartFailoverLagLimit = '30'
- CommunicationTimeout = '180'
- ObserverReconnect = '0'
- FastStartFailoverAutoReinstate = 'TRUE'
- FastStartFailoverPmyShutdown = 'TRUE'
- BystandersFollowRoleChange = 'ALL'
- ObserverOverride = 'FALSE'
- ExternalDestination1 = ''
- ExternalDestination2 = ''
- PrimaryLostWriteAction = 'CONTINUE'
- Fast-Start Failover: DISABLED
- Configuration Status:
- WARNING
- DGMGRL> show database verbose anxinstd;
- Database - anxinstd
- Role: PHYSICAL STANDBY
- Intended State: APPLY-ON
- Transport Lag: 0 seconds (computed 1 second ago)
- Apply Lag: 0 seconds (computed 1 second ago)
- Apply Rate: 54.00 KByte/s
- Real Time Query: ON
- Instance(s):
- anxinstd
- Warning: ORA-16714: the value of property ArchiveLagTarget is inconsistent with the database setting
- Warning: ORA-16714: the value of property LogArchiveMinSuccee
解决Oracle Data Guard配置中ORA-16664与ORA-16792错误

这篇博客详细记录了在配置Oracle Data Guard时遇到的ORA-16664和ORA-16792错误的解决过程。通过`SHOW CONFIGURATION VERBOSE`命令检查配置状态,发现警告和错误信息。通过编辑数据库属性,如`LogArchiveFormat`、`ArchiveLagTarget`、`LogArchiveTrace`和`LogArchiveMinSucceedDest`,并调整相关设置,最终成功解决这些问题,使配置状态变为SUCCESS。
最低0.47元/天 解锁文章
396

被折叠的 条评论
为什么被折叠?



