-
Notifications
You must be signed in to change notification settings - Fork 1.8k
ipfailover - control preempt strategy #4674
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This allows the admin to control the VRRP preempt strategy. The default strategy, preempt_delay , switches to the higher priority master after a (default 300) delay. The second strategy, nopreempt, suppresses switching when a higher priority host becomes available. The 'oc adm ipfailover --preempt-strategy' option can set the desired strategy. --preempt-strategy sets the OPENSHIFT_HA_PREEMPTION environment variable. bug 1465987 https://bugzilla.redhat.com/show_bug.cgi?id=1465987 origin PR 14947 openshift/origin#14947
This allows the admin to control the VRRP preempt strategy. The default strategy, preempt_delay <sec>, switches to the higher priority master after a <sec> (default 300) delay. The second strategy, nopreempt, suppresses switchin when a higher priority host becomes available. The 'oc adm ipfailover --preempt-strategy' option can set the desired strategy. --preempt-strategy sets the OPENSHIFT_HA_PREEMPTION environment variable. bug 1465987 https://bugzilla.redhat.com/show_bug.cgi?id=1465987 openshift docs PR 4674 openshift/openshift-docs#4674
This doc is applicable for 3.6 only, correct? |
@eparis It is a new feature in 3.6, origin PR 14947 |
This allows the admin to control the VRRP preempt strategy. The default strategy, preempt_delay <sec>, switches to the higher priority master after a <sec> (default 300) delay. The second strategy, nopreempt, suppresses switchin when a higher priority host becomes available. The 'oc adm ipfailover --preempt-strategy' option can set the desired strategy. --preempt-strategy sets the OPENSHIFT_HA_PREEMPTION environment variable. bug 1465987 https://bugzilla.redhat.com/show_bug.cgi?id=1465987 openshift docs PR 4674 openshift/openshift-docs#4674
Thanks @pecameron . Is this PR from a trello card? Or is this just from the mentioned BZ? |
@bfallonf, back from PTO, its a BZ (not trello) |
Sure thing. Thanks @pecameron . I'll merge this and make a followup PR. Is this for 3.6? The BZ is for version 3.4, but is targeted for 3.6. |
The customer reported they were using 3.4. We only added the new feature in 3.6. this is a 3.6 doc only. |
Great! Thanks @eparis |
Openshift 3.6
This allows the admin to control the VRRP preempt strategy.
The default strategy, preempt_delay , switches to the higher
priority master after a (default 300) delay. The second
strategy, nopreempt, suppresses switching when a higher priority host
becomes available.
The 'oc adm ipfailover --preempt-strategy' option can set the desired
strategy. --preempt-strategy sets the OPENSHIFT_HA_PREEMPTION
environment variable.
bug 1465987
https://bugzilla.redhat.com/show_bug.cgi?id=1465987
origin PR 14947
openshift/origin#14947