LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

[lvs-users] LVS Sleep after a period of Time

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: [lvs-users] LVS Sleep after a period of Time
From: "Khing Tiong Tang" <tangkt@xxxxxxxxxx>
Date: Fri, 15 Mar 2019 20:39:48 +0800
Keepalived v1.2.10 (01/26,2014)
Redhat linux 7.0

If I left my login to the real server via the VIP for sometime, I refresh 
the client, there is a communication error. It seems like the LVS has a 
sleep time after idle for sometime. May I know if I can change the idle 
time to infinite?
My Keepalived config:
# virtual XM
virtual_server 10.40.25.235 18010 {
  delay_loop 1
  lb_algo rr
  lb_kind DR
  protocol TCP

  real_server 10.40.25.35 18010 {
        TCP_CHECK {
      connect_timeout 3
    }
  }

  real_server 10.40.25.135 18010 {
        TCP_CHECK {
      connect_timeout 3
    }
  }
}
Thanks
Reagrds...

Tang Khing Tiong
IBM Global Business Services
Mobile: +65 98588291
Email: tangkt@xxxxxxxxxx


_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users

<Prev in Thread] Current Thread [Next in Thread>