Re: [Pacemaker] Migrating resources on custom conditions

2014-02-21 Thread Vladislav Bogdanov
21.02.2014 13:45, Lars Marowsky-Bree wrote: > On 2014-02-21T13:02:23, Vladislav Bogdanov wrote: > >> It could be nice feature to have kind of general SLA concept (it could >> be very similar to the utilization one from the resource configuration >> perspective), so resources try to move or live m

Re: [Pacemaker] Migrating resources on custom conditions

2014-02-21 Thread Lars Marowsky-Bree
On 2014-02-21T13:02:23, Vladislav Bogdanov wrote: > It could be nice feature to have kind of general SLA concept (it could > be very similar to the utilization one from the resource configuration > perspective), so resources try to move or live migrate out of nodes > which have SLA attributes bel

Re: [Pacemaker] Migrating resources on custom conditions

2014-02-21 Thread Vladislav Bogdanov
21.02.2014 02:58, Andrew Beekhof wrote: > > On 20 Feb 2014, at 7:34 pm, Dan Markhasin wrote: > >> Hi, >> >> I am wondering if it is possible to configure complex/custom migration >> rules, so resources would migrate in case there is a problem with the >> current node it is running on. >> >> i.

Re: [Pacemaker] Migrating resources on custom conditions

2014-02-21 Thread Frank Brendel
Another idea is to create a pacemaker:HealthCPU resource that updates the #health-cpu attribute. Now you can add a location constraint to your resource to migrate away if #health-cpu is, lets say 'red'. # pcs resource describe ocf:pacemaker:HealthCPU Resource options for: ocf:pacemaker:HealthCP

Re: [Pacemaker] Migrating resources on custom conditions

2014-02-20 Thread Dan Markhasin
Good idea, thanks. :-) On Fri, Feb 21, 2014 at 1:58 AM, Andrew Beekhof wrote: > > On 20 Feb 2014, at 7:34 pm, Dan Markhasin wrote: > > > Hi, > > > > I am wondering if it is possible to configure complex/custom migration > rules, so resources would migrate in case there is a problem with the >

Re: [Pacemaker] Migrating resources on custom conditions

2014-02-20 Thread Andrew Beekhof
On 20 Feb 2014, at 7:34 pm, Dan Markhasin wrote: > Hi, > > I am wondering if it is possible to configure complex/custom migration rules, > so resources would migrate in case there is a problem with the current node > it is running on. > > i.e. > > If the node has a bad disk, or high load, t

[Pacemaker] Migrating resources on custom conditions

2014-02-20 Thread Dan Markhasin
Hi, I am wondering if it is possible to configure complex/custom migration rules, so resources would migrate in case there is a problem with the current node it is running on. i.e. If the node has a bad disk, or high load, the resource should be migrated to a different node. I didn't find any ex