<div dir="ltr">Hello Everybody,<br><div class="gmail_quote"><div dir="ltr"><div class="gmail_quote"><div dir="ltr"><div lang="x-unicode"><div dir="ltr"><div><div>I need your help with the set up the live migration on cluster with two nodes and two virtual machine.<br></div>I have this set up:<br>node nodea \<br> attributes standby="off"<br>node nodeb \<br> attributes standby="off"<br>primitive drbd1 ocf:linbit:drbd \<br> params drbd_resource="drbd1" \<br> operations $id="drbd1-operations" \<br> op monitor start-delay="0" interval="31" \<br> meta target-role="started"<br>primitive drbd2 ocf:linbit:drbd \<br> params drbd_resource="drbd2" \<br> operations $id="drbd2-operations" \<br> op monitor start-delay="0" interval="31" \<br> meta target-role="started"<br>primitive drbd3 ocf:linbit:drbd \<br> params drbd_resource="drbd3" \<br> operations $id="drbd3-operations" \<br> op monitor start-delay="0" interval="31" \<br> meta target-role="started"<br>primitive fs_drbd1 ocf:heartbeat:Filesystem \<br> params device="/dev/drbd1" directory="/mnt/drbd1" fstype="ext4" options="noatime" \<br> meta target-role="started"<br>primitive fs_drbd2 ocf:heartbeat:Filesystem \<br> params device="/dev/drbd2" directory="/mnt/drbd2" fstype="ext4" options="noatime" \<br> meta target-role="started"<br>primitive fs_drbd3 ocf:heartbeat:Filesystem \<br> params device="/dev/drbd3" directory="/mnt/drbd3" fstype="ext4" options="noatime" \<br> meta target-role="started"<br>primitive res_ManageVE_101 ocf:heartbeat:ManageVE \<br> params veid="101" \<br> operations $id="res_ManageVE_101-operations" \<br> op start interval="0" timeout="75" \<br> op stop interval="0" timeout="75" \<br> op monitor interval="10" timeout="10" start-delay="0" \<br> op migrate_to interval="0" timeout="75" \<br> op migrate_from interval="0" timeout="75" \<br> meta target-role="started" allow-migrate="true" failure-timeout="5"<br>primitive res_ManageVE_102 ocf:heartbeat:ManageVE \<br> params veid="102" \<br> operations $id="res_ManageVE_102-operations" \<br> op start interval="0" timeout="75" \<br> op stop interval="0" timeout="75" \<br> op monitor interval="11" timeout="10" start-delay="0" \<br> op migrate_to interval="0" timeout="75" \<br> op migrate_from interval="0" timeout="75" \<br> meta target-role="started" allow-migrate="true" failure-timeout="5"<br>primitive res_vz_vz_clone lsb:vz \<br> operations $id="res_vz_vz_clone-operations" \<br> op start interval="0" timeout="15" \<br> op stop interval="0" timeout="15" \<br> op monitor interval="15" timeout="15" start-delay="15"<br>ms ms_drbd1 drbd1 \<br> meta clone-max="2" notify="true" target-role="started" allow-migrate="true"<br>ms ms_drbd2 drbd2 \<br> meta clone-max="2" notify="true" target-role="started" allow-migrate="true"<br>ms ms_drbd3 drbd3 \<br> meta clone-max="2" notify="true" target-role="started" allow-migrate="true"<br>clone cl_vz_1 res_vz_vz_clone \<br> meta clone-max="2" notify="true" interleave="true"<br>location loc_fs_drbd1_jupiter fs_drbd1 2: nodea<br>location loc_fs_drbd1_mars fs_drbd1 0: nodeb<br>location loc_fs_drbd2_jupiter fs_drbd2 0: nodea<br>location loc_fs_drbd2_mars fs_drbd2 2: nodeb<br>location loc_fs_drbd3_jupiter fs_drbd3 0: nodea<br>location loc_fs_drbd3_mars fs_drbd3 2: nodeb<br>location loc_ms_drbd1_jupiter ms_drbd1 2: nodea<br>location loc_ms_drbd1_mars ms_drbd1 0: nodeb<br>location loc_ms_drbd2_jupiter ms_drbd2 0: nodea<br>location loc_ms_drbd3_jupiter ms_drbd2 0: nodea<br>location loc_ms_drbd3_mars ms_drbd2 2: nodeb<br>colocation fs_drbd1_colo inf: fs_drbd1 ms_drbd1:Master<br>colocation fs_drbd2_colo inf: fs_drbd2 ms_drbd2:Master<br>colocation fs_drbd3_colo inf: fs_drbd3 ms_drbd3:Master<br>colocation vz_drbd1_colo inf: res_ManageVE_101 fs_drbd1<br>colocation vz_drbd2_colo inf: res_ManageVE_102 fs_drbd2<br>order fs_after_drbd1 inf: ms_drbd1:promote fs_drbd1:start<br>order fs_after_drbd2 inf: ms_drbd2:promote fs_drbd2:start<br>order fs_after_drbd3 inf: ms_drbd3:promote fs_drbd3:start<br>order vz_after_fs1 inf: fs_drbd1 res_ManageVE_101:start<br>order vz_after_fs2 inf: fs_drbd2 res_ManageVE_102:start<br>property $id="cib-bootstrap-options" \<br> expected-quorum-votes="2" \<br> stonith-enabled="false" \<br> dc-version="1.1.7-ee0730e13d124c3d58f00016c3376a1de5323cff" \<br> no-quorum-policy="ignore" \<br> cluster-recheck-interval="15" \<br> cluster-infrastructure="openais" \<br> last-lrm-refresh="1412925565" \<br> start-failure-is-fatal="false"<br><br></div>When
I shutdown the nodea that the resource get on the nodeb, bad when I
switch nodea again on, that the cluster kill the virtual and start it on
the nodea. It's here a Idea how to allow live migrate on the cluster?<br><div><div><br></div></div></div>
</div>
</div>
</div></div>
</div></div>