Re: [Pacemaker] Problem with Xen live migration

2011-01-18 Thread Jean-Francois Malouin
* Vladislav Bogdanov [20110118 08:41]: > > Unless clustered LVM locking is enabled and working: > > # sed -ri 's/^([ \t]+locking_type).*/locking_type = 3/' > > /etc/lvm/lvm.conf > > # sed -ri 's/^([ \t]+fallback_to_local_locking).*/ > > fallback_to_local_locking = 1/' /etc/lvm/lvm.conf > > # v

Re: [Pacemaker] Problem with Xen live migration

2011-01-18 Thread Vladislav Bogdanov
18.01.2011 16:00, Vladislav Bogdanov пишет: > 18.01.2011 15:41, Vadym Chepkov wrote: > > ... > I have tried it myself, but concluded it's impossible to do it reliably with the current code. For the live migration to work you have to remove any colocation constraints (gr

Re: [Pacemaker] Problem with Xen live migration

2011-01-18 Thread Vladislav Bogdanov
18.01.2011 15:41, Vadym Chepkov wrote: ... >>> >>> I have tried it myself, but concluded it's impossible to do it reliably >>> with the current code. >>> For the live migration to work you have to remove any colocation >>> constraints (group included) with the Xen resource. >>> drbd code includ

Re: [Pacemaker] Problem with Xen live migration

2011-01-18 Thread Vadym Chepkov
On Jan 18, 2011, at 8:16 AM, Vladislav Bogdanov wrote: > 18.01.2011 14:45, Vadym Chepkov wrote: >> >> On Jan 17, 2011, at 6:44 PM, Jean-Francois Malouin wrote: >> >>> Back again to setup an active/passive cluster for Xen with live migration >>> but so far, no go. Xen DomU is shutdown and restar

Re: [Pacemaker] Problem with Xen live migration

2011-01-18 Thread Vladislav Bogdanov
> Unless clustered LVM locking is enabled and working: > # sed -ri 's/^([ \t]+locking_type).*/locking_type = 3/' > /etc/lvm/lvm.conf > # sed -ri 's/^([ \t]+fallback_to_local_locking).*/ > fallback_to_local_locking = 1/' /etc/lvm/lvm.conf > # vgchange -cy VG_NAME > # service clvmd start > # vgs|

Re: [Pacemaker] Problem with Xen live migration

2011-01-18 Thread Vladislav Bogdanov
18.01.2011 14:45, Vadym Chepkov wrote: > > On Jan 17, 2011, at 6:44 PM, Jean-Francois Malouin wrote: > >> Back again to setup an active/passive cluster for Xen with live migration >> but so far, no go. Xen DomU is shutdown and restarted when I move the >> Xen resource. >> >> I'm using Debian Sque

Re: [Pacemaker] Problem with Xen live migration

2011-01-18 Thread Vadym Chepkov
On Jan 17, 2011, at 6:44 PM, Jean-Francois Malouin wrote: > Back again to setup an active/passive cluster for Xen with live migration > but so far, no go. Xen DomU is shutdown and restarted when I move the > Xen resource. > > I'm using Debian Squeeze, pacemaker 1.0.9.1, corosync 1.2.1-4 with Xen

[Pacemaker] Problem with Xen live migration

2011-01-17 Thread Jean-Francois Malouin
Back again to setup an active/passive cluster for Xen with live migration but so far, no go. Xen DomU is shutdown and restarted when I move the Xen resource. I'm using Debian Squeeze, pacemaker 1.0.9.1, corosync 1.2.1-4 with Xen 4.0.1-1 and kernel 2.6.32-30. DRBD is at 8.3.8. A logical volume 'xe