On Tue, Oct 25, 2011 at 02:29:55PM -0500, Dimitri Maziuk wrote: > On 10/25/2011 02:00 PM, Andreas Kurz wrote: > > On 10/25/2011 07:51 PM, Hai Tao wrote: > >> > >> actually what I saw is that both nodes shut down heartbeat, and then > >> restarted heartbeat > > > > I guess you are using Heartbeat v1 .... without crm but haresources > > config file? > > I guess he's confused or trolling because in v1 there's no way heartbeat > can restart itself.
No, absolutely not. That's exactly what "haresources" mode does. Once it detects that a split brain happened, that is, it detects that an assumed to be dead node was alive after all (which implies that no stonith was configured), it complains about "Cluster node xyz returning after partition", ... SplitBrain ... deadtime may be too small ... and so on, then causes a shutdown/restart. Which is supposed to result in all started resources to be stopped, and then will do a clean restart without resources on any node, starting the resource group(s) on the preferred nodes. So yes, this works as designed, for haresources mode; in crm/pacemaker mode, heartbeat won't initiate any such shutdown/restart, but crmd respectively the policy engine (pengine) will figure out what resource management work needs to be done. -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http://www.linbit.com _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
