[Pacemaker] cli configuration and resource sets
Dejan Muhamedagic
dejanmm at fastmail.fm
Wed Feb 17 16:32:09 UTC 2010
Hi,
On Wed, Feb 17, 2010 at 05:04:31PM +0100, Cristian Mammoli - Apra Sistemi wrote:
> Dejan Muhamedagic wrote:
> >Hi,
> >
> >On Wed, Feb 17, 2010 at 04:37:33PM +0100, Cristian Mammoli - Apra Sistemi wrote:
> >>Is there any way to create and manage constraints containing
> >>resource sets with the crm cli?
> >>
> >>I tried created them through the gui or with cibadmin but "crm
> >>configure show" complains about not beeing able to display them.
> >
> >Depends on the version you're running. You need at least 1.0.7,
> >though there was an important bug fixed recently (see
> >http://developerbugs.linux-foundation.org/show_bug.cgi?id=2331)
>
> [root at srvha01 ~]# rpm -qa|grep pacemaker
> pacemaker-1.0.7-4.el5
> pacemaker-libs-1.0.7-4.el5
>
> Last packages from clusterlabs repo: should be ok?
I'm really not sure. See the bugzilla above. The problem is that
at the time of 1.0.7 the CRM and the shell were out of sync on
the matter.
> Where can I find some examples of resource sets through the cli?
The doc on crm cli: http://www.clusterlabs.org/doc/crm_cli.html
but the resource sets are not described. I'll fix that tomorrow.
> Basically what I want is
>
> Promote resource A master on some node
> Then Start resource B on the same node
> Then Start resources C,D,E unordered on the same node
>
> Is colocation sufficient or i need both an order constraint and a
> colo constraint?
What you described above is order of operations:
order o1 inf: A:promote B:start ( C D E )
It should look like that. Anyway, you'll probably have to wait for
1.0.8. Or grab current sources.
Thanks,
Dejan
> --
> Cristian Mammoli
> APRA SISTEMI srl
> Via Brodolini,6 Jesi (AN)
> tel dir. 0731 719822
>
> Web www.apra.it
> e-mail c.mammoli at apra.it
>
> _______________________________________________
> Pacemaker mailing list
> Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
More information about the Pacemaker
mailing list