Hello Frank<br><br>The first thing I found wrong in your config is<br><br>=====================================================<br>colocation CLVMCloneWithLVMforVM1 inf: LVMforVM1 clvm-clone<br>=====================================================<br>
<br>clvm-clone must be a resource running on every cluster node, not just where lvm for the vm1 it's running<br><br><div class="gmail_quote">2012/1/20 Frank Meier <span dir="ltr"><<a href="mailto:Frank.Meier@hr-group.de">Frank.Meier@hr-group.de</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi there,<br>
<br>
I'm new in clustering and<br>
I have problems to get xen live migration running.<br>
<br>
I configure cLVM and manual migration works, but xen goes down and starts on the second node new.<br>
<br>
node xencluster1 \<br>
attributes standby="off"<br>
node xencluster2 \<br>
attributes standby="off"<br>
primitive LVMforVM1 ocf:heartbeat:LVM \<br>
meta target-role="started" is-managed="true" \<br>
operations $id="LVMforVM1-operations" \<br>
op monitor interval="10" timeout="30" \<br>
params volgrpname="vm1VG" exclusive="yes"<br>
primitive STONITH--Node1 stonith:meatware \<br>
meta target-role="Started" \<br>
operations $id="STONITH--Node1-operations" \<br>
op monitor interval="15" timeout="15" start-delay="15" \<br>
params hostlist="<a href="http://xencluster1.reno.de" target="_blank">xencluster1.reno.de</a>"<br>
primitive STONITH-Node2 stonith:meatware \<br>
meta target-role="started" \<br>
operations $id="STONITH-Node2-operations" \<br>
op monitor interval="15" timeout="15" start-delay="15" \<br>
params hostlist="<a href="http://xencluster2.reno.de" target="_blank">xencluster2.reno.de</a>"<br>
primitive VM1 ocf:heartbeat:Xen \<br>
meta allow-migrate="true" target-role="started" \<br>
operations $id="VM1-operations" \<br>
op monitor interval="10" timeout="30" \<br>
params xmfile="/etc/xen/vm/VM1"<br>
primitive clvm ocf:lvm2:clvmd \<br>
operations $id="clvm-operations" \<br>
op monitor interval="10" timeout="20" \<br>
params daemon_timeout="30"<br>
primitive dlm ocf:pacemaker:controld \<br>
operations $id="dlm-operations" \<br>
op monitor interval="10" timeout="20" start-delay="0" \<br>
meta target-role="started"<br>
clone clvm-clone clvm \<br>
meta target-role="started" ordered="true" interleave="true"<br>
clone dlm-clone dlm \<br>
meta target-role="started" ordered="true" interleave="true"<br>
location STONITHnode1Constraint STONITH--Node1 -inf: xencluster1<br>
location cli-prefer-VM1 VM1 \<br>
rule $id="cli-prefer-rule-VM1" inf: #uname eq xencluster2<br>
colocation CLVMCloneWithLVMforVM1 inf: LVMforVM1 clvm-clone<br>
colocation DLMCloneWithcLVMClone inf: dlm-clone clvm-clone<br>
colocation VM1WithLVM1forVM1 inf: VM1 LVMforVM1<br>
order DLMCloneBeforecLVMClone : dlm-clone clvm-clone<br>
order LVMforVM1BeforeVM1 : LVMforVM1 VM1<br>
order cLVMCloneBeforeLVMforVM1 : clvm-clone LVMforVM1<br>
property $id="cib-bootstrap-options" \<br>
dc-version="1.1.2-2e096a41a5f9e184a1c1537c82c6da1093698eb5" \<br>
no-quorum-policy="ignore" \<br>
stonith-enabled="false" \<br>
default-resource-stickiness="100000" \<br>
last-lrm-refresh="1327076030" \<br>
cluster-infrastructure="openais" \<br>
expected-quorum-votes="2"<br>
<br>
<br>
Any clue?<br>
<br>
<br>
<br>
Mit freundlichen Grüßen<br>
<br>
Frank Meier<br>
UNIX-Basis<br>
<br>
Hamm Reno Group GmbH<br>
Industriegebiet West | D-66987 Thaleischweiler-Fröschen<br>
T.<a href="tel:%2B49%280%296334%20444-322" value="+496334444322">+49(0)6334 444-322</a> | F.<a href="tel:%2B49%280%296334%20444-190" value="+496334444190">+49(0)6334 444-190</a><br>
<a href="mailto:frank.meier@hr-group.de">frank.meier@hr-group.de</a> | <a href="http://www.my-reno.com" target="_blank">www.my-reno.com</a><br>
___________________________________________________________________<br>
<br>
Sitz: Am Tie 7 | D-49086 Osnabrück<br>
Handelsregister Osnabrück HRB 19587<br>
Geschäftsführer: Hans-Jürgen de Fries,<br>
Jens Gransee, Manfred Klumpp,<br>
Robert Reisch, Albert Scherer<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><br clear="all"><br>-- <br>esta es mi vida e me la vivo hasta que dios quiera<br>