LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

[lvs-users] help with ipvsadm and setting weight

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: [lvs-users] help with ipvsadm and setting weight
From: "Randy Paries" <rtparies@xxxxxxxxx>
Date: Thu, 10 Jan 2008 10:10:05 -0600
Hello,
i need to change the weighing of a server and have a couple of
questions. I do not have a place to play so i do not want to screw up.

currently  i have
ipvsadm
IP Virtual Server version 1.0.10 (size=65536)
Prot LocalAddress:Port Scheduler Flags
  -> RemoteAddress:Port           Forward Weight ActiveConn InActConn
TCP  www.unitnet.com:http wlc persistent 1800 mask 255.255.255.0
  -> local.flanders:http          Route   1      108        124
  -> local.smithers:http          Route   1      107        548
  -> local.lovejoy:http           Route   1      97         104
TCP  www.unitnet.com:https wlc persistent 1800 mask 255.255.255.0
  -> local.flanders:https         Route   1      0          0


I assume that the higher the the more connections it will get?

So i thought i would do
#ipvsadm -t local.flanders -w 2

but i get the error Try `ipvsadm -h' or 'ipvsadm --help' for more information.

Also is there a way to make this permanent or do i have to set it each reboot?

Thanks
Randy


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