[ClusterLabs] Virtual Domain live migration fails

Abdallah Jabbour abdjbr at gmail.com
Sun May 10 11:51:09 EDT 2015

Hello ,

i have setup Pacemaker along with CMAN , the cluster is up and all nodes (
2 ) are online , i added virtual domain :

primitive OpenLDAPServerVM VirtualDomain \
        params config="/Cloud/definitions/OpenLDAPServer.xml"
hypervisor="qemu:///system" migration_transport=ssh \
        meta allow-migrate=true target-role=Started \
        op start interval=0 timeout=120s \
        op stop interval=0 timeout=120s \
        op monitor interval=10s timeout=30s depth=0

the status of the cluster

Last updated: Sun May 10 13:39:53 2015
Last change: Sat May  9 13:25:28 2015
Stack: cman
Current DC: KVMNode02 - partition with quorum
Version: 1.1.11-97629de
2 Nodes configured
3 Resources configured

Online: [ KVMNode01 KVMNode02 ]

 fence_KVMNode01_xvm    (stonith:fence_xvm):    Started KVMNode01
 fence_KVMNode02_xvm    (stonith:fence_xvm):    Started KVMNode02
 OpenLDAPServerVM       (ocf::heartbeat:VirtualDomain): Started KMNode01

when live migrating OpenLDAP Guest , the Guest OS is shutdown and started
on the second Node , the Node disk image reside on a shared clustered
storage using DRBD .

live migration commend :
crm resource migrate OpenLDAPServerVM KVMNode02

i get " unknown error " in the status output of "crm status" command .

i have tested live migration from virsh shell on the same Guest machine ,
the Guest is NOT shutdown as it happen when migrating using pacemaker
migration .

please help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clusterlabs.org/pipermail/users/attachments/20150510/ea8df0ca/attachment-0002.html>

More information about the Users mailing list