查看: 1748|回复: 0

[Oracle数据库] 12c ADG 延迟报警

发表于 2018-1-25 08:00:00
12c ADG 延迟告警,延迟消失后,告警自动消失。
  1. DGMGRL> show configuration;
  2. Configuration - dg_config
  3. Protection Mode: MaxPerformance
  4. Members:
  5. orcldg - Primary database
  6. orcl - Physical standby database
  7. Warning: ORA-16857: standby disconnected from redo source for longer than specified threshold
  8. Fast-Start Failover: DISABLED
  9. Configuration Status:
  10. WARNING (status updated 41 seconds ago)
  11. DGMGRL> exit
  12. <roidb01:orcl:/home/oracle>$oerr ora 16857
  13. 16857,0000, "standby disconnected from redo source for longer than specified threshold"
  14. // *Cause: The amount of time the standby was disconnected from the
  15. // redo source database exceeded the value specified by the
  16. // 'TransportDisconnectedThreshold' database property. It is caused by
  17. // no network connectivity between the redo source and the standby
  18. // databases.
  19. // *Action: Ensure that there is network connectivity between the redo source
  20. // and standby databases, and the redo source is working properly.
  21. <roidb01:orcl:/home/oracle>$dgmgrl /
  22. DGMGRL for Linux: Version 12.1.0.2.0 - 64bit Production
  23. Copyright (c) 2000, 2013, Oracle. All rights reserved.
  24. Welcome to DGMGRL, type "help" for information.
  25. Connected as SYSDG.
  26. DGMGRL> show configuration;
  27. Configuration - dg_config
  28. Protection Mode: MaxPerformance
  29. Members:
  30. orcldg - Primary database
  31. orcl - Physical standby database
  32. Fast-Start Failover: DISABLED
  33. Configuration Status:
  34. SUCCESS (status updated 20 seconds ago)
  35. DGMGRL>
复制代码
说明:
  1. The Data Guard broker also has configurable database properties that can be used to generate warnings when a transport or apply lag exceed a user defined value:
  2. The ApplyLagThreshold configurable database property generates a warning status for a logical or physical standby when the database's apply lag exceeds the value specified by the property. The property value is expressed in seconds. A value of 0 seconds results in no warnings being generated when an apply lag exists. As a best practice, Oracle recommends setting ApplyLagThreshold to at least 15 minutes.
  3. The TransportLagThreshold configurable database property can be used to generate a warning status for a logical, physical, or snapshot standby when the database's transport lag exceeds the value specified by the property. The property value is expressed in seconds. A value of 0 seconds results in no warnings being generated when a transport lag exists. As a best practice, Oracle recommends setting TransportLagThreshold to at least 15 minutes.
复制代码


回复

使用道具 举报