LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Changing server weights

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: Changing server weights
Cc: lmb@xxxxxxx
From: Horms <horms@xxxxxxxxxxxx>
Date: Fri, 11 May 2001 09:53:52 -0700
On Fri, May 11, 2001 at 11:50:03AM -0400, Joseph Mack wrote:
> Lars Marowsky-Bree wrote:
> 
> > > well what do you know. I've never done this. You can't change weights 
> > > without
> > > first deleting the entry.
> > 
> > Of course you can.
> > 
> > ipvsadm -e
> 
> I didn't know about the -e option.
> 
> It doesn't solve the problem - you still have to run 2 commands,
> one to find out whether the service is already installed and then
> the command with the -e.
> 
> I'd like a command that sets the weight for the service no matter what
> it's previous state.

So if the service doesn't exist it would be the same as running
ipvsadm -a ...

But if the service already exists  it would be the same as the current
behaviour for ipvsadm -e ..

Is this what you are after? It certainly seems like a good idea to me.

-- 
Horms
 horms@xxxxxxxxxxxx 
 http://vergenet.net/~horms/


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