Here's the status right after I issued the "ldirectord ldirectord.cf reload" command: Prot LocalAddress:Port Scheduler Flags -> RemoteAddress:Port Forward Weight ActiveConn InActConn TCP VIP1:http lc -> RIP1-2:http Route 1 2177 1 -> RIP1-1:http Local 1 41 188 TCP VIP2:http lc -> RIP2-2:http Route 1 3717 0 -> RIP2-2:http Local 1 144 378
After 5 minutes Prot LocalAddress:Port Scheduler Flags -> RemoteAddress:Port Forward Weight ActiveConn InActConn TCP VIP1:http lc -> RIP1-2:http Route 1 1364 0 -> RIP1-1:http Local 1 90 318 TCP VIP2:http lc -> RIP2-2:http Route 1 2250 0 -> RIP2-2:http Local 1 163 752 After about 15 minutes Prot LocalAddress:Port Scheduler Flags -> RemoteAddress:Port Forward Weight ActiveConn InActConn TCP VIP1:http lc -> RIP1-2:http Route 1 108 1 -> RIP1-1:http Local 1 106 308 TCP VIP2:http lc -> RIP2-2:http Route 1 203 5 -> RIP2-2:http Local 1 199 485 Seems like the number is getting towards balance, but the increasing number of InActConn makes me uncomfortable. Any ideas? BTW, I installed heartbeat-ldirectord and heartbeat 2.1.3-3.el5 via yum on CentOS-5.3, 64bit. Regards, Yan 2009/9/27 Simon Horman <[email protected]> > On Sun, Sep 27, 2009 at 09:45:14AM +0800, Liu Yan wrote: > > Simon, > > > > Thanks for the reply. > > > > What's the best way to change the config (from rr to lc) with minimal > > impact to the service? > > Firstly update the ldirectord.cf file so taht all instances of > scheduler=rr are changed to scheduler=lc. > > Then reload ldirectord. > > ldirectord ldirectord.cf reload > > _______________________________________________ > Please read the documentation before posting - it's available at: > http://www.linuxvirtualserver.org/ > > LinuxVirtualServer.org mailing list - [email protected] > Send requests to [email protected] > or go to http://lists.graemef.net/mailman/listinfo/lvs-users > _______________________________________________ Please read the documentation before posting - it's available at: http://www.linuxvirtualserver.org/ LinuxVirtualServer.org mailing list - [email protected] Send requests to [email protected] or go to http://lists.graemef.net/mailman/listinfo/lvs-users
