Search Postgresql Archives

Re: HA setup with pg pool in docker

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

On Wed, 22 Jul 2020 13:29:31 +0800
Vasu Madhineni <vasumdba1515@xxxxxxxxx> wrote:

> We are planning to build a HA setup with pgpool in docker, Could you please
> let us know prerequisites for it.
> 
> 1. How many servers are needed for this?, can we plan with 2 servers like
> below config.
>    Primary instance and pgpool in two different docker containers in server
> 1 and standby instance in docker container server 2.

It depends on your requirements.
You can create 3 containers (pgpool, primary and standby)
on one server or on different servers.

> 2. User requirement: any user needs password less authentication between
> nodes.

It is possible by configuring pool_hba.conf (Pgpool-II) and pg_hba.conf (PostgreSQL).

> 3. Port or firewall rules between servers.

Pgpool port and PostgreSQL port need to be accessible.
 
> 4. If planning to create a network bridge between all docker containers
> between 2 servers will be any prerequisites for that.

You need to make sure all containers can connect to each other.
-- 
Bo Peng <pengbo@xxxxxxxxxxxx>
SRA OSS, Inc. Japan





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux