Shilu
2015-10-16 09:20:53 UTC
When master is down, can the time of switching backup to master be shorter than a second?
The following is the switching time about keepalived. Can Heartbeat be more excellent?
No, it can't be shorter than 1 second. This is a VRRP protocol limitation. Most enterprise-class VRRP implementation are using a BFD protocol to achieve sub-second fault detection time. I've created proof-of-concept BFD subsystem for keepalived some time ago - https://github.com/ivoronin/keepalived/tree/bfd . Unfortunately it is not well tested and not suitable for production use.
-------------------------------------------------------------------------------------------------------------------------------------
????????????????????????????????????????
????????????????????????????????????????
????????????????????????????????????????
???
This e-mail and its attachments contain confidential information from H3C, which is
intended only for the person or entity whose address is listed above. Any use of the
information contained herein in any way (including, but not limited to, total or partial
disclosure, reproduction, or dissemination) by persons other than the intended
recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender
by phone or email immediately and delete it!
The following is the switching time about keepalived. Can Heartbeat be more excellent?
No, it can't be shorter than 1 second. This is a VRRP protocol limitation. Most enterprise-class VRRP implementation are using a BFD protocol to achieve sub-second fault detection time. I've created proof-of-concept BFD subsystem for keepalived some time ago - https://github.com/ivoronin/keepalived/tree/bfd . Unfortunately it is not well tested and not suitable for production use.
-------------------------------------------------------------------------------------------------------------------------------------
????????????????????????????????????????
????????????????????????????????????????
????????????????????????????????????????
???
This e-mail and its attachments contain confidential information from H3C, which is
intended only for the person or entity whose address is listed above. Any use of the
information contained herein in any way (including, but not limited to, total or partial
disclosure, reproduction, or dissemination) by persons other than the intended
recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender
by phone or email immediately and delete it!