Hi, On Wed, Jan 16, 2008 at 03:29:59PM +1300, Steve Wray wrote: > Hi there, > > I have two servers set up with drbd, heartbeat and NFS. > > They are only talking over the network, there is no serial heartbeat, and > can't be at the moment. > > What I'd like to happen is that if either one loses network connectivity > they "sit down and shut up", ie the one which cannot reach, say, the > router, does not try to become the active node; it sends drbd into > standalone, does not mount the drbd filesystem, does not bring up NFS and > does not bring up the floating interface. It has lost network, it should go > into a 'passive' mode and wait for the network to come back. > > I tried using 'ping' with "respawn hacluster /usr/lib/heartbeat/ipfail" and > to list a few IP addresses which should be reachable, but this doesn't seem > to do what I want. Rather, when it loses network and cannot ping them it > puts drbd into standalone, mounts the drbd filesystem, starts NFS and > brings up the interface on the floating address... seems a bit wierd to me. > > Is there an FAQ or something for this?
If you're using v1 style configuration, then ipfail is the right thing. Otherwise, you should go with the pingd. See: http://www.linux-ha.org/ipfail http://linux-ha.org/pingd Thanks, Dejan > > Thanks > _______________________________________________ > 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
