-
-
Notifications
You must be signed in to change notification settings - Fork 737
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
Add a checker merge config #2111
Comments
@wangxp006 We welcome contributions to the code, and the best thing to do is to submit a pull request. I have been meaning to do something like this (for all checkers) for a long time. However, my approach, from the configuration side, would be slightly different, and it would follow the way
The I was thinking that it should have the following options: Please let me know if you are happy with the above suggestion. You can either submit your code changes as they currently are and I will add a further patch to change the configuration to how I have set it out above, or you could change the configuration aspects of your code changes to the above and then submit it. Either way I look forward to you submitting your code. |
OK, I'll try to push the code next week。 |
#2120 |
Is your feature request to resolve a problem or provide enhanced functionality? Please describe.
Dear pqarmitage, we have this problem
The backend server is nginx, it may has more than 50 workers. And we have more than 10 backend server.
So, in keepalived, we will send 500+ checker packet in every check period.
Describe the solution you would like
We would like to check every backend server once in every check period.
If the check return ok, than we think all workers in nginx is work ok.
Even if one worker is down, nginx will reload the worker,short term failure is acceptable to us.
Describe alternatives you have considered
We add a new config "checker_merge " in virtual_server 。
With this config ,if RS in the VS has same IP addr,We will only send a check message once with first port.
For example, the above configuration. we will only send check message to 192.168.31.248 5001。
And if check message returns OK, All three RS above will online.
We have finish this function development, and it seems to work well.
Is it possible that we can contribute this part of the code to the community ?
Keepalived version
Keepalived v2.2.4
The text was updated successfully, but these errors were encountered: