<br><br>On 27 October 2010 14:09, Vadym Chepkov <<a href="mailto:vchepkov@gmail.com">vchepkov@gmail.com</a>> wrote:<br>><div>[...snip...]<br><br>>> > Hold on a sec, are you using clone on AP7901? Does it support multiple<br>
>> > connections? Mine it doesn't.<br>>><br>>> Then it's useless regardless clone or not, you have to have multiple<br>>> instances, because server can't reliable fence itself, right?<br>
>><br>>><br>><br>> My understanding is/was that I need to have one resource running on 1 of the<br>> 3 nodes in the cluster and if a fence event has to be triggered then<br>> pacemaker will send to it to the one stonith resource. I am planning to test<br>
> that the coming days.[1]<br>> Am I right? if not then I have to buy a different PDU! :-(<br>><br>> My understanding is you have to have a fencing device for each of your<br>> hosts. Are you sure one connection limitation applies for SNMP? Most likely<br>
> it's only for tcp sessions - ssh/http ?</div><div><br></div><div>Valid point Vadym, SNMP is over UDP so conntionless communication.</div><div>I am wondering how i can test this - if cloning works on this PDU.</div>
<div><br>> If you look into rackpdu log you will see this:<br>> Oct 19 12:39:00 xen-11 stonithd: [8606]: debug: external_run_cmd: Calling<br>> '/usr/lib64/stonith/plugins/external/rackpdu gethosts'<br>> Oct 19 12:39:01 xen-11 stonithd: [8606]: debug: external_run_cmd:<br>
> '/usr/lib64/stonith/plugins/external/rackpdu gethosts' output: xen-11 xen-12<br>> Outlet_3 Outlet_4 Outlet_5 Outlet_6 Outlet_7 Outlet_8 <br>> Oct 19 12:39:01 xen-11 stonithd: [8606]: debug: external_hostlist: running<br>
> 'rackpdu gethosts' returned 0<br>> Oct 19 12:39:01 xen-11 stonithd: [8606]: debug: external_hostlist: rackpdu<br>> host xen-11<br>> Oct 19 12:39:01 xen-11 stonithd: [8606]: debug: external_hostlist: rackpdu<br>
> host xen-12<br>> Oct 19 12:39:01 xen-11 stonithd: [8606]: debug: external_hostlist: rackpdu<br>> host Outlet_3<br>> Oct 19 12:39:01 xen-11 stonithd: [8606]: debug: external_hostlist: rackpdu<br>> host Outlet_4<br>
> Oct 19 12:39:01 xen-11 stonithd: [8606]: debug: external_hostlist: rackpdu<br>> host Outlet_5<br>> Oct 19 12:39:01 xen-11 stonithd: [8606]: debug: external_hostlist: rackpdu<br>> host Outlet_6<br>> Oct 19 12:39:01 xen-11 stonithd: [8606]: debug: external_hostlist: rackpdu<br>
> host Outlet_7<br>> Oct 19 12:39:01 xen-11 stonithd: [8606]: debug: external_hostlist: rackpdu<br>> host Outlet_8<br>> Oct 19 12:39:01 xen-11 stonithd: [8606]: debug: remove us (xen-11) from the<br>> host list for pdu:0<br>
> check the last line - the agent is smart enough to know it can't fence<br>> itself.<br>> Vadym<br>><br><br></div>