[lvs-users] help with ipvsadm and setting weight

chris barry Christopher.Barry at QLogic.com
Thu Jan 10 16:21:08 GMT 2008


On Thu, 2008-01-10 at 10:10 -0600, Randy Paries wrote:
> 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
> 
> _______________________________________________
> LinuxVirtualServer.org mailing list - lvs-users at LinuxVirtualServer.org
> Send requests to lvs-users-request at LinuxVirtualServer.org
> or go to http://lists.graemef.net/mailman/listinfo/lvs-users


try ipvsadm-save >mytable
edit mytable like you want
then ipvsadm-restore <mytable

-C


Search lvs-users Archives
Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort

More information about the lvs-users mailing list