<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=&quot;true&quot; target-role=&quot;Started&quot;</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 &#39;svc_aftr_fs&#39;: No resource or template named &#39;ocfs_fs&#39;</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">&lt;<a href="mailto:dvossel@redhat.com" target="_blank">dvossel@redhat.com</a>&gt;</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>
&gt; From: &quot;aRaviNd&quot; &lt;<a href="mailto:ambadiaravind@gmail.com">ambadiaravind@gmail.com</a>&gt;<br>
&gt; To: <a href="mailto:pacemaker@oss.clusterlabs.org">pacemaker@oss.clusterlabs.org</a><br>
&gt; Sent: Wednesday, January 9, 2013 9:58:55 AM<br>
&gt; Subject: [Pacemaker] Ordering resource groups<br>
&gt; Hi,<br>
&gt;<br>
&gt; I have configured 2 node cluster using pacemaker and corosync in<br>
&gt; Debian. One resource group is configured for cluster filesystem<br>
&gt; ocfs2 which contain resources dlm, o2cb, clvm etc. This resource<br>
&gt; group is cloned to run on both the servers.<br>
&gt;<br>
&gt; Another resource group is configured for service icinga with<br>
&gt; resources mysql, ido2db and icinga.<br>
&gt;<br>
&gt; I need to configure ordering constraint to start icinga resource<br>
&gt; group after ocfs resource group.<br>
&gt;<br>
&gt; But when i configure the ordering constraint it says no resource or<br>
&gt; template by name ocfs resource group name.<br>
&gt;<br>
&gt; Could you please let me know if it possible to configure ordering<br>
&gt; 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>
&gt;<br>
&gt;<br>
&gt; If it is not possible how can i achieve the above configuration.<br>
&gt;<br>
&gt;<br>
&gt; Thanks in advance.<br>
&gt;<br>
&gt;<br>
&gt; Rgds,<br>
&gt; Aravind M D<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
</div>&gt; _______________________________________________<br>
&gt; Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
&gt; <a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
&gt;<br>
&gt; Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
&gt; Getting started:<br>
&gt; <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
&gt; Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
&gt;<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>