Re: [ADMIN] How do you manage cluster replication and failover ? - Mailing list pgsql-admin

From Poul Kristensen
Subject Re: [ADMIN] How do you manage cluster replication and failover ?
Date
Msg-id CAAOuvVoca8ac1Y6uUN6WApvtprgPG7wF6tBjPTK6JP0oSdEAwg@mail.gmail.com
Whole thread Raw
In response to Re: [ADMIN] How do you manage cluster replication and failover ?  (stevenchang1213 <stevenchang1213@gmail.com>)
List pgsql-admin
Replication manager is a choise.  

/Poul

2017-04-07 14:36 GMT+02:00 stevenchang1213 <stevenchang1213@gmail.com>:

hi robin,

      All ur words is just one thing - pgpool II.
     The project also contains Admin UI.
      U can download and try it.

steven 

-------- 原始訊息 --------
自: Robin LUCBERNET <rlucbernet@maltem.com>
日期: 2017/4/6 17:17 (GMT+08:00)
主旨: [ADMIN] How do you manage cluster replication and failover ?

Hello,


We are currently trying to setup a multi hosts databases cluster with goals:
 * replication (no data-loss is "required", replication timing do not needs to be instant)
 * failover
 * load-balancing (bonus)


We tried:
 * synchronious replication (pgpool replication mode) + load-balancing (pgpool) : very interesing as we can theorically failover on any node at any moment. But even after several configuraation tweeks, we never succeed getting good write performance.
 * asynchronious replication (postgres 9.6 streaming replication) : good write performance, good replication timings (< 1 second for small transactions). We could loadbalance select requests using pgpool.


How do you manage your postgresql clusters ? Do you use pgpool ? pgbouncer ? other ?
How do you manage to single access point ? usign pgpool ? pgbouncer ?
Do you use streaming replication ? WAL archiving ? How do you handle to automatic failover ?


Robin




--
Med venlig hilsen / Best regards
Poul Kristensen
Linux-OS/Virtualizationexpert and Oracle DBA

pgsql-admin by date:

Previous
From: stevenchang1213
Date:
Subject: Re: [ADMIN] How do you manage cluster replication and failover ?
Next
From: bricklen
Date:
Subject: Re: [ADMIN] How do you manage cluster replication and failover ?