Re: [Pacemaker] Only Xen primitives not in groups migrate on failover

2010-04-27 Thread Andrew Beekhof
On Tue, Apr 27, 2010 at 9:24 PM, Roberto Giordani wrote: > Hi Andrew, > probably ther is my mistake. > I'd like to add a second file system mounted on the guest xen, this file > system is not the main files sytem where run the O.S., but is a file system > that use the xen machine for file sharing

Re: [Pacemaker] Only Xen primitives not in groups migrate on failover

2010-04-27 Thread Andrew Beekhof
On Tue, Apr 27, 2010 at 9:56 PM, Sander van Vugt wrote: > Andrew, > > On Tue, 2010-04-27 at 21:09 +0200, Andrew Beekhof wrote: >> On Tue, Apr 27, 2010 at 8:54 PM, Roberto Giordani >> wrote: >> > Hello, >> > this mean that if i create a group with a file system + xen the live >> > migration doen'

Re: [Pacemaker] Only Xen primitives not in groups migrate on failover

2010-04-27 Thread Sander van Vugt
Andrew, On Tue, 2010-04-27 at 21:09 +0200, Andrew Beekhof wrote: > On Tue, Apr 27, 2010 at 8:54 PM, Roberto Giordani > wrote: > > Hello, > > this mean that if i create a group with a file system + xen the live > > migration doen't work? > > Correct. > You'd need to use a cluster filesystem (or

Re: [Pacemaker] Only Xen primitives not in groups migrate on failover

2010-04-27 Thread Roberto Giordani
Hi Andrew, probably ther is my mistake. I'd like to add a second file system mounted on the guest xen, this file system is not the main files sytem where run the O.S., but is a file system that use the xen machine for file sharing for example. Is it not possible? Regards, Roberto On 04/27/2010

Re: [Pacemaker] Only Xen primitives not in groups migrate on failover

2010-04-27 Thread Andrew Beekhof
On Tue, Apr 27, 2010 at 9:12 PM, Michael Brown wrote: > Is there A Better Way to do this, or is the best approach to colocate > each domU with the group? In order for the domU to migrate, everything it needs must be on the current host AND already at the destination. ONLY cloned resources satisfy

Re: [Pacemaker] Only Xen primitives not in groups migrate on failover

2010-04-27 Thread Michael Brown
Is there A Better Way to do this, or is the best approach to colocate each domU with the group? M. On 04/27/2010 02:41 PM, Andrew Beekhof wrote: > On Tue, Apr 27, 2010 at 6:39 PM, Michael Brown wrote: > >> Greetings, >> >> I've discovered that if I have ocf::hb:Xen resources as primitives, th

Re: [Pacemaker] Only Xen primitives not in groups migrate on failover

2010-04-27 Thread Andrew Beekhof
On Tue, Apr 27, 2010 at 8:54 PM, Roberto Giordani wrote: > Hello, > this mean that if i create a group with a file system + xen the live > migration doen't work? Correct. You'd need to use a cluster filesystem (or some other arrangement that could be cloned sanely) and colocate the xen instance w

Re: [Pacemaker] Only Xen primitives not in groups migrate on failover

2010-04-27 Thread Roberto Giordani
Hello, this mean that if i create a group with a file system + xen the live migration doen't work? Regards, Roberto. On 04/27/2010 08:41 PM, Andrew Beekhof wrote: On Tue, Apr 27, 2010 at 6:39 PM, Michael Brown wrote: Greetings, I've discovered that if I have ocf::hb:Xen resources as pri

Re: [Pacemaker] Only Xen primitives not in groups migrate on failover

2010-04-27 Thread Andrew Beekhof
On Tue, Apr 27, 2010 at 6:39 PM, Michael Brown wrote: > Greetings, > > I've discovered that if I have ocf::hb:Xen resources as primitives, they > migrate to other nodes on failover. > > But if they are members of a group, the domUs stop/start. Am I doing it > wrong? No. The semantics of groups p

[Pacemaker] Only Xen primitives not in groups migrate on failover

2010-04-27 Thread Michael Brown
Greetings, I've discovered that if I have ocf::hb:Xen resources as primitives, they migrate to other nodes on failover. But if they are members of a group, the domUs stop/start. Am I doing it wrong? I'd like to use the groups to minimize the amount of config I need for each VM. Here's my current