[Pacemaker] crmsh resource update issue

David Vossel dvossel at redhat.com
Thu Oct 4 15:16:31 UTC 2012



----- Original Message -----
> From: "Borislav Borisov" <borislav.v.borisov at gmail.com>
> To: "The Pacemaker cluster resource manager" <pacemaker at oss.clusterlabs.org>
> Sent: Thursday, October 4, 2012 7:52:59 AM
> Subject: Re: [Pacemaker] crmsh resource update issue
> 
> 
> 
> 
> 
> On Thu, Oct 4, 2012 at 2:22 PM, Dejan Muhamedagic <
> dejanmm at fastmail.fm > wrote:
> 
> 
> 
> 
> On Wed, Oct 03, 2012 at 09:17:17PM +0300, Vladislav Bogdanov wrote:
> > 03.10.2012 20:11, Dejan Muhamedagic wrote:
> > > On Wed, Oct 03, 2012 at 11:57:47AM +0300, Vladislav Bogdanov
> > > wrote:
> > >> 03.10.2012 11:48, Dejan Muhamedagic wrote:
> > >>> On Wed, Oct 03, 2012 at 09:21:41AM +0300, Vladislav Bogdanov
> > >>> wrote:
> > >>>> 03.10.2012 08:57, Vladislav Bogdanov wrote:
> > >>>>> 03.10.2012 01:53, Andrew Beekhof wrote:
> > >>>>> ...
> > >>>>>> 
> > >>>>>> Do you mean get the LSB and/or systemd metadata from the new
> > >>>>>> lrmd?
> > >>>>>> That should work already.
> > >>>>> 
> > >>>>> Is there an utility which implements new lrm API?
> > >>>> 
> > >>>> Answering to myself.
> > >>>> 
> > >>>> lrmd_test
> > >>>> 
> > >>>> It allows to do everything crmsh needs (probably to be
> > >>>> implemented as a
> > >>>> separate ra.py class (or as extension to RaLrmd ?). It should
> > >>>> be easy to
> > >>>> do even for me.
> > >>>> 
> > >>>> But, will its name and location (usr/libexec/pacemaker/)
> > >>>> remain the same
> > >>>> for 1.2/2.0? Shouldn't it be mover to /usr/sbin and renamed,
> > >>>> f.e. to
> > >>>> lrmd_client?
> > >>> 
> > >>> I found crm_resource capable of supporting all current shell
> > >>> needs. The new version has just been pushed to the repository.
> > >> 
> > >> Great!
> > >> Line 1.15 has copy/paste typo.
> > > 
> > > OK. Which line was that again?
> > 
> > Ah, silly me.
> > http://hg.savannah.gnu.org/hgweb/crmsh/rev/3d77a3b38982#l1.15
> > Get information directly from lrmd using lrmadmin.
> 
> OK, I thought it could be something like that, it's just that I'm
> not web-oriented.

I debated on whether to make lrmd_test a lrmadmin type tool or not.  As I began writing the lrmd/regression.py file that uses lrmd_test I realized I needed to implement some things into lrmd_test that we don't want to support outside of regression test usage.

Let me know if crm_resource doesn't have something you need.

-- Vossel
> 
> 
> > 
> > > 
> > > Your patch pushed too. There's also support (hopefully) for
> > > corosync 2.0/pacemaker 1.1.8 nodes.
> > 
> > Thanks!
> > Vladislav
> 
> Well, I guess that you could test it now with 1.1.8.
> 
> Thanks,
> 
> Dejan
> 
> 
> 
> 
> Hi,
> 
> Everything appears to work just fine. The Pacemaker version that I am
> testing against is 1.1.8-53fb2c3.
> 
> Cheers.
> 
> 
> 
> 
> > 
> > _______________________________________________
> > Pacemaker mailing list: Pacemaker at 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://bugs.clusterlabs.org
> 
> _______________________________________________
> Pacemaker mailing list: Pacemaker at 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://bugs.clusterlabs.org
> 
> 
> _______________________________________________
> Pacemaker mailing list: Pacemaker at 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://bugs.clusterlabs.org
> 




More information about the Pacemaker mailing list