Re: [Pacemaker] Postgres RA won't start

2011-10-13 Thread Lars Ellenberg
On Wed, Oct 12, 2011 at 07:41:20PM -0600, Serge Dubrouski wrote: On Wed, Oct 12, 2011 at 9:20 AM, Amar Prasovic a...@linux.org.ba wrote: Thank you all for tips and suggestions. I managed to configure postgres so it actually starts. First, I updated resource-agents (Florian thanks for

Re: [Pacemaker] Postgres RA won't start

2011-10-13 Thread Serge Dubrouski
On Thu, Oct 13, 2011 at 4:29 AM, Lars Ellenberg lars.ellenb...@linbit.comwrote: On Wed, Oct 12, 2011 at 07:41:20PM -0600, Serge Dubrouski wrote: On Wed, Oct 12, 2011 at 9:20 AM, Amar Prasovic a...@linux.org.ba wrote: Thank you all for tips and suggestions. I managed to configure postgres

Re: [Pacemaker] Postgres RA won't start

2011-10-13 Thread Lars Ellenberg
On Thu, Oct 13, 2011 at 06:35:27AM -0600, Serge Dubrouski wrote: On Thu, Oct 13, 2011 at 4:29 AM, Lars Ellenberg lars.ellenb...@linbit.comwrote: On Wed, Oct 12, 2011 at 07:41:20PM -0600, Serge Dubrouski wrote: On Wed, Oct 12, 2011 at 9:20 AM, Amar Prasovic a...@linux.org.ba wrote:

Re: [Pacemaker] Postgres RA won't start

2011-10-12 Thread Amar Prasovic
Thank you all for tips and suggestions. I managed to configure postgres so it actually starts. First, I updated resource-agents (Florian thanks for the tip, still don't know how did I manage to miss that :) ) Second, I deleted postgres primitive, cleared all failcounts and configure it again like

Re: [Pacemaker] Postgres RA won't start

2011-10-12 Thread Serge Dubrouski
On Wed, Oct 12, 2011 at 9:20 AM, Amar Prasovic a...@linux.org.ba wrote: Thank you all for tips and suggestions. I managed to configure postgres so it actually starts. First, I updated resource-agents (Florian thanks for the tip, still don't know how did I manage to miss that :) ) Second, I

[Pacemaker] Postgres RA won't start

2011-10-11 Thread Amar Prasovic
Hello everyone, I tried to configure postgres RA and I ran into some problems. I configured several resources in my cluster config where pgsql was set to run last, after DRBD, Filesystem, IPAddr2 and nginx. Here is how it looks like in crm configure: crm(live)configure# show node webnode01 \

Re: [Pacemaker] Postgres RA won't start

2011-10-11 Thread Florian Haas
On 2011-10-11 16:10, Amar Prasovic wrote: Hello everyone, I tried to configure postgres RA and I ran into some problems. [...] in crm_mon Online: [ webnode02 webnode01 ] Master/Slave Set: drbd_cluster Masters: [ webnode01 ] Slaves: [ webnode02 ] Resource Group:

Re: [Pacemaker] Postgres RA won't start

2011-10-11 Thread Amar Prasovic
What version of resource-agents package do you use? Old version of pgsql depended on fuser tool installed, otherway it could fail with that error code. Hello Serge, thank you for your answer. I don't have any resource-agents installed. The system is Debian Squeeze 6.0.3 and it

Re: [Pacemaker] Postgres RA won't start

2011-10-11 Thread Florian Haas
On 2011-10-11 17:10, Amar Prasovic wrote: What version of resource-agents package do you use? Old version of pgsql depended on fuser tool installed, otherway it could fail with that error code. Hello Serge, thank you for your answer. I don't have any

Re: [Pacemaker] Postgres RA won't start

2011-10-11 Thread Serge Dubrouski
I don't have too much of experience with pacemaker in Devian. I'd also suggest getting the latest version of pgsql RA from git, though if your basic package is too old there could be conflicts. On Oct 11, 2011 9:11 AM, Amar Prasovic a...@linux.org.ba wrote: What version of resource-agents