add install pg_auto_failover with psql 11 in ubuntu 18.04

This commit is contained in:
2019-09-23 12:18:12 +08:00
parent 8e3c142ed6
commit 3a3da03bb9
2 changed files with 8 additions and 0 deletions

View File

@@ -27,6 +27,10 @@ https://github.com/citusdata/pg_auto_failover
基本的邏輯是 一台 monitor , 一台 master/primary node ,一台 slave/secondary node 組成一個cluster
官方提供的架構圖如下
![pg_auto_failover architecture](https://i.imgur.com/SyPFXZ1.png)
當master/primary node 上面的 postgresql 服務死掉了slave/secondary node 會自動接手
等到master/primary node 回來之後,會自動降級為 slave/secondary node