Re: AW: AW: AW: AW: AW: AW: AW: broken backup trail in case of quickly patroni switchback and forth

From: "Brad Nicholson" <bradn(at)ca(dot)ibm(dot)com>
To: "Zwettler Markus (OIZ)" <Markus(dot)Zwettler(at)zuerich(dot)ch>
Cc: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>, "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: AW: AW: AW: AW: AW: AW: AW: broken backup trail in case of quickly patroni switchback and forth
Date: 2019-11-08 16:59:00
Message-ID: OF2F4E930B.DBD7392F-ON852584AC.005D30D2-852584AC.005D4AED@notes.na.collabserv.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Zwettler Markus (OIZ)" <Markus(dot)Zwettler(at)zuerich(dot)ch> wrote on 2019/11/08
11:54:14 AM:

> > (please don't top post, makes the replies hard to follow)
>
> > patronictl switchover <clustername>
>
> > follow the prompts
>
> > there is also a /switchover API endpoint you can use.
>
> > Brad
>
> I wondered about your "patronictl switchover + systemd" hint. How
> would you do ("gate") this combination?

Change whatever process you are using today to shut things down to call the
patroni switchover first, check error codes, etc.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message stan 2019-11-08 19:43:07 Storing a time interval
Previous Message Zwettler Markus (OIZ) 2019-11-08 16:54:14 AW: AW: AW: AW: AW: AW: AW: broken backup trail in case of quickly patroni switchback and forth