LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

RE: Ipvsadm/ldirectord changes weight automatically?

To: "'LinuxVirtualServer.org users mailing list.'" <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: RE: Ipvsadm/ldirectord changes weight automatically?
From: "Son Nguyen" <trungson@xxxxxxxxx>
Date: Tue, 12 Jul 2005 14:19:56 -0700
Horms,

I believe the problem is because there were two running ldirectord daemons
(I changed the settings then restarted ldirectord). How could it be
possible? It seems when I did "service ldirectord restart/stop" it does not
really stop. Should ldirectord check for existing daemon when starting?

The rpm for ldirectord is from UltraMonkey:
heartbeat-ldirectord-1.2.3.cvs.20050404-1.rh.el.um.1.i386.rpm

I killed the daemons and make sure it has only one running daemon and it
does not change the weight anymore.

Thanks for your time,
Son Nguyen

> -----Original Message-----
> From: lvs-users-bounces@xxxxxxxxxxxxxxxxxxxxxx 
> [mailto:lvs-users-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Horms
> Sent: Tuesday, July 12, 2005 1:43 PM
> To: LinuxVirtualServer.org users mailing list.
> Subject: Re: Ipvsadm/ldirectord changes weight automatically?
> 
> On Tue, Jul 12, 2005 at 08:31:47AM -0700, Son Nguyen wrote:
> > [sorry for the repost, my previous post of this appeared as 
> a reply to 
> > another thread]
> > 
> > Hello,
> > 
> > I originally setup in ldirectord.cf, with the weights are 
> 3-2-1. Later 
> > (couple hours) I checked with ipvsadm, it showed 2-2-1, and 
> now 2-1-1. 
> > Does ipvsadm automatically change the weight?
> 
> No, ipvsadm cannot do this. Ldirectord, which you seem to be 
> using, can change weights, but only between 0 and whatever 
> weight you have set in the configuration file. The behaviour 
> you describe below sounds a lot like a bug in ldirectord. 
> Which version are you using? Can you try updating to the 
> lastest CVS version? 
> 
> http://www.vergenet.net/linux/ldirectord/
> 
> --
> Horms
> _______________________________________________
> LinuxVirtualServer.org mailing list - 
> lvs-users@xxxxxxxxxxxxxxxxxxxxxx Send requests to 
> lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
> or go to http://www.in-addr.de/mailman/listinfo/lvs-users
> 


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