LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

[lvs-users] lvs-cwol (change weight on load)

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: [lvs-users] lvs-cwol (change weight on load)
From: Léon Keijser <keijser@xxxxxxxxxxxx>
Date: Mon, 04 May 2009 11:19:01 +0200
Hi,

I made 2 small python scripts consisting of a server and client side
program. The 'server.py' runs on the director, the 'client.py' on the
realserver(s). Server.py starts an XMLRPC service that the clients
report their Load(avg) to. Based on a set of predefined variables, the
director then changes the weight of the realserver when the load of the
realserver changes.

The script is far from perfect, or even tested in a production
environment (only local kvm's were tested) but does its job. Maybe it's
useful for someone. 

Files can be found at http://github.com/lkeijser/lvs-cwol/tree/master

regards,

-- 
Léon


_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users
<Prev in Thread] Current Thread [Next in Thread>
  • [lvs-users] lvs-cwol (change weight on load), Léon Keijser <=