Hi, On Tue, Nov 02, 2010 at 08:08:32AM +0100, Pavlos Parissis wrote: > On 1 November 2010 15:01, Rick Cone <rc...@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. > 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? > 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 > My 2 cents, > Pavlos > _______________________________________________ > Pacemaker mailing list: Pacemaker@oss.clusterlabs.org > http://oss.clusterlabs.org/mailman/listinfo/pacemaker > > Project Home: http://www.clusterlabs.org > Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf > Bugs: > http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker _______________________________________________ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker