[EMAIL PROTECTED] wrote:
> Hi,
> 
> I am using HA-V2 and would like to implement a script or program
> which can be used for real load balancing. It should run every x
> seconds and determine the cpu+IO load of the host and change a
> regarding node attribute. Then crm should use this attribute and a
> threshold in location constraints to place a resource at a better
> host (with less load). I am not talking about IP load balancing. I'd
> like to move virtual machines between the hosts depending on the
> hosts load.
> 
> Is this possible and how could it be done? Has someone done this
> already or has any experience?

Holger,

I'm not quite sure that this is actually a good idea, in the case of
virtual machines.

How are you planning to decide which machine should be moved? I mean,
moving a virtual machine around requires at least a reboot, and the
virtual machine owner usually will complain loudly and in rough terms if
his/her machine starts rebooting without control, just in because a
funny script somewhere decided it must move around.

My advice is to drop the load balance strategy and try implementing
co-location rules that forbid known resource-hog machines to run together.

Alternatively, try piling up more hardware, if you can. ;)

Good luck,
-- 
Luis Motta Campos (a.k.a. Monsieur Champs) is a software engineer,
Perl fanatic evangelist, and amateur {cook, photographer}

_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to