我已经设置了一个 dataguard 配置,并在 DGMGRL 中完成了大部分工作以避免可能出现的问题,它似乎运行良好,但它报告了以下问题:
ORA-16801: redo transport-related property is inconsistent with database setting.
查看 DGMGRL 它给了我以下信息:
DGMGRL> show database 'ELBEMP' 'InconsistentLogXptProps';
INCONSISTENT LOG TRANSPORT PROPERTIES
INSTANCE_NAME STANDBY_NAME PROPERTY_NAME MEMORY_VALUE BROKER_VALUE
ELBEMP ELBEMS1 LogXptMode (missing SRLs) ASYNC
ELBEMP ELBEMS2 LogXptMode (missing SRLs) ASYNC
ELBEMP ELBEMS3 LogXptMode (missing SRLs) ASYNC
我已将 SRL 添加到主数据库,当我通过 rman 创建它时,它们已被复制到备用数据库
主节点上的日志:
1 - ONLINE - /oracle/ELBEMP/origlog/redo01.rdo
1 - ONLINE - /oracle/ELBEMP/mirrlog/redo01.rdo
2 - ONLINE - /oracle/ELBEMP/origlog/redo02.rdo
2 - ONLINE - /oracle/ELBEMP/mirrlog/redo02.rdo
3 - ONLINE - /oracle/ELBEMP/origlog/redo03.rdo
3 - ONLINE - /oracle/ELBEMP/mirrlog/redo03.rdo
4 - STANDBY - /oracle/ELBEMP/mirrarch/redostby04a.log
4 - STANDBY - /oracle/ELBEMP/mirrarch/redostby04b.log
5 - STANDBY - /oracle/ELBEMP/mirrarch/redostby05a.log
5 - STANDBY - /oracle/ELBEMP/mirrarch/redostby05b.log
6 - STANDBY - /oracle/ELBEMP/mirrarch/redostby06a.log
6 - STANDBY - /oracle/ELBEMP/mirrarch/redostby06b.log
7 - STANDBY - /oracle/ELBEMP/mirrarch/redostby07a.log
7 - STANDBY - /oracle/ELBEMP/mirrarch/redostby07b.log
这些是备用数据库之一(ELBEMS3)上的日志:
SQL> select group# ||' - '|| type ||' - '|| member from v$logfile;
GROUP#||'-'||TYPE||'-'||MEMBER
--------------------------------------------------------------------------------
1 - ONLINE - /oracle/ELBEMP/origlog/redo01.rdo
1 - ONLINE - /oracle/ELBEMP/mirrlog/redo01.rdo
2 - ONLINE - /oracle/ELBEMP/origlog/redo02.rdo
2 - ONLINE - /oracle/ELBEMP/mirrlog/redo02.rdo
3 - ONLINE - /oracle/ELBEMP/origlog/redo03.rdo
3 - ONLINE - /oracle/ELBEMP/mirrlog/redo03.rdo
老实说,我希望日志是 ELBEMS3 而不是 ELBEMP,但一切似乎都在应用,并且 v$archived_log 中没有未应用的日志
有人对如何摆脱错误消息有任何想法吗?