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: Fri, 11 May 2001 09:55:20 -0700
On Fri, May 11, 2001 at 10:47:45AM -0400, Joseph Mack wrote:
> Bowie Bailey wrote:
> 
> > I did this:
> >    ipvsadm -a -t 172.16.17.30:80 -r 172.16.17.168:80 -g -w 0
> > 
> > and it gave me an error:
> >    setsockopt failed: File exists
> >    Destination already exists
> 
> well what do you know. I've never done this. You can't change weights without
> first deleting the entry. 
> 
> I deleted an entry, reinstalled it with weight 0
> and couldn't connect (as expected), then deleted the entry and reinstalled
> with weight 1 and now could connect.
> 
> I can't beleive no-one has mentioned this before

This is not an I told you so, but it is in the ipvsadm man page.

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


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