<br><br><div class="gmail_quote">On 27 October 2010 14:11, Dejan Muhamedagic <span dir="ltr"><<a href="mailto:dejanmm@fastmail.fm">dejanmm@fastmail.fm</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi,<br>
<div><div></div><div class="h5"><br>
On Wed, Oct 27, 2010 at 01:58:20PM +0200, Pavlos Parissis wrote:<br>
> On 27 October 2010 13:43, Vadym Chepkov <<a href="mailto:vchepkov@gmail.com">vchepkov@gmail.com</a>> wrote:<br>
><br>
> ><br>
> > On Oct 27, 2010, at 7:27 AM, Pavlos Parissis wrote:<br>
> ><br>
> > > On 27 October 2010 13:12, Vadym Chepkov <<a href="mailto:vchepkov@gmail.com">vchepkov@gmail.com</a>> wrote:<br>
> > >><br>
> > >> On Oct 27, 2010, at 3:47 AM, Pavlos Parissis wrote:<br>
> > >>><br>
> > >>> Does anyone know any other PDU which works out of box with the<br>
> > >>> supplied stonith agents?<br>
> > >>><br>
> > >><br>
> > >> I use APC AP7901, works like a charm:<br>
> > >><br>
> > >> primitive pdu stonith:external/rackpdu \<br>
> > >>        params pduip="10.6.6.6" community="pdu-6" hostlist="AUTO"<br>
> > >> clone fencing pdu<br>
> > >><br>
> > >> Vadym<br>
> > ><br>
> > > Then most likely the defaults OIDs of the rackpdu agents matches the<br>
> > > OIDs of the AP7901.<br>
> > > In my case I have to use OID for the device itself<br>
> > > 1.3.6.1.4.1.318.1.1.4.4.2.1.3  and OID for retrieving (snmpwalk) the<br>
> > > outlet list .1.3.6.1.4.1.318.1.1.4.4.2.1.4 .<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>
</div></div>Yes. In case a node which is currently running the stonith<br>
resource is to be fenced, then the stonith resource would move<br>
elsewhere first. But, yes, you should test this just like<br>
anything else. Make sure to test both the "node gone" event<br>
(failed links) and a critical action failing (such as stop).<br>
<br><div><div class="h5"><br>
</div></div></blockquote></div><br><div>I am going to test this.</div><div><br></div><div>Cheers,</div><div>Pavlos</div><div><br></div>