[ClusterLabs] Error at testing live migration
Andrew Beekhof
andrew at beekhof.net
Sun Mar 29 23:32:42 UTC 2015
> On 28 Mar 2015, at 4:46 am, Wilson Acero <rasalax at hotmail.com> wrote:
>
> Hi everybody,
>
> I have a pacemaker + corosync cluster that manages a virtual machine (kvm) the virtual machine drives are stored in a shared storage (gfs2 + lvm+ iscsi LUN). The resource agent is VirtualDomain.
>
> When I test the live migration with a command 'pcs resource move vmcentos2 nodo2' or putting the node on standby, the migration works with no problem.
>
> But when I want to test the live migration rebooting or shutting down the node that runs the virtual machine, migration fails. Is this a expected behaviour or a bug?
Its a bug.
In addition to the "After: dbus.service" hint that Ken gave you, you need the following patches (present in 1.1.13-rc1)
+ Andrew Beekhof (6 days ago) 2ab97ec: Fix: systemd: Trick systemd into not stopping our services before us during shutdown
+ Andrew Beekhof (6 days ago) 0315c57: Fix: systemd: Kindly ask dbus NOT to kill the process if the dbus connection fails
+ Andrew Beekhof (7 days ago) 90d725d: Fix: systemd: Tell systemd not to take DBus down from underneath us
>
> My cluster configuration is:
>
> OS=Centos 7
> Pacemaker 1.1.10-32.el7_0.1
> Corosync Cluster Engine, version '2.3.3'
>
> [root at nodo2 ~]# pcs status
> Cluster name: clusterwa
> Last updated: Fri Mar 27 12:20:04 2015
> Last change: Thu Mar 26 16:11:11 2015 via crm_resource on nodo2
> Stack: corosync
> Current DC: nodo2 (2) - partition with quorum
> Version: 1.1.10-32.el7_0.1-368c726
> 5 Nodes configured
> 29 Resources configured
>
> Online: [ nodo2 nodo3 nodo4 ]
> Containers: [ centos1.7:vmcentos3 ]
>
> Full list of resources:
>
> wti_wa (stonith:fence_wti): Started nodo3
> Clone Set: dlmwa-clone [dlmwa]
> Started: [ nodo2 nodo3 nodo4 ]
> Stopped: [ centos1.7 centosSC3 ]
> Clone Set: clvmwa-clone [clvmwa]
> Started: [ nodo2 nodo3 nodo4 ]
> Stopped: [ centos1.7 centosSC3 ]
> Clone Set: gfs2wa-clone [gfs2wa]
> Started: [ nodo2 nodo3 nodo4 ]
> Stopped: [ centos1.7 centosSC3 ]
> vmcentos2 (ocf::heartbeat:VirtualDomain): Started nodo2
>
> Clone Set: iscsiwa-clone [iscsiwa]
> Started: [ nodo2 nodo3 nodo4 ]
> Stopped: [ centos1.7 centosSC3 ]
>
> PCSD Status:
> nodo2: Online
> nodo3: Online
> nodo4: Online
>
> Daemon Status:
> corosync: active/enabled
> pacemaker: active/enabled
> pcsd: active/enabled
>
> Many thanks.
> Many thanks.
> _______________________________________________
> 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