Re: [Pacemaker] Automating Pacemaker Setup

2011-06-06 Thread Dejan Muhamedagic
On Mon, Jun 06, 2011 at 12:57:33PM +0200, Dejan Muhamedagic wrote: > On Tue, May 31, 2011 at 02:02:38PM +, veghead wrote: > > Dejan Muhamedagic writes: > > > On Fri, May 27, 2011 at 08:21:08PM +, veghead wrote: > > > > 1) Is there a way to force crm to accept my configuration request > >

Re: [Pacemaker] Automating Pacemaker Setup

2011-06-06 Thread Dejan Muhamedagic
On Tue, May 31, 2011 at 02:02:38PM +, veghead wrote: > Dejan Muhamedagic writes: > > On Fri, May 27, 2011 at 08:21:08PM +, veghead wrote: > > > 1) Is there a way to force crm to accept my configuration request > > > ~before~ starting the second node? > > > > No before the DC is elected.

Re: [Pacemaker] Automating Pacemaker Setup

2011-05-31 Thread veghead
Dejan Muhamedagic writes: > On Fri, May 27, 2011 at 08:21:08PM +, veghead wrote: > > 1) Is there a way to force crm to accept my configuration request > > ~before~ starting the second node? > > No before the DC is elected. There are two settings: dc-deadtime > and startup-fencing which can r

Re: [Pacemaker] Automating Pacemaker Setup

2011-05-31 Thread Dejan Muhamedagic
On Mon, May 30, 2011 at 10:16:12PM +0200, Andrew Beekhof wrote: > On Mon, May 30, 2011 at 3:59 PM, Dejan Muhamedagic > wrote: > > Hi, > > > > On Fri, May 27, 2011 at 08:21:08PM +, veghead wrote: > >> veghead writes: > >> > Todd Nine writes: > >> > Wow. The example pacemaker config and the t

Re: [Pacemaker] Automating Pacemaker Setup

2011-05-30 Thread Andrew Beekhof
On Mon, May 30, 2011 at 3:59 PM, Dejan Muhamedagic wrote: > Hi, > > On Fri, May 27, 2011 at 08:21:08PM +, veghead wrote: >> veghead writes: >> > Todd Nine writes: >> > Wow. The example pacemaker config and the trick of starting >> > heartbeat before >> >> Bah. So close. But I still don't hav

Re: [Pacemaker] Automating Pacemaker Setup

2011-05-30 Thread Dejan Muhamedagic
Hi, On Fri, May 27, 2011 at 08:21:08PM +, veghead wrote: > veghead writes: > > Todd Nine writes: > > Wow. The example pacemaker config and the trick of starting > > heartbeat before > > Bah. So close. But I still don't have it completely automated. > > If I start heatbeat on the first nod

Re: [Pacemaker] Automating Pacemaker Setup

2011-05-27 Thread Mike Caldwell
On Fri, May 27, 2011 at 2:21 PM, veghead wrote: > veghead writes: > > Todd Nine writes: > > Wow. The example pacemaker config and the trick of starting > > heartbeat before > > crm configure < myconfigure.txt > I've had to use crm configure load replace properties_file > So that leaves me w

Re: [Pacemaker] Automating Pacemaker Setup

2011-05-27 Thread veghead
veghead writes: > Todd Nine writes: > Wow. The example pacemaker config and the trick of starting > heartbeat before Bah. So close. But I still don't have it completely automated. If I start heatbeat on the first node and then run: crm configure < myconfigure.txt That fails. If I start heart

Re: [Pacemaker] Automating Pacemaker Setup

2011-05-27 Thread veghead
Todd Nine writes: >   I have a setup nearly working.  Would you be willing to share recipes? ... > It's not quite working yet, but it's close.  Since you've managed to get > this working, you may be able to finish these off.  I have everything > working except the init start/stop hooks for pacema

Re: [Pacemaker] Automating Pacemaker Setup

2011-05-26 Thread Todd Nine
Hey Mate, I have a setup nearly working. Would you be willing to share recipes? I specifically am trying to get haproxy and NginX ssl termination running in groups. 1 node runs ha proxy and the other nodes run nginx for ssl termination. I've set it up with chef. It's not quite working yet, bu

[Pacemaker] Automating Pacemaker Setup

2011-05-26 Thread veghead
Does anyone have any links to documentation on automating Pacemaker setup with tools like Chef or Puppet? I have a working two node cluster for HAProxy on EC2, but I'd like to fully automate the setup process for future nodes. Specifically so I can spin up a new instance w/out any manual inter