Am Dienstag, 22. September 2009 17:06:28 schrieb Jason Fitzpatrick:
> Hi all.
>
> I was greeted yesterday by our 2 node Heartbeat, DRBD, CUPS, SMB server
> having problems printing,
>
> it seemed that the root drive had filled up due to a corrupt log, and that
> there was no space for the print spooler to hold jobs, and I was wondering
> if there is any way of setting heartbeat to fail over resources in the
> event there are disk resource issues. (I have alerting setup, but this
> happened over the weekend on a server that is in test and not a priority)
>
> Thanks a mill
>
> Jay

Have a look at the sysoinfo resource. If called with monitor it looks for some 
parameters of the system, like CPU usage and space on root partition. You can 
make a location constraint to move resources if the space mark is too low.

If you want to watch your /var partition just change the sysinfo resource 
script. it is bash and changes should be quite simple.

The other option is to use #system-health attributes. See:
http://www.clusterlabs.org/wiki/SystemHealth

You would need to write a Health Deamon that looks for df on the partitions. 
Please publish your code. This would be of public interest.

Greetings,

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

Reply via email to