On Tue, Oct 14, 2008 at 9:40 AM, Dejan Muhamedagic <[EMAIL PROTECTED]>wrote:

> Hi,
>
> On Tue, Oct 14, 2008 at 08:48:36AM -0500, Paras pradhan wrote:
> > My ha.cf entry looks like:
> > node1:
> >
> > logfacility local0
> > keepalive 2
> > udpport 694
> > deadtime 15
> > warntime 5
> > initdead 60
> > ucast eth0 10.42.40.198
> > ucast eth0 10.42.40.26
> > auto_failback off
> > stonith_host * suicide ha1.domain.local
> > watchdog /dev/watchdog
> > debugfile /var/log/ha-debug
> > node ha1.domain.local
> > node ha2.domain.local
> >
> >
> > node2:
> >
> > logfacility local0
> > keepalive 2
> > udpport 694
> > deadtime 15
> > warntime 5
> > initdead 60
> > ucast eth0 10.42.40.198
> > ucast eth0 10.42.40.26
> > auto_failback off
> > stonith_host * suicide ha2.domain.local
> > watchdog /dev/watchdog
> > debugfile /var/log/ha-debug
> > node ha1.domain.local
> > node ha2.domain.local
> >
> > What does the below log file on node2 means when I turn off the eth0 on
> > node1.
> >
> > Oct 13 17:09:25 ha2 heartbeat: [6841]: WARN: node ha1.domain.local: is
> dead
> > Oct 13 17:09:25 ha2 heartbeat: [6841]: info: Link ha1.domain.local:eth0
> > dead.
> > Oct 13 17:09:25 ha2 heartbeat: [6980]: info: Resetting node
> ha1.domain.local
> > with [Suicide STONITH device]
> > Oct 13 17:09:25 ha2 heartbeat: [6980]: ERROR: glib: ha2.domain.local
> doesn't
> > control host [ha1.domain.local]
> > Oct 13 17:09:25 ha2 heartbeat: [6980]: ERROR: Host ha1.domain.local not
> > reset!
> > Oct 13 17:09:25 ha2 heartbeat: [6841]: WARN: Managed STONITH
> > ha1.domain.local process 6980 exited with return code 1.
> > Oct 13 17:09:25 ha2 heartbeat: [6841]: ERROR: STONITH of ha1.domain.local
> > failed.  Retrying...
> > Oct 13 17:09:30 ha2 heartbeat: [6981]: info: Resetting node
> ha1.domain.local
> > with [Suicide STONITH device]
> > Oct 13 17:09:30 ha2 heartbeat: [6981]: ERROR: glib: ha2.domain.local
> doesn't
> > control host [ha1.domain.local]
> > Oct 13 17:09:30 ha2 heartbeat: [6981]: ERROR: Host ha1.domain.local not
> > reset!
> >
> >
> >
> > I need node1 to be shutdown when eth0 on node1 is down.
>
> How do you expect node2 to fence node1 with the suicide plugin?
>
> > Any help will be greatly appreciated.
>
> You need a better stonith device. That's not ssh.
>
> Thanks,
>
> Dejan
>
> > Paras.
> > _______________________________________________
> > 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





Thats what I am getting in my log. I do not want node1 to be fenced by node2
. What I needed is node1 should be self fenced by suicide plugin.

I want to know if my ha.cf needs to be changed.

Thanks
Paras.
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to