[Pacemaker] Stonith Device APC AP7900
Pavlos Parissis
pavlos.parissis at gmail.com
Tue Nov 2 11:10:37 UTC 2010
On 2 November 2010 11:04, Dejan Muhamedagic <dejanmm at fastmail.fm> wrote:
> Hi,
>
> On Tue, Nov 02, 2010 at 08:08:32AM +0100, Pavlos Parissis wrote:
> > On 1 November 2010 15:01, Rick Cone <rcone at securepaymentsystems.com>
> wrote:
> >
> > > Dejan,
> > >
> > > Below I had:
> > >
> > > primitive res_stonith stonith:apcmastersnmp \
> > > params ipaddr="192.1.1.109" port="161" community="sps" \
> > > op start interval="0" timeout="60s" \
> > > op monitor interval="60s" timeout="60s" \
> > > op stop interval="0" timeout="60s"
> > > clone rc_res_stonith res_stonith \
> > > meta target-role="Started"
> > >
> > > And you commented:
> > >
> > > You can also use a single instance setup, i.e. without clones.
> > >
> > > What is this "single instance setup", and what would it look like in
> the
> > > crm
> > > configure?
> >
> >
> > You have one already, res_stonith is your single instance setup.
>
> Yes, just don't clone that resource.
>
> > What are the pros/cons to this compared to the clone setup I
> > > have?
> > >
> >
> > The decision of cloned or non-cloned stonith resource is mainly driven
> about
> > the ability of the fencing device to accept multiple connections
> > simultaneously.
> > If you fencing device doesn't allow that then you can only use a
> non-cloned
> > resource.
>
> Right.
>
>
Do you know under which conditions pacemaker initiates multiple connections
to a fencing device?
> The cloned resource will fence a node a bit faster in a case stonith
> > resource is running on the node to be fenced, there is no need to move
> the
> > resource to another node and then fence the node.
>
> Did you measure the time it takes to start the stonith resource?
>
The last time I tested it was with rackpdu and it took 5 secs for pacemaker
to move the resource and trigger the reboot event.
>
> > But, cloned resource is has a bit more complex configuration. cloning
> looks
> > easy but I bet there is some complexity behind it.
>
> There is, but in this simple case where clones are not in any
> relation to other resources, that shouldn't pose a problem.
>
> > I have experiment with both versions on AP9606 using the rackpdu agent
> and
> > in both cases worked as expected. Now I am expecting a Aviosys 9258ST and
> I
> > will use the non-cloned version.
>
> Thanks,
>
> Dejan
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20101102/16cea380/attachment-0002.htm>
More information about the Pacemaker
mailing list