[Pgpool-general] About pgpool-HA

Lazaro Rubén García Martinez lgarciam at vnz.uci.cu
Fri Nov 25 13:47:02 UTC 2011


Haruka, thank you very much for the answer, I have installed pgpool-HA like this and the error was solved:

./configure --prefix=/opt/pgpool PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:/opt/pgpool/bin

But I have some questions to you:

1. I can copy and paste the cib.xml present in the documentation of pgpool-HA to cib.xml?
2. I only need to change the nodes ip addres, the virtial IP, and the pgpool parameters like pcp.conf, pgpool.conf and others?
3. If I want to add another nvpair tag to attributes tag, is necessary and specific id?

For instance, for adding the options key, what is the id that I need??

<nvpair id="??" name=" options" value="-d -D -n "/>

Regards.


-----Mensaje original-----
De: TAKATSUKA Haruka [mailto:harukat at sra.co.jp] 
Enviado el: viernes, 25 de noviembre de 2011 03:54
Para: Lazaro Rubén García Martinez
CC: Tatsuo Ishii; tanida at sraoss.co.jp; pgpool-general at pgfoundry.org
Asunto: Re: [Pgpool-general] About pgpool-HA

Hi. 

On Thu, 24 Nov 2011 10:45:02 -0430
Lazaro Rubén García Martinez <lgarciam at vnz.uci.cu> wrote:

> When a try to install Pgpool-HA this errors are shows:
> 
> 
> [root at PG_01 pgpoolha-734e209]# ./configure --prefix=/opt/pgpool_ha/
> checking for a BSD-compatible install... /usr/bin/install -c
> checking for /usr/lib/ocf/resource.d/heartbeat... yes
> checking for psql... /usr/bin/psql
> checking for pgpool... ./configure: line 1433: error:: command not found
> no
> configure: creating ./config.status
> config.status: creating src/Makefile
> 
> How I can specify the path where Pgpool-II was installed, in configure command of pgpool-HA??

Sorry, the pgpool-ha configure script works very limitative.
"make install" always installs into "/usr/lib/ocf/resource.d/heartbeat".

You can copy "pgpool.monitor" to /some/of/bin directory 
and copy "pgpool" to OCF heartbeat resources directory.



> >> Can Pgpool-HA works with heartbeat-3.0.4?
Yes.


regards, 

TAKATSUKA Haruka  <harukat at sra.co.jp>

 
> I have installed Pgpool-II under /opt/pgpool directory.
> 
> Regards.
> 
> -----Mensaje original-----
> De: pgpool-general-bounces at pgfoundry.org [mailto:pgpool-general-bounces at pgfoundry.org] En nombre de Lazaro Rubén García Martinez
> Enviado el: jueves, 24 de noviembre de 2011 10:14
> Para: Tatsuo Ishii
> CC: pgpool-general at pgfoundry.org
> Asunto: Re: [Pgpool-general] About pgpool-HA
> 
> Thanks, I hope Haruka answer my question.
> 
> Regards.
> 
> -----Mensaje original-----
> De: Tatsuo Ishii [mailto:ishii at sraoss.co.jp] 
> Enviado el: jueves, 24 de noviembre de 2011 10:11
> Para: Lazaro Rubén García Martinez
> CC: pgpool-general at pgfoundry.org
> Asunto: Re: [Pgpool-general] About pgpool-HA
> 
> Yes.
> --
> Tatsuo Ishii
> SRA OSS, Inc. Japan
> English: http://www.sraoss.co.jp/index_en.php
> Japanese: http://www.sraoss.co.jp



More information about the Pgpool-general mailing list