Re: keepalived may broke ipvs one-packet scheduling

"Ryan O'Hara" <[email protected]>
Newsgroups gmane.linux.keepalived.devel
Message-ID <[email protected]>
On Tue, Aug 27, 2013 at 11:30:09AM +0800, Drunkard Zhang wrote:
> Maybe I'm wrong, by explanation of Julian Anastasov, I think it's all
> because keepalived's not supporting of --ops in ipvsadm.

Since keepalived uses an in-tree copy of libipvs, it almost certainly
isn't up to date with upstream ipvsadm/libipvs. Perhaps it would be
worthwhile to update libipvs in keepalived and test that everything
works as expected.

Ryan


> 2013/8/26 Drunkard Zhang <[email protected]>:
> > If start keepalived before apply --ops of ipvsadm, the whole ipvs
> > subsystem seems broken, here it is:
> >
> > 1. --ops not working, but the config in /proc/net/ip_vs all looks reasonable.
> >
> > 2. Conns and Conns/s in /proc/net/ip_vs_stats_percpu are always a
> > fixed little number, but it's a counter, should always changing by
> > traffic.
> >
> > 3. .ipvsadm -C doesn't fix it, but ./ipvsadm -C && rmmod ip_vs_wrr
> > ip_vs && ./ipvsadm -R rules-with-ops" works
> >
> > Here's full story:
> > http://archive.linuxvirtualserver.org/html/lvs-devel/2013-08/msg00064.html
> >
> > Here's extra information:
> > I'm using keepalived-1.2.7 and git version of ipvsadm while tesing,
> > and I'm using wrr as scheduling  algorithm.
> 
> ------------------------------------------------------------------------------
> Introducing Performance Central, a new site from SourceForge and 
> AppDynamics. Performance Central is your source for news, insights, 
> analysis and resources for efficient Application Performance Management. 
> Visit us today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
> _______________________________________________
> Keepalived-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/keepalived-devel

------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.