Knight, Doug wrote:
All,
I am setting up a Filesystem resource to maintain an NFS mount on a
client system. I've configured a monitor function that checks every 15
minutes, timeout 1 minute. When an error occurs with the NFS mount (the
server is down for any length of time, etc), I'd like heartbeat to just
retry periodically to remount the NFS mount, rather than run monitor a
few times and error out. What is the best way to configure a resource
like this? I had considered increasing the failcount threshold (how to
do that?). Is there another way, maybe some way to tell heartbeat that
if the resource has failed, its OK, just keep trying, etc? Any
suggestions would be great.
All this is for version >= 1.0
The default value of "migration-threshold" is 0. Which means - don't
care about the failure count of a resource, just keep re-starting it.
Then, setup a rsc_location constraint for your NFS on the node you want it.
Regards
Dominik
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/