pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Praveen Kumar K S <praveenssit@gmail.com>
To: pgsql-admin@postgresql.org
Subject: Re: [HELP] Query regarding failover
Date: Wed, 01 Jul 2020 09:38:08 +0200
Message-ID: <9f08d0b2aeb76d9775acf18b6bb70fac0ae51d2b.camel@cybertec.at> (raw)
In-Reply-To: <CANSiNp4REXa7QWEXvkT5ceESPC29iOVXU_Hjq52iL6GFzvc2uw@mail.gmail.com>
References: <CANSiNp4REXa7QWEXvkT5ceESPC29iOVXU_Hjq52iL6GFzvc2uw@mail.gmail.com>

On Tue, 2020-06-30 at 20:54 +0530, Praveen Kumar K S wrote:
> My requirement is to set up a process to handle failover and recovery without manual intervention.
> I would like to know your suggestions if there is any standard way of doing this or is it better to write custom scripts.

I don't think you can do that reliably with "custom scripts".
There is no standard way, but have a look at Patroni.

Yours,
Laurenz Albe
-- 
Cybertec | https://www.cybertec-postgresql.com






view thread (4+ messages)  latest in thread

Message-ID: <9f08d0b2aeb76d9775acf18b6bb70fac0ae51d2b.camel@cybertec.at>
Permalink:  ../9f08d0b2aeb76d9775acf18b6bb70fac0ae51d2b.camel@cybertec.at/
Also on:    postgresql.org/message-id/9f08d0b2aeb76d9775acf18b6bb70fac0ae51d2b.camel@cybertec.at

 · 

reply

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: laurenz.albe@cybertec.at, praveenssit@gmail.com
  Subject: Re: [HELP] Query regarding failover
  In-Reply-To: <9f08d0b2aeb76d9775acf18b6bb70fac0ae51d2b.camel@cybertec.at>

* 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