<div dir="ltr">Hi,<div><br></div><div style>Yes i am using crm to configure.</div><div style><br></div><div style>Below is the configuration i tried</div><div style><br></div><div style><div>group icinga_svc mysql ido2db icinga</div>
<div>group ocfs_fs dlm o2cb clvm vg1 ocfs2-1 ocfs2-2</div><div>clone ocfs-clone ocfs_fs \</div><div>        meta interleave="true" target-role="Started"</div><div><br></div><div><div>crm(live)configure# order svc_aftr_fs inf: ocfs_fs icinga_svc</div>
<div>crm(live)configure# commit</div><div>crm_verify[13679]: 2013/01/11_07:57:29 ERROR: unpack_order_template: Invalid constraint 'svc_aftr_fs': No resource or template named 'ocfs_fs'</div><div>Errors found during check: config not valid</div>
<div>Do you still want to commit?</div></div><div><br></div><div style>Clone configuration is used for making the ocfs filesystem available on both the nodes at same time.</div><div style><br></div><div style>I need the icinga_svc to start on first node only if the ocfs_fs is available otherwise i need to start the services on second node.</div>
<div style><br></div><div style>This is what i am trying to acheive with above configuration.</div><div style><br></div><div style>Please let me also know if this can be configured in different way.</div><div style><br></div>
<div style>Thanks in advance.</div><div style><br></div><div style>Rgds,</div><div style>Aravind M D</div><div style><br></div><div style><br></div><div><br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Thu, Jan 10, 2013 at 1:18 AM, David Vossel <span dir="ltr"><<a href="mailto:dvossel@redhat.com" target="_blank">dvossel@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im"><br>
<br>
----- Original Message -----<br>
> From: "aRaviNd" <<a href="mailto:ambadiaravind@gmail.com">ambadiaravind@gmail.com</a>><br>
> To: <a href="mailto:pacemaker@oss.clusterlabs.org">pacemaker@oss.clusterlabs.org</a><br>
> Sent: Wednesday, January 9, 2013 9:58:55 AM<br>
> Subject: [Pacemaker] Ordering resource groups<br>
> Hi,<br>
><br>
> I have configured 2 node cluster using pacemaker and corosync in<br>
> Debian. One resource group is configured for cluster filesystem<br>
> ocfs2 which contain resources dlm, o2cb, clvm etc. This resource<br>
> group is cloned to run on both the servers.<br>
><br>
> Another resource group is configured for service icinga with<br>
> resources mysql, ido2db and icinga.<br>
><br>
> I need to configure ordering constraint to start icinga resource<br>
> group after ocfs resource group.<br>
><br>
> But when i configure the ordering constraint it says no resource or<br>
> template by name ocfs resource group name.<br>
><br>
> Could you please let me know if it possible to configure ordering<br>
> with resource group.<br>
<br>
</div>Yes, it is definitely possible.<br>
<a href="http://clusterlabs.org/doc/en-US/Pacemaker/1.1-crmsh/html-single/Pacemaker_Explained/index.html#_group_constraints" target="_blank">http://clusterlabs.org/doc/en-US/Pacemaker/1.1-crmsh/html-single/Pacemaker_Explained/index.html#_group_constraints</a><br>

<br>
and<br>
<a href="http://clusterlabs.org/doc/en-US/Pacemaker/1.1-crmsh/html-single/Pacemaker_Explained/index.html#_clone_constraints" target="_blank">http://clusterlabs.org/doc/en-US/Pacemaker/1.1-crmsh/html-single/Pacemaker_Explained/index.html#_clone_constraints</a><br>

<br>
shows the xml representation in the cib.<br>
<br>
Are you using a configuration tool like crm or pcs?  If so this may be a problem with that project.<br>
<br>
-- Vossel<br>
<div class="im"><br>
<br>
><br>
><br>
> If it is not possible how can i achieve the above configuration.<br>
><br>
><br>
> Thanks in advance.<br>
><br>
><br>
> Rgds,<br>
> Aravind M D<br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
</div>> _______________________________________________<br>
> Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
> <a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
><br>
> Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
> Getting started:<br>
> <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
> Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
><br>
<br>
_______________________________________________<br>
Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
<a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
<br>
Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
</blockquote></div><br></div>