[Linux-HA] How stonith works
fengyandong
fengyandong at nrchpc.ac.cn
Thu Oct 15 07:29:52 MDT 2009
Yes, if the power of the node is pulled out, the stonith device can not
work.
On Thu, Oct 15, 2009 at 9:14 PM, Dejan Muhamedagic <dejanmm at fastmail.fm>wrote:
> Hi,
>
> On Thu, Oct 15, 2009 at 09:12:35PM +0800, fengyandong wrote:
> > I see from the ha-log that if the power of the active node did not push
> back
> > in 2 minutes, the passive node would fail to stonith the active node
> because
> > of timeout, then the passive node would not stonith the passive node
> again
> > when the power of the active node pushed back and the stonith daemon
> would
> > stop so that the stonith on the passive would never work.
>
> /me completely lost :)
>
> BTW, does you stonith device depend on the node's power? If
> that's so, then your scenario is simply not valid.
>
> Thanks,
>
> Dejan
>
> > On Thu, Oct 15, 2009 at 8:18 PM, Dejan Muhamedagic <dejanmm at fastmail.fm
> >wrote:
> >
> > > Hi,
> > >
> > > On Thu, Oct 15, 2009 at 07:59:47PM +0800, fengyandong wrote:
> > > > heartbeat version: 2.1.4
> > > > Two nodes are configred in active/passive mode with stonith.
> > > > Two quesiont:
> > > > 1 . If the power of active node was pulled out, then pushed in as
> soon as
> > > > possible, how does the passive node react?
> > > >
> > > > 2. If the power of active node was pulled out, then after some time
> > > pushed
> > > > in, how does the passive node react?
> > >
> > > If the deadtime is shorter than the time the node needs to boot
> > > and start heartbeat, the live node is going to try to fence
> > > (stonith) the rebooting node. The difference between the two
> > > cases is only in timing. Or did I misunderstood your questions?
> > >
> > > Thanks,
> > >
> > > Dejan
> > >
> > > > Any help,
> > > > Thanks!
> > > > _______________________________________________
> > > > Linux-HA mailing list
> > > > Linux-HA at lists.linux-ha.org
> > > > http://lists.linux-ha.org/mailman/listinfo/linux-ha
> > > > See also: http://linux-ha.org/ReportingProblems
> > > _______________________________________________
> > > Linux-HA mailing list
> > > Linux-HA at lists.linux-ha.org
> > > http://lists.linux-ha.org/mailman/listinfo/linux-ha
> > > See also: http://linux-ha.org/ReportingProblems
> > >
> > _______________________________________________
> > Linux-HA mailing list
> > Linux-HA at lists.linux-ha.org
> > http://lists.linux-ha.org/mailman/listinfo/linux-ha
> > See also: http://linux-ha.org/ReportingProblems
> _______________________________________________
> Linux-HA mailing list
> Linux-HA at lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>
More information about the Linux-HA
mailing list