Re: [Pacemaker] Finally. A REAL question.

2013-11-18 Thread Andrew Beekhof
On 19 Nov 2013, at 3:09 pm, Andrew Beekhof wrote: > > On 19 Nov 2013, at 2:50 pm, Rob Thomas wrote: > > On 19 Nov 2013, at 6:00 am, Rob Thomas wrote: >> So... What's the -right- way to do it then? 8) > > > > > > >

Re: [Pacemaker] Finally. A REAL question.

2013-11-18 Thread Andrew Beekhof
On 19 Nov 2013, at 2:50 pm, Rob Thomas wrote: > >>> On 19 Nov 2013, at 6:00 am, Rob Thomas wrote: > So... What's the -right- way to do it then? 8) > >>> > >>> > >>> > >>> > >>> > >>> > >>> > > ... > > >> I'll have a try with the setoptions

Re: [Pacemaker] Finally. A REAL question.

2013-11-18 Thread Rob Thomas
>>> On 19 Nov 2013, at 6:00 am, Rob Thomas wrote: So... What's the -right- way to do it then? 8) >>> >>> >>> >>> >>> >>> >>> ... >> I'll have a try with the setoptions and see if that works. Thanks! Without adding the ms resource, it won't fa

Re: [Pacemaker] Finally. A REAL question.

2013-11-18 Thread Andrew Beekhof
On 19 Nov 2013, at 10:30 am, Rob Thomas wrote: > On Tue, Nov 19, 2013 at 8:55 AM, Andrew Beekhof wrote: >> >> On 19 Nov 2013, at 6:00 am, Rob Thomas wrote: >>> So... What's the -right- way to do it then? 8) >> >> >> >> >> >> >> >> >> is almost

Re: [Pacemaker] Finally. A REAL question.

2013-11-18 Thread Rob Thomas
On Tue, Nov 19, 2013 at 8:55 AM, Andrew Beekhof wrote: > > On 19 Nov 2013, at 6:00 am, Rob Thomas wrote: >> So... What's the -right- way to do it then? 8) > > > > > > > > > is almost right, but misses score=INFINITY in the rsc_colocation tag.

Re: [Pacemaker] Finally. A REAL question.

2013-11-18 Thread Andrew Beekhof
On 19 Nov 2013, at 6:00 am, Rob Thomas wrote: > On Mon, Nov 18, 2013 at 9:17 PM, Andrew Beekhof wrote: > >> my eyes! my eyes! > > So... What's the -right- way to do it then? 8) http://clusterlabs.org/doc/en-US/Pacemaker/1.1/html/Pacemaker_Explained/s-resource-sets-collocation.html

Re: [Pacemaker] Finally. A REAL question.

2013-11-18 Thread Andrew Beekhof
On 19 Nov 2013, at 6:00 am, Rob Thomas wrote: > On Mon, Nov 18, 2013 at 9:17 PM, Andrew Beekhof wrote: > >> my eyes! my eyes! > > So... What's the -right- way to do it then? 8) http://clusterlabs.org/doc/en-US/Pacemaker/1.1/html/Pacemaker_Explained/s-resource-sets-collocation.html

Re: [Pacemaker] Finally. A REAL question.

2013-11-18 Thread Rob Thomas
On Mon, Nov 18, 2013 at 9:17 PM, Andrew Beekhof wrote: > my eyes! my eyes! So... What's the -right- way to do it then? 8) --Rob ___ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker Project H

Re: [Pacemaker] Finally. A REAL question.

2013-11-18 Thread Andrew Beekhof
On 18 Nov 2013, at 3:30 pm, Rob Thomas wrote: >> I've been browsing through the cluster.log, and it's not even trying >> to move httpd. I'm almost certain that it used to work fine with >> resource sets. Hmm. > > OK. I went and -actually looked- at the CIB I was previously generating. > > Thi

Re: [Pacemaker] Finally. A REAL question.

2013-11-17 Thread Rob Thomas
> I've been browsing through the cluster.log, and it's not even trying > to move httpd. I'm almost certain that it used to work fine with > resource sets. Hmm. OK. I went and -actually looked- at the CIB I was previously generating. This works:

Re: [Pacemaker] Finally. A REAL question.

2013-11-17 Thread Rob Thomas
>> I'm having difficulties figuring out what the 'right' way to do this is with >> pcs > > You tried: > >pcs constraint colocation add asterisk with httpd Yep. It ends up with asterisk stopped, and httpd happily running on -a (and it won't start, because the colocation docs say 'if z is not r

Re: [Pacemaker] Finally. A REAL question.

2013-11-17 Thread Andrew Beekhof
On 18 Nov 2013, at 12:43 pm, Rob Thomas wrote: > Previously, using crm, it was reasonably painless to ensure that > resource groups ran on the same node. > > I'm having difficulties figuring out what the 'right' way to do this is with > pcs You tried: pcs constraint colocation add asteris

[Pacemaker] Finally. A REAL question.

2013-11-17 Thread Rob Thomas
Previously, using crm, it was reasonably painless to ensure that resource groups ran on the same node. I'm having difficulties figuring out what the 'right' way to do this is with pcs Specifically, I want the 'asterisk' group to run on the same node as the 'httpd' group. Basically, this should n