On Tue, Aug 14, 2007 at 10:30:20PM +0300, Maxim Veksler wrote: > On 8/14/07, Michael Schwartzkopff <[EMAIL PROTECTED]> wrote: > > > > Hi, > > > > 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? > > > > Thanks of any hints. > > > > I would go with monit, and cause it to execute custom crm_resource commands > if check conditions met.
It should be even better to have something similar to pingd: an RA which would update attributes in the CIB. The SysInfo RA you mentioned fits the purpose in part (though I never tried it myself). It doesn't have disk space monitoring though. > I don't know what heartbeat internal checks are there to fill this gap, OTOH > I think that the rational should be : If your monitor actions are still OK > then you don't _need_ a failover. Right. However, one should check if the monitor is smart enough. Many people still use LSB scripts as RAs and for the most part their status functions are not up to the task (nor they have to be). Typically, they just test if a process is running. I can distinctly remember one case where a server ran fine and responded fine to some requests, but none could be processed because the filesystem where queues resided was out of inodes. The monitor was not that bad, it probed the server with a kind of a "how are you?" requests, but still not deep enough to catch this error. Afterwards, the monitor was updated to send a regular request to a dummy queue and see if it has been properly processed. > -- > > Dr. Michael Schwartzkopff > > MultiNET Services GmbH > > Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany > > Tel: +49 - 89 - 45 69 11 0 > > Fax: +49 - 89 - 45 69 11 21 > > mob: +49 - 174 - 343 28 75 > > > > mail: [EMAIL PROTECTED] > > web: www.multinet.de > > > > Sitz der Gesellschaft: 85630 Grasbrunn > > Registergericht: Amtsgericht München HRB 114375 > > Geschäftsführer: Günter Jurgeneit, Hubert Martens > > > > --- > > > > PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B > > Skype: misch42 > > _______________________________________________ > > Linux-HA mailing list > > [email protected] > > http://lists.linux-ha.org/mailman/listinfo/linux-ha > > See also: http://linux-ha.org/ReportingProblems > > > > > > -- > Cheers, > Maxim Veksler > > "Free as in Freedom" - Do u GNU ? > _______________________________________________ > 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
