Hi again,

On Mon, Dec 01, 2008 at 09:34:40PM +1000, Alex Strachan wrote:
> Stonith primitive defn.
> 
>       <primitive id="r_stonith-dtbaims" class="stonith"
> type="external/ibmrsa-telnet">
>         <operations>
>           <op name="monitor" interval="60" id="r_stonith-dtbaims-mon"
> timeout="300" requires="nothing"/>
>           <op name="start" interval="0" id="r_stonith-dtbaims-start"
> timeout="180"/>
>           <op name="stop" interval="0" id="r_stonith-dtbaims-stop"
> timeout="180"/>
>         </operations>
>         <instance_attributes id="instance_attributes.id49828">
>           <nvpair id="nvpair.id49835" name="nodename" value="dtbaimsilo"/>
>           <nvpair id="nvpair.id49844" name="ip_address"
> value="192.168.201.37"/>
>           <nvpair id="nvpair.id49853" name="username" value="stonith"/>
>           <nvpair id="nvpair.id49862" name="password" value="#######"/>
>         </instance_attributes>
>         <meta_attributes id="primitive-r_stonith-dtbaims.meta">
>           <nvpair id="resource_stickiness.meta.auto-7"
> name="resource-stickiness" value="INFINITY"/>
>         </meta_attributes>
>       </primitive>

This looks ok to me. It's really strange that it works with
stonith from the command line. You can also try watching the wire
with tcpdump:

tcpdump -i eth0 -nv host 192.168.201.37 or port telnet

Thanks,

Dejan

> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:linux-ha-
> > [EMAIL PROTECTED] On Behalf Of Alex Strachan
> > Sent: Monday, 1 December 2008 9:13 PM
> > To: 'General Linux-HA mailing list'
> > Subject: [Linux-HA] stonith - ibmrsa-telnet TIMEOUT,how to enable python
> > debug
> > 
> > Two nodes
> > 
> > Node - dtbaims does not have heartbeat software running.
> > 
> > 
> > 
> > [EMAIL PROTECTED] ~]# crm_mon -1
> > 
> > .
> > 
> > Node: dtbaims (4f1614ac-d465-49db-b847-bac60f9dac6c): OFFLINE
> > 
> > Node: itbaims (96595e56-e3db-42da-b13b-1e2d3a956529): online
> > 
> > 
> > 
> > r_stonith-dtbaims       (stonith:external/ibmrsa-telnet):       Started
> > itbaims
> > 
> > ..
> > 
> > 
> > 
> > I stop heartbeat on itbaims - stops eventually then restarts.
> > 
> > 
> > 
> > On restart continual messages re. stonith failure of dtbaims.
> > 
> > Dec  1 20:40:48 itbaims stonithd: [18185]: info: client tengine [pid:
> > 18187]
> > requests a STONITH operation RESET on node dtbaims
> > 
> > Dec  1 20:41:47 itbaims stonithd: [18185]: ERROR: Failed to STONITH the
> > node
> > dtbaims: optype=RESET, op_result=TIMEOUT
> > 
> > Dec  1 20:41:48 itbaims stonithd: [18185]: info: client tengine [pid:
> > 18187]
> > requests a STONITH operation RESET on node dtbaims
> > 
> > .and so on.  with the resources never starting on itbaims
> > 
> > 
> > 
> > When I run stonith from the command line, host dtbaims is reset.
> > 
> > 
> > 
> > [EMAIL PROTECTED] hb]# stonith -v -t external/ibmrsa-telnet -p "dtbaimsilo
> > 192.168.201.37 stonith ########" -T reset dtbaims
> > 
> > 
> > 
> > 
> > 
> > How do you enable debug in the python script external/ibmrsa-telnet to
> > allow
> > me to check what parameters are being passed?
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > Software versions -
> > 
> > [EMAIL PROTECTED] hb]# rpm -qa | egrep "heartbeat|pacema|openai"
> > 
> > pacemaker-1.0.1-1.1
> > 
> > heartbeat-resources-2.99.2-4.1
> > 
> > heartbeat-common-2.99.2-4.1
> > 
> > libopenais2-0.80.3-11.1
> > 
> > heartbeat-2.99.2-4.1
> > 
> > libheartbeat2-2.99.2-4.1
> > 
> > openais-0.80.3-11.1
> > 
> > libpacemaker3-1.0.1-1.1
> > 
> > pacemaker-pygui-1.4-11.5
> > 
> > 
> > 
> > 
> > 
> > _______________________________________________
> > 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
_______________________________________________
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