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>
Julian Anastasov <ja@xxxxxx>