LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Changing server weights

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: Changing server weights
From: Horms <horms@xxxxxxxxxxxx>
Date: Sat, 12 May 2001 12:33:10 -0700
On Sat, May 12, 2001 at 06:47:50AM -0400, Joseph Mack wrote:
> On Sat, 12 May 2001, Wensong Zhang wrote:
> 
> > I don't think that we need change this. Let us keep it simple, 
> 
> 
> that's why I want the change. In a script, if I want to set the weight of
> a connection to 'int', at the moment I need to know whether the weight is
> already set. If it is set, I have to first delete it and then re-add it
> (or else edit it). If it isn't set, I add it. But no matter what I do, I
> have to first run commands and trap errors. People get alarmed if the
> output of a script says "you may get an error here and then you may not,
> we don't know, but you can ignore it (if it happens)".

My intial reaction to this was the same as Wensong's, but on thinking
about it more I think Joe makes a lot of sense. I've sent Joe and
Wensong a patch that merges the behaviour of add and edit. I'll leave
it to Wensong to decide to include it or not.

-- 
Horms


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