LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Changing server weights

To: <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: Changing server weights
From: Wensong Zhang <wensong@xxxxxxxxxxxx>
Date: Sun, 13 May 2001 09:08:09 +0800 (CST)
On Sat, 12 May 2001, 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

No, you needn't. You need use the "-e" to change its weight if the server
is already there.

> (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

No, you don't have to trap errors. Piranha monitoring code works well in
weight adaption using the "-e" option.

Cheers,

Wensong

> 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)".
>
> Joe
>
> --
> Joseph Mack mack@xxxxxxxxxxx
>
>
> _______________________________________________
> 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>