I think it&#39;s better make a group and after make a clone active/active<br><br>for example<br><br>===========================================<br>group sys_rg dlm_r o2cb_r clvmd_r<br>clone sys_clone_rg sys_rg<br>===========================================<br>
<br>I don&#39;t like this contrain<br>===========================================<br>colocation CLVMCloneWithLVMforVM1 inf: LVMforVM1 clvm-clone<br>===========================================<br><br>clvm-clone it&#39;s active/active and LVMforVM1 it&#39;s a failover resource<br>
<br>I think you have a logical Problem in your Cluster config<br><br><br><div class="gmail_quote">2012/1/23 Andreas Kurz <span dir="ltr">&lt;<a href="mailto:andreas@hastexo.com">andreas@hastexo.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello Frank,<br>
<div class="im"><br>
On 01/21/2012 05:25 PM, emmanuel segura wrote:<br>
&gt; Hello Frank<br>
&gt;<br>
&gt; The first thing I found wrong in your config is<br>
&gt;<br>
&gt; =====================================================<br>
&gt; colocation CLVMCloneWithLVMforVM1 inf: LVMforVM1 clvm-clone<br>
&gt; =====================================================<br>
<br>
</div>That part is ok, LVMforVM1 depends on clvm-clone ... see bellow for some<br>
comments ...<br>
<div class="im"><br>
&gt;<br>
&gt; clvm-clone must be a resource running on every cluster node, not just<br>
&gt; where lvm for the vm1 it&#39;s running<br>
&gt;<br>
&gt; 2012/1/20 Frank Meier &lt;<a href="mailto:Frank.Meier@hr-group.de">Frank.Meier@hr-group.de</a><br>
</div>&gt; &lt;mailto:<a href="mailto:Frank.Meier@hr-group.de">Frank.Meier@hr-group.de</a>&gt;&gt;<br>
<div class="im">&gt;<br>
&gt;     Hi there,<br>
&gt;<br>
&gt;     I&#39;m new in clustering and<br>
&gt;     I have problems to get xen live migration running.<br>
&gt;<br>
&gt;     I configure cLVM and manual migration works, but xen goes down and<br>
&gt;     starts on the second node new.<br>
&gt;<br>
&gt;     node xencluster1 \<br>
&gt;            attributes standby=&quot;off&quot;<br>
&gt;     node xencluster2 \<br>
&gt;            attributes standby=&quot;off&quot;<br>
&gt;     primitive LVMforVM1 ocf:heartbeat:LVM \<br>
&gt;            meta target-role=&quot;started&quot; is-managed=&quot;true&quot; \<br>
&gt;            operations $id=&quot;LVMforVM1-operations&quot; \<br>
&gt;            op monitor interval=&quot;10&quot; timeout=&quot;30&quot; \<br>
&gt;            params volgrpname=&quot;vm1VG&quot; exclusive=&quot;yes&quot;<br>
&gt;     primitive STONITH--Node1 stonith:meatware \<br>
&gt;            meta target-role=&quot;Started&quot; \<br>
&gt;            operations $id=&quot;STONITH--Node1-operations&quot; \<br>
&gt;            op monitor interval=&quot;15&quot; timeout=&quot;15&quot; start-delay=&quot;15&quot; \<br>
&gt;            params hostlist=&quot;<a href="http://xencluster1.reno.de" target="_blank">xencluster1.reno.de</a>&quot;<br>
<br>
</div>The hostlist needs to inculde the node names as used by<br>
Pacemaker/Corosync ... so xencluster1, xenscluster2<br>
<div class="im"><br>
&gt;     primitive STONITH-Node2 stonith:meatware \<br>
&gt;            meta target-role=&quot;started&quot; \<br>
&gt;            operations $id=&quot;STONITH-Node2-operations&quot; \<br>
&gt;            op monitor interval=&quot;15&quot; timeout=&quot;15&quot; start-delay=&quot;15&quot; \<br>
&gt;            params hostlist=&quot;<a href="http://xencluster2.reno.de" target="_blank">xencluster2.reno.de</a><br>
</div>&gt;     &lt;<a href="http://xencluster2.reno.de" target="_blank">http://xencluster2.reno.de</a>&gt;&quot;<br>
<div class="im">&gt;     primitive VM1 ocf:heartbeat:Xen \<br>
&gt;            meta allow-migrate=&quot;true&quot; target-role=&quot;started&quot; \<br>
&gt;            operations $id=&quot;VM1-operations&quot; \<br>
&gt;            op monitor interval=&quot;10&quot; timeout=&quot;30&quot; \<br>
&gt;            params xmfile=&quot;/etc/xen/vm/VM1&quot;<br>
&gt;     primitive clvm ocf:lvm2:clvmd \<br>
&gt;            operations $id=&quot;clvm-operations&quot; \<br>
&gt;            op monitor interval=&quot;10&quot; timeout=&quot;20&quot; \<br>
&gt;            params daemon_timeout=&quot;30&quot;<br>
&gt;     primitive dlm ocf:pacemaker:controld \<br>
&gt;            operations $id=&quot;dlm-operations&quot; \<br>
&gt;            op monitor interval=&quot;10&quot; timeout=&quot;20&quot; start-delay=&quot;0&quot; \<br>
&gt;            meta target-role=&quot;started&quot;<br>
&gt;     clone clvm-clone clvm \<br>
&gt;            meta target-role=&quot;started&quot; ordered=&quot;true&quot; interleave=&quot;true&quot;<br>
&gt;     clone dlm-clone dlm \<br>
&gt;            meta target-role=&quot;started&quot; ordered=&quot;true&quot; interleave=&quot;true&quot;<br>
&gt;     location STONITHnode1Constraint STONITH--Node1 -inf: xencluster1<br>
&gt;     location cli-prefer-VM1 VM1 \<br>
&gt;            rule $id=&quot;cli-prefer-rule-VM1&quot; inf: #uname eq xencluster2<br>
&gt;     colocation CLVMCloneWithLVMforVM1 inf: LVMforVM1 clvm-clone<br>
&gt;     colocation DLMCloneWithcLVMClone inf: dlm-clone clvm-clone<br>
<br>
</div>The clvm depends on the dlm ... inf: clvm-clone dlm-clone<br>
<div class="im"><br>
&gt;     colocation VM1WithLVM1forVM1 inf: VM1 LVMforVM1<br>
&gt;     order DLMCloneBeforecLVMClone : dlm-clone clvm-clone<br>
&gt;     order LVMforVM1BeforeVM1 : LVMforVM1 VM1<br>
&gt;     order cLVMCloneBeforeLVMforVM1 : clvm-clone LVMforVM1<br>
&gt;     property $id=&quot;cib-bootstrap-options&quot; \<br>
&gt;            dc-version=&quot;1.1.2-2e096a41a5f9e184a1c1537c82c6da1093698eb5&quot; \<br>
<br>
</div>It&#39;s a good idea to update.<br>
<br>
&gt;            no-quorum-policy=&quot;ignore&quot; \<br>
&gt;            stonith-enabled=&quot;false&quot; \<br>
<br>
Don&#39;t forget to enable stonith.<br>
<div class="im"><br>
&gt;            default-resource-stickiness=&quot;100000&quot; \<br>
&gt;            last-lrm-refresh=&quot;1327076030&quot; \<br>
&gt;            cluster-infrastructure=&quot;openais&quot; \<br>
&gt;            expected-quorum-votes=&quot;2&quot;<br>
&gt;<br>
&gt;<br>
&gt;     Any clue?<br>
<br>
</div>What is the error you see when running the migration? For a live system<br>
I would expect the default timeout of 20s for migration actions to be<br>
too low ... any errors because of timeouts in &quot;crm_mon -1fr&quot;?<br>
<br>
Regards,<br>
Andreas<br>
<br>
--<br>
Need help with Pacemaker?<br>
<a href="http://www.hastexo.com/now" target="_blank">http://www.hastexo.com/now</a><br>
<div class="im"><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;     Mit freundlichen Grüßen<br>
&gt;<br>
&gt;     Frank Meier<br>
&gt;     UNIX-Basis<br>
&gt;<br>
&gt;     Hamm Reno Group GmbH<br>
&gt;     Industriegebiet West | D-66987 Thaleischweiler-Fröschen<br>
</div>&gt;     T.<a href="tel:%2B49%280%296334%20444-322" value="+496334444322">+49(0)6334 444-322</a> &lt;tel:%2B49%280%296334%20444-322&gt; | F.+49(0)6334<br>
<div class="im">&gt;     444-190 &lt;tel:%2B49%280%296334%20444-190&gt;<br>
&gt;     <a href="mailto:frank.meier@hr-group.de">frank.meier@hr-group.de</a> &lt;mailto:<a href="mailto:frank.meier@hr-group.de">frank.meier@hr-group.de</a>&gt; |<br>
&gt;     <a href="http://www.my-reno.com" target="_blank">www.my-reno.com</a> &lt;<a href="http://www.my-reno.com" target="_blank">http://www.my-reno.com</a>&gt;<br>
</div><div class="im">&gt;     ___________________________________________________________________<br>
&gt;<br>
&gt;     Sitz: Am Tie 7 | D-49086 Osnabrück<br>
&gt;     Handelsregister Osnabrück HRB 19587<br>
&gt;     Geschäftsführer: Hans-Jürgen de Fries,<br>
&gt;     Jens Gransee, Manfred Klumpp,<br>
&gt;     Robert Reisch, Albert Scherer<br>
&gt;<br>
&gt;     _______________________________________________<br>
&gt;     Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
</div>&gt;     &lt;mailto:<a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a>&gt;<br>
<div class="HOEnZb"><div class="h5">&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: <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>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; esta es mi vida e me la vivo hasta que dios quiera<br>
&gt;<br>
&gt;<br>
&gt;<br>
&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: <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>
<br>
<br>
</div></div><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>
<br></blockquote></div><br><br clear="all"><br>-- <br>esta es mi vida e me la vivo hasta que dios quiera<br>