
zack at gilburd
Sep 9, 2008, 5:18 PM
Post #8 of 14
(2068 views)
Permalink
|
Gentlemen, Thank you for your replies. I have learned that "stonith" does indeed work from the command line using ipmitool and the parameters that I have defined in the CIB. I have turned up debugging to level 2 and these are the error messages I am receiving. stonithd[5467]: 2008/09/09_17:12:27 ERROR: Failed to STONITH the node ctrl2: optype=RESET, op_result=TIMEOUT tengine[6157]: 2008/09/09_17:12:27 info: tengine_stonith_callback: call=-6, optype=1, node_name=ctrl2, result=2, node_list=, action=48:4:0:7da22a2f-311e-42ec-9f25-c7149dea2e1f tengine[6157]: 2008/09/09_17:12:27 ERROR: tengine_stonith_callback: Stonith of ctrl2 failed (2)... aborting transition. I am thinking that it could be either: 1) stonithd doesn't "see" the stonith configuration in the cib 2) stonithd can't connect to heartbeat (in which case, how would stonithd know that the node is unexpectedly down?) I will continue to fiddle around until I hear back from those more knowledgeable than myself. Thanks again, Zack > Hi, > > On Tue, Sep 09, 2008 at 12:46:27AM -0700, Zack Gilburd wrote: >> Dejan Muhamedagic wrote: >>> Hi, >>> >>> On Mon, Sep 08, 2008 at 07:59:50AM -0700, Zack Gilburd wrote: >>> >>>> Lars Marowsky-Bree wrote: >>>> >>>>> On 2008-09-05T16:12:45, Zack Gilburd <zack [at] gilburd> wrote: >>>>> >>>>> >>>>>> All, >>>>>> >>>>>> I figure this is probably more of a -users question, but I figured >>>>>> since I am talking about the devel branch (latest 2.99) it might >>>>>> belong >>>>>> here. If not, please let me know. >>>>>> >>>>> stonithd is not part of 2.99.x - what are you running? >>>>> >>>>> >>>>> Regards, >>>>> Lars >>>>> >>>>> >>>> Lars, >>>> >>>> That could be a result of installing 2.1.3, removing it, and then >>>> installing 2.99.x on top of that. root [at] ctrl:~# dpkg -l | grep stonith >>>> ii libstonith0 2.99.0-1 >>>> Interface for remotely powering down a node >>>> ii stonith 2.99.0-1 >>>> Interface for remotely powering down a node >>>> >>>> Is this what you meant? If not, I'm not sure I follow you as to what >>>> the >>>> problem is. >>>> >>> >>> stonith is part of 2.99, but stonithd (which logged those >>> messages) is not. You need to install the latest stable >>> pacemaker. >>> >>> Thanks, >>> >>> Dejan >>> >>> >>>> Thanks! >>>> >>>> Zack >>>> _______________________________________________________ >>>> Linux-HA-Dev: Linux-HA-Dev [at] lists >>>> http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev >>>> Home Page: http://linux-ha.org/ >>>> >>> _______________________________________________________ >>> Linux-HA-Dev: Linux-HA-Dev [at] lists >>> http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev >>> Home Page: http://linux-ha.org/ >>> >> >> I have the latest (0.6.6-1) pacemaker installed. From what I can tell, >> the >> plugins that I am using in those rules are from the heartbeat-2.99 >> package >> debian package. >> root [at] ctrl:~# dlocate stonith >> heartbeat: /usr/lib/stonith/plugins/external/ipmi >> heartbeat: /usr/lib/stonith/plugins/stonith2/ipmilan.so > > Right. For whatever reason, the stonith and libstonith debian > packages are empty. > >> I have tried using both ipmilan and external/ipmi without any luck. >> With >> either, I still get the stonithd messages. I am wondering if this is >> somehow due to the fact that I initially set this cluster up without >> pacemaker. I am not quite sure how to proceed. > > I really can't say. Tried the very same combination of packages > and stonith worked. Not with ipmi, but according to the error > message you posted the problem seems to be with stonithd > connecting to heartbeat. Perhaps you could check permissions on > /var/lib/heartbeat and /var/run/heartbeat. You can also try to > connect with strace to stonithd to see what exactly is it trying > to do. > > Thanks, > > Dejan > >> Cheers, >> >> Zack >> _______________________________________________________ >> Linux-HA-Dev: Linux-HA-Dev [at] lists >> http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev >> Home Page: http://linux-ha.org/ > _______________________________________________________ > Linux-HA-Dev: Linux-HA-Dev [at] lists > http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev > Home Page: http://linux-ha.org/ > _______________________________________________________ Linux-HA-Dev: Linux-HA-Dev [at] lists http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/
|