Re: [Pacemaker] Location issue

2011-07-10 Thread Andrew Beekhof
On Mon, Jul 11, 2011 at 6:18 AM, ruslan usifov wrote: > > > 2011/7/5 Andrew Beekhof >> >> On Mon, Jul 4, 2011 at 11:42 PM, ruslan usifov >> wrote: >> > >> > >> > 2011/6/27 Andrew Beekhof >> >> >> >> On Tue, Jun 21, 2011 at 10:22 PM, ruslan usifov >> >> >> >> wrote: >> >> > No, i mean that in t

Re: [Pacemaker] Location issue

2011-07-10 Thread ruslan usifov
2011/7/5 Andrew Beekhof > On Mon, Jul 4, 2011 at 11:42 PM, ruslan usifov > wrote: > > > > > > 2011/6/27 Andrew Beekhof > >> > >> On Tue, Jun 21, 2011 at 10:22 PM, ruslan usifov < > ruslan.usi...@gmail.com> > >> wrote: > >> > No, i mean that in this constaint: > >> > > >> > location ms_drbd_web-

Re: [Pacemaker] Location issue: how to force only one specific location, and only as "Slave"

2011-07-05 Thread Lars Ellenberg
On Tue, Jul 05, 2011 at 11:40:04AM +1000, Andrew Beekhof wrote: > On Mon, Jul 4, 2011 at 11:42 PM, ruslan usifov > wrote: > > > > > > 2011/6/27 Andrew Beekhof > >> > >> On Tue, Jun 21, 2011 at 10:22 PM, ruslan usifov > >> wrote: > >> > No, i mean that in this constaint: > >> > > >> > location m

Re: [Pacemaker] Location issue

2011-07-04 Thread Andrew Beekhof
On Mon, Jul 4, 2011 at 11:42 PM, ruslan usifov wrote: > > > 2011/6/27 Andrew Beekhof >> >> On Tue, Jun 21, 2011 at 10:22 PM, ruslan usifov >> wrote: >> > No, i mean that in this constaint: >> > >> > location ms_drbd_web-U_slave_on_drbd3 ms_drbd_web-U \ >> >     rule role="slave" -inf: #uname

Re: [Pacemaker] Location issue

2011-07-04 Thread ruslan usifov
2011/6/27 Andrew Beekhof > On Tue, Jun 21, 2011 at 10:22 PM, ruslan usifov > wrote: > > No, i mean that in this constaint: > > > > location ms_drbd_web-U_slave_on_drbd3 ms_drbd_web-U \ > > rule role="slave" -inf: #uname ne drbd3 > > > > pacemaker will try to start slave part of resource

Re: [Pacemaker] Location issue

2011-06-27 Thread ruslan usifov
In this configuration ms_drbd_web-U is stacked resource(for backup purposes) and it slave part must run only on dedicated host (can't migrate to other) 2011/6/27 Andrew Beekhof > On Tue, Jun 21, 2011 at 10:22 PM, ruslan usifov > wrote: > > No, i mean that in this constaint: > > > > location ms_

Re: [Pacemaker] Location issue

2011-06-26 Thread Andrew Beekhof
On Tue, Jun 21, 2011 at 10:22 PM, ruslan usifov wrote: > No, i mean that in this constaint: > > location ms_drbd_web-U_slave_on_drbd3 ms_drbd_web-U \ >     rule role="slave" -inf: #uname ne drbd3 > > pacemaker will try to start slave part of resource (if drbd3 is down) on > other nodes, but it

Re: [Pacemaker] Location issue

2011-06-21 Thread ruslan usifov
No, i mean that in this constaint: location ms_drbd_web-U_slave_on_drbd3 ms_drbd_web-U \ rule role="slave" -inf: #uname ne drbd3 pacemaker will try to start slave part of resource (if drbd3 is down) on other nodes, but it doesn't must do that. For example on follow configuration: locatio

Re: [Pacemaker] Location issue

2011-06-20 Thread Andrew Beekhof
On Fri, Jun 17, 2011 at 9:31 AM, ruslan usifov wrote: > Andrew does any chance to fix this behaivour??? Now this constraint doesn't > work: Define "doesn't work"? Not accepted by the shell? Allow's it to be started elsewhere? In the later case, please include a crm_report covering the time when

Re: [Pacemaker] Location issue

2011-06-16 Thread ruslan usifov
Andrew does any chance to fix this behaivour??? Now this constraint doesn't work: location ms_drbd_web_slave_on_backup0 ms_drbd_web-U \ rule $id="ms_drbd_web_slave_on_backup0-rule" $role="Slave" -inf: #uname ne backup0 2011/6/8 ruslan usifov > I want exactly slave role will be launch o

Re: [Pacemaker] Location issue

2011-06-08 Thread ruslan usifov
I want exactly slave role will be launch only drbd3 (stacked drbd resource). So disable launch resource on drbd3 at all not good solution for me 2011/6/8 Dominik Klein > Try without role. If the resource must not run on the node at all, then > the role does not matter. Maybe there's a bug with r

Re: [Pacemaker] Location issue

2011-06-08 Thread Dominik Klein
Try without role. If the resource must not run on the node at all, then the role does not matter. Maybe there's a bug with role="slave"? On 06/08/2011 10:56 AM, ruslan usifov wrote: > i try follow: > > location ms_drbd_web-U_slave_on_drbd3 ms_drbd_web-U \ > rule role="slave" -inf: #uname

Re: [Pacemaker] Location issue

2011-06-08 Thread ruslan usifov
i try follow: location ms_drbd_web-U_slave_on_drbd3 ms_drbd_web-U \ rule role="slave" -inf: #uname ne drbd3 result is identical, pacemaker try launch slave role on other nodes:-((( 2011/6/8 Dominik Klein > >> but when i shutdown drbd3 host Pacemaker try start slave role on > >> other

Re: [Pacemaker] Location issue

2011-06-08 Thread Dominik Klein
>> but when i shutdown drbd3 host Pacemaker try start slave role on >> other host. How can i prevent this behavior? > > try > s/inf/-inf > s/eq/neq "ne" actually, sorry ___ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.or

Re: [Pacemaker] Location issue

2011-06-08 Thread Dominik Klein
On 06/08/2011 10:39 AM, ruslan usifov wrote: > Hello > > I have follow constraint: > > location ms_drbd_web-U_slave_on_drbd3 ms_drbd_web-U \ > rule role="slave" inf: #uname eq drbd3 > > > Which as i think it prevents slave role from launch on all hosts except > drbd3, nope it says "pu

[Pacemaker] Location issue

2011-06-08 Thread ruslan usifov
Hello I have follow constraint: location ms_drbd_web-U_slave_on_drbd3 ms_drbd_web-U \ rule role="slave" inf: #uname eq drbd3 Which as i think it prevents slave role from launch on all hosts except drbd3, but when i shutdown drbd3 host Pacemaker try start slave role on other host. How ca