Skip to content
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

How to config lvs_timeouts? #639

silenceshell opened this issue Aug 15, 2017 · 2 comments


None yet
2 participants
Copy link

commented Aug 15, 2017

I want to specify lvs_timeouts for lvs, to keep session remainning for 7200s.
I add a line in global_defs, like:

global_defs {
   lvs_timeouts tcp 7200 tcpfin 120 udp 300

But after keepalived started, the ipvsadm -l --timeout is not affected, still the old values(900 120 300). No errors in logs.
Is there something I have to add for lvs_timeouts?


This comment has been minimized.

Copy link

commented Aug 15, 2017

Do you have an lvs_sync_daemon statement in your globl_defs? Without that, keepalived won't set the sync daemon timeouts.


This comment has been minimized.

Copy link

commented Aug 15, 2017

After add lvs_sync_daemon in globl_defs, lvs_timeouts works.
Thanks! @pqarmitage

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.