Re: reweighting a server

To: Brian Edmonds <bedmonds@xxxxxxxxxxx>
Subject: Re: reweighting a server
Cc: <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
From: Julian Anastasov <ja@xxxxxx>
Date: Wed, 22 Nov 2000 23:46:47 +0000 (GMT)

On 22 Nov 2000, Brian Edmonds wrote:

> Is there a single operation way to reweight a server?  I'd like to
> rebuild the web software on one of my real servers without affecting any
> users, so I figure reweighting its lvs rule to zero and waiting for the
> active connections to go to zero before making any changes is the way to
> go.  I don't see any ipvsadm options for changing a weight.  Will
> deleting the rule and re-adding an identical one with weight zero effect
> active connections?

        You are right, there is ipvsadm -e option which is missing
from the explanations in the man page but is in the short descriptions.

ipvsadm -e ... -w <weight>

> Brian.


Julian Anastasov <ja@xxxxxx>

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