On 8/15/07, Christian Rishøj <[EMAIL PROTECTED]> wrote: > On 8/14/07, Michael Schwartzkopff <[EMAIL PROTECTED]> wrote: > > > is it possbile to monitor the CPU load constantly and to move resources to > > another node or declare on node dead if the load exceeds some level? Or if > > the HDD space is too low. > > How can this be done? > > Can I use the Sysinfo RA for this purposes? > > You could have a cronjob which would check the system load, translate > it to some score and update an attribute in the CIB accordingly. Then > use this score in some place constraint (in combination with a value > for resource_stickiness), letting resources move away from their > current node if the load score is above some threshold. > > For updating attributes in the CIB from a script, use this command: > > attrd_updater -n your_attribute -v some_value
spot on the other suggestion of using monit would also work _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
