> [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,

Hi,

well all these virtual machines belong to me and my company. So there are
no complaining customers.. And it is possible to live migrate a xen domain
with an downtime of 300ms or less. So no normal user would ever realize
the migration process.

The problem is that I would like to have both, live migration and HA. If I
migrate a domain manually I have to tell it heartbeat anyway or the nodes
start shooting each other.

So the next step is to let heartbeat decide where to run the domains
depending on load and to write a ocf script thats start/stop actions do a
live migration.

All I need is a possibility to tell crm which node has how much load.
Does someone know how to achieve that?

Cheers,
Holger

> --
> 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
>


_______________________________________________
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