From: Jehan-Guillaume (ioguix) de Rorthais <ioguix@free.fr>
To: 盧致均(Harry) <harry@linktech.com.tw>
Cc: pgsql-admin@lists.postgresql.org
Subject: Re: Customize Postgresql HA structure
Date: Mon, 10 Jun 2019 23:14:46 +0200
Message-ID: <20190610231446.1ac1e8d5@firost> (raw)
In-Reply-To: <CAPe_R0b-_r2Zg9YM=E-9O0N4HpV26iaOB788RnLHC5p9_TMDKg@mail.gmail.com>
References: <CAPe_R0b-_r2Zg9YM=E-9O0N4HpV26iaOB788RnLHC5p9_TMDKg@mail.gmail.com>
On Mon, 10 Jun 2019 16:37:55 +0800
盧致均(Harry) <harry@linktech.com.tw> wrote:
> Hi Team,
>
> Can we build a HA structure with 2 standalone Postgresql-server?
>
> In the theory,we should can build Postgresql-server in shared storage,
>
> then we will prepare another cold standby Postgresql-server listening to
> the active server.
>
> When the active crash or shutdown,the cold standby server will auto replace
> original server.
>
> Is this feasible?Or where can we find related article?
Yes. Under Linux, you would have to use Pacemaker with:
* a decent SAN
* IO fencing and/or node feneing
* resource agent "Filesystem"
If I remember correctly, there was a HA cookbook describing this architecture.
Good luck.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: ioguix@free.fr, harry@linktech.com.tw, pgsql-admin@lists.postgresql.org
Subject: Re: Customize Postgresql HA structure
In-Reply-To: <20190610231446.1ac1e8d5@firost>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox