Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux Virtual Server: Users

reweighting a server

 

 

Linux Virtual Server users RSS feed   Index | Next | Previous | View Threaded


bedmonds at antarcti

Nov 22, 2000, 1:04 PM

Post #1 of 6 (372 views)
Permalink
reweighting a server

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?

Brian.


ratz at tac

Nov 22, 2000, 2:25 PM

Post #2 of 6 (368 views)
Permalink
Re: reweighting a server [In reply to]

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?

How about ipvsadm -e?

regards,
Roberto Nibali, ratz

--
mailto: `echo NrOatSz [at] tPacA | sed 's/[NOSPAM]//g'`


bedmonds at antarcti

Nov 22, 2000, 4:00 PM

Post #3 of 6 (368 views)
Permalink
Re: reweighting a server [In reply to]

Julian Anastasov <ja [at] ssi> writes:
> there is ipvsadm -e option which is missing from the explanations in
> the man page but is in the short descriptions.

Ah, thanks. Silly me, reading the man page. :)

Brian.


ja at ssi

Nov 22, 2000, 4:46 PM

Post #4 of 6 (372 views)
Permalink
Re: reweighting a server [In reply to]

Hello,

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.


Regards

--
Julian Anastasov <ja [at] ssi>


hayden at spinbox

Nov 23, 2000, 10:00 AM

Post #5 of 6 (367 views)
Permalink
Re: reweighting a server [In reply to]

ipvsadm -E vsname:vsport -r rsname:rsport -w [weight]. You can get info
from the ipvsadm man but weight can be from 0 to 65535,


Hayden Myers
Skyline Network Technologies
hayden [at] spinbox
(888)917-1600x120


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?
>
> Brian.
>
> _______________________________________________
> LinuxVirtualServer.org mailing list - lvs-users [at] LinuxVirtualServer
> Send requests to lvs-users-request [at] LinuxVirtualServer
> or go to http://www.in-addr.de/mailman/listinfo/lvs-users
>


bedmonds at antarcti

Nov 23, 2000, 10:14 AM

Post #6 of 6 (369 views)
Permalink
Re: reweighting a server [In reply to]

Hayden Myers <hayden [at] spinbox> writes:
> ipvsadm -E vsname:vsport -r rsname:rsport -w [weight]. You can get
> info from the ipvsadm man but weight can be from 0 to 65535,

Doesn't work. The -e flag (undocumented in the manpage), as mentioned
by other responses does.

Brian.

Linux Virtual Server users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.