[Pacemaker] cli configuration and resource sets

Cristian Mammoli - Apra Sistemi c.mammoli at apra.it
Wed Feb 17 16:04:31 UTC 2010


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?
Where can I find some examples of resource sets through the cli?

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?
-- 
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




More information about the Pacemaker mailing list