> exactly. I personally use 3-ware raid controllers with a raid-1 (mirror) > configured. I monitor these controllers with nagios and switch disks > within 2 days, if one dies. But you could also use a linux software raid > and _sata_ not _pata_ disks to obtain the above. Another way to detect > disk-failures would be a ressource agent who does something like > invalidating the buffer cache and run a find or ls on the filesystem. > And put that resource agent into your group that contains exim. > > The monitor action would be something like that > > if -f /var/run/ressource-agent is running; then > sync; echo 3 > /proc/sys/vm/drop_caches > ls / &> /dev/null && exit 0 || exit 1 > > else > exit 7; > fi
Thomas, Thank you for your reply and suggestions. I am unsure how to monitor this new agent. On my current setup, it will only fail over if the heartbeat is not detected. Do I need version 2 for this to happen? _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
