[Pacemaker] Ordering resource groups

David Vossel dvossel at redhat.com
Wed Jan 9 14:48:06 EST 2013



----- Original Message -----
> From: "aRaviNd" <ambadiaravind at gmail.com>
> To: pacemaker at oss.clusterlabs.org
> Sent: Wednesday, January 9, 2013 9:58:55 AM
> Subject: [Pacemaker] Ordering resource groups
> Hi,
> 
> I have configured 2 node cluster using pacemaker and corosync in
> Debian. One resource group is configured for cluster filesystem
> ocfs2 which contain resources dlm, o2cb, clvm etc. This resource
> group is cloned to run on both the servers.
> 
> Another resource group is configured for service icinga with
> resources mysql, ido2db and icinga.
> 
> I need to configure ordering constraint to start icinga resource
> group after ocfs resource group.
> 
> But when i configure the ordering constraint it says no resource or
> template by name ocfs resource group name.
> 
> Could you please let me know if it possible to configure ordering
> with resource group.

Yes, it is definitely possible.
http://clusterlabs.org/doc/en-US/Pacemaker/1.1-crmsh/html-single/Pacemaker_Explained/index.html#_group_constraints

and 
http://clusterlabs.org/doc/en-US/Pacemaker/1.1-crmsh/html-single/Pacemaker_Explained/index.html#_clone_constraints

shows the xml representation in the cib.

Are you using a configuration tool like crm or pcs?  If so this may be a problem with that project.

-- Vossel


> 
> 
> If it is not possible how can i achieve the above configuration.
>
> 
> Thanks in advance.
> 
> 
> Rgds,
> Aravind M D
> 
> 
> 
> 
> 
> 
> 
> 
> _______________________________________________
> 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