[ClusterLabs] Virtual Domain live migration fails

Andrew Beekhof andrew at beekhof.net
Mon May 18 02:57:50 UTC 2015


> On 11 May 2015, at 1:51 am, Abdallah Jabbour <abdjbr at gmail.com> wrote:
> 
> 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 

“migrate” in this context does not automatically imply live migration.
a more accurate term would be “move” because it will normally do a stop+start cycle.

having said that, you do have allow-migrate=true… so it should work

crm_report covering the time just before and after the migrate command?

> 
> 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 
> 
> _______________________________________________
> Users mailing list: Users at clusterlabs.org
> http://clusterlabs.org/mailman/listinfo/users
> 
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org





More information about the Users mailing list