Re: [Pacemaker] starting a xen-domU depending on available hardware-resources using SysInfo-RA

2010-10-08 Thread Dejan Muhamedagic
Hi, On Fri, Oct 08, 2010 at 10:10:16AM +0200, Sascha Reimann wrote: > Hi Dejan, > > On 10/07/2010 03:50 PM, Dejan Muhamedagic wrote: > >The VM won't move elsewhere in case its already running. If it > >isn't, then the stickiness doesn't apply and it will go to the > >node with most free RAM. > >

Re: [Pacemaker] starting a xen-domU depending on available hardware-resources using SysInfo-RA

2010-10-08 Thread Sascha Reimann
Hi Dejan, On 10/07/2010 03:50 PM, Dejan Muhamedagic wrote: The VM won't move elsewhere in case its already running. If it isn't, then the stickiness doesn't apply and it will go to the node with most free RAM. Though I wonder what happens if there's more than one VM that wants to move simultane

Re: [Pacemaker] starting a xen-domU depending on available hardware-resources using SysInfo-RA

2010-10-07 Thread Dejan Muhamedagic
Hi, On Thu, Sep 30, 2010 at 08:52:16AM -0400, Vadym Chepkov wrote: > > On Sep 30, 2010, at 2:35 AM, Sascha Reimann wrote: > > > Hi Dejan, > > > > it's working fine with the amount of free ram as the score and a bigger > > default-resource-stickiness: > > > > primitive v01 ocf:heartbeat:Xen \

Re: [Pacemaker] starting a xen-domU depending on available hardware-resources using SysInfo-RA

2010-09-30 Thread Andrew Beekhof
On Thu, Sep 30, 2010 at 2:52 PM, Vadym Chepkov wrote: > > On Sep 30, 2010, at 2:35 AM, Sascha Reimann wrote: > >> Hi Dejan, >> >> it's working fine with the amount of free ram as the score and a bigger >> default-resource-stickiness: >> >> primitive v01 ocf:heartbeat:Xen \ >>       params xmfile=

Re: [Pacemaker] starting a xen-domU depending on available hardware-resources using SysInfo-RA

2010-09-30 Thread Vadym Chepkov
On Sep 30, 2010, at 2:35 AM, Sascha Reimann wrote: > Hi Dejan, > > it's working fine with the amount of free ram as the score and a bigger > default-resource-stickiness: > > primitive v01 ocf:heartbeat:Xen \ > params xmfile="/etc/xen/conf.d/v01.cfg" \ > op monitor interval="30s" ti

Re: [Pacemaker] starting a xen-domU depending on available hardware-resources using SysInfo-RA

2010-09-29 Thread Sascha Reimann
Hi Dejan, it's working fine with the amount of free ram as the score and a bigger default-resource-stickiness: primitive v01 ocf:heartbeat:Xen \ params xmfile="/etc/xen/conf.d/v01.cfg" \ op monitor interval="30s" timeout="30s" \ op start interval="0" timeout="60s" \

Re: [Pacemaker] starting a xen-domU depending on available hardware-resources using SysInfo-RA

2010-09-28 Thread Dejan Muhamedagic
Hi, On Tue, Sep 28, 2010 at 11:00:18AM +0200, Sascha Reimann wrote: > howdy! > > I'm trying to configure a resource (xen-domU) that could start on 2 > nodes (preferred on node server01): > > primitive v01 ocf:heartbeat:Xen \ > params xmfile="/etc/xen/conf.d/v01.cfg" allow-migrate="true" >

[Pacemaker] starting a xen-domU depending on available hardware-resources using SysInfo-RA

2010-09-28 Thread Sascha Reimann
howdy! I'm trying to configure a resource (xen-domU) that could start on 2 nodes (preferred on node server01): primitive v01 ocf:heartbeat:Xen \ params xmfile="/etc/xen/conf.d/v01.cfg" allow-migrate="true" location loc-v01p v01 200: server01 location loc-v01s v01 100: server02 That's