Re: [Pacemaker] Migrate vm on drbd in correct order?

2013-03-16 Thread Matthew O'Connor
Hi, I hope this doesn't lead you astray, but I was under the impression that live-migrating (if that's what you're attempting) requires the disk image to be available on both nodes? Perhaps try using drbd in dual-primary mode? I assume your VM is accessing the drbd targets listed in your config

Re: [Pacemaker] resource modification and resource agent update

2013-03-16 Thread Matthew O'Connor
Thanks, Dejan! I'll give it a try. On 03/15/2013 05:49 AM, Dejan Muhamedagic wrote: > Hi, > > On Thu, Mar 14, 2013 at 11:48:16PM -0400, Matthew O'Connor wrote: >> Hi!! Two quick questions. >> >> 1. I have a resource that many other resources depend on. I need to >> modify this "base" resource,

Re: [Pacemaker] Migrate vm on drbd in correct order?

2013-03-16 Thread emmanuel segura
try to change the colocation like this, example: colocation vma_on_drbd \ inf: kvm_vma ms_vma_R:Master ms_vma_S:Master 2013/3/16 Matthias Teege > Hi, > > I'm try to setup a two node cluster for virtuell machines (KVM/libvirt) > with drbd as storage backend. For each vm I use two drbd devices.

[Pacemaker] Migrate vm on drbd in correct order?

2013-03-16 Thread Matthias Teege
Hi, I'm try to setup a two node cluster for virtuell machines (KVM/libvirt) with drbd as storage backend. For each vm I use two drbd devices. Starting and stopping works but I cant migrate the VM to the second node. If i switch a node to "standby" the VM stays "started" and there ist no call to Vi