diff --git a/content/post/pg_auto_failover_in_ubuntu_1804_psql_11.md b/content/post/pg_auto_failover_in_ubuntu_1804_psql_11.md index fb1ee460..521fad3c 100644 --- a/content/post/pg_auto_failover_in_ubuntu_1804_psql_11.md +++ b/content/post/pg_auto_failover_in_ubuntu_1804_psql_11.md @@ -27,6 +27,10 @@ https://github.com/citusdata/pg_auto_failover 基本的邏輯是 一台 monitor , 一台 master/primary node ,一台 slave/secondary node 組成一個cluster +官方提供的架構圖如下 + + + 當master/primary node 上面的 postgresql 服務死掉了,slave/secondary node 會自動接手 等到master/primary node 回來之後,會自動降級為 slave/secondary node diff --git a/public/post/pg_auto_failover_in_ubuntu_1804_psql_11/index.html b/public/post/pg_auto_failover_in_ubuntu_1804_psql_11/index.html index 81aa45db..623dedec 100644 --- a/public/post/pg_auto_failover_in_ubuntu_1804_psql_11/index.html +++ b/public/post/pg_auto_failover_in_ubuntu_1804_psql_11/index.html @@ -144,6 +144,10 @@
基本的邏輯是 一台 monitor , 一台 master/primary node ,一台 slave/secondary node 組成一個cluster
+官方提供的架構圖如下
+ +
當master/primary node 上面的 postgresql 服務死掉了,slave/secondary node 會自動接手
等到master/primary node 回來之後,會自動降級為 slave/secondary node