[21.05] zebra restart tuning and keepalived integration #1097
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This change raises the startup backoff limits for zebra. The system default restart settings allow zebra to restart up to five time in 60 seconds, however in some circumstances where zebra has crashed due to the system being overloaded, it may take longer for the conditions causing zebra to crash to clear, so this change raises the limit to 20 times in 120 seconds.
Additionally, when zebra crashes on the primary router in a location, this should ideally cause the router to demote itself and let the secondary take over. This change adds a new check script to the keepalived configuration in all locations to monitor the liveness of zebra.
PL-132950
@flyingcircusio/release-managers
Release process
Impact: internal.
Changelog: none.
PR release workflow (internal)
Design notes
on
oroff
. Example: rate limiting.Security implications