pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Brad Nicholson <bradn@ca.ibm.com>
To: Zwettler Markus (OIZ) <Markus.Zwettler@zuerich.ch>
Cc: Adrian Klaver <adrian.klaver@aklaver.com>
Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re:  AW:  AW:  AW:  AW:  AW: AW: AW: broken backup trail in case of quickly patroni switchback and forth
Date: Fri, 8 Nov 2019 11:59:00 -0500
Message-ID: <OF2F4E930B.DBD7392F-ON852584AC.005D30D2-852584AC.005D4AED@notes.na.collabserv.com> (raw)
In-Reply-To: <e768b026a6c44efbb79d578e2ce096e0@zuerich.ch>
References: <0613f7e85acf4972837408cfc6260387@zuerich.ch>
	<03dc57f7107f432d872bb00ddaa1a093@zuerich.ch>
	<26aad343-c08d-d53d-9788-c592450ce438@aklaver.com>
	<954fe6896a9645d6a597c0c743e28f7f@zuerich.ch>
	<c3414dad-0b99-f58c-8fe9-ca435eccd0ca@aklaver.com>
	<9984e05af67d48bdaf730a934e63c513@zuerich.ch>
	<OFA5C55DB5.DD4DD6DF-ON852584AB.005DDB80-852584AB.005F1EAC@notes.na.collabserv.com>
	<5c019721473149aeabaaf7bd552f7e0d@zuerich.ch>
	<OFFBA3129C.8FBE3240-ON852584AC.005173DD-852584AC.0052303E@notes.na.collabserv.com>
	<99a30851a68b41c5bcd77653417f21b5@zuerich.ch>
	<OF68B9B686.4E1A74AF-ON852584AC.00596246-852584AC.00597CDB@notes.na.collabserv.com>
	<c0bc128b5b584a379b3834f22a9c7664@zuerich.ch>
	<OFDB1E26E4.8A951517-ON852584AC.005B11B9-852584AC.005B3DD2@notes.na.col <e768b026a6c44efbb79d578e2ce096e0@zuerich.ch>

"Zwettler Markus (OIZ)" <Markus.Zwettler@zuerich.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.

view thread (2+ messages)

Message-ID: <OF2F4E930B.DBD7392F-ON852584AC.005D30D2-852584AC.005D4AED@notes.na.collabserv.com>
Permalink:  ../OF2F4E930B.DBD7392F-ON852584AC.005D30D2-852584AC.005D4AED@notes.na.collabserv.com/
Also on:    postgresql.org/message-id/OF2F4E930B.DBD7392F-ON852584AC.005D30D2-852584AC.005D4AED@notes.na.collabserv.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: bradn@ca.ibm.com, Markus.Zwettler@zuerich.ch, adrian.klaver@aklaver.com
  Subject: Re: broken backup trail in case of quickly patroni switchback and forth
  In-Reply-To: <OF2F4E930B.DBD7392F-ON852584AC.005D30D2-852584AC.005D4AED@notes.na.collabserv.com>
  References: <0613f7e85acf4972837408cfc6260387@zuerich.ch> <03dc57f7107f432d872bb00ddaa1a093@zuerich.ch> <26aad343-c08d-d53d-9788-c592450ce438@aklaver.com> <954fe6896a9645d6a597c0c743e28f7f@zuerich.ch> <c3414dad-0b99-f58c-8fe9-ca435eccd0ca@aklaver.com> <9984e05af67d48bdaf730a934e63c513@zuerich.ch> <OFA5C55DB5.DD4DD6DF-ON852584AB.005DDB80-852584AB.005F1EAC@notes.na.collabserv.com> <5c019721473149aeabaaf7bd552f7e0d@zuerich.ch> <OFFBA3129C.8FBE3240-ON852584AC.005173DD-852584AC.0052303E@notes.na.collabserv.com> <99a30851a68b41c5bcd77653417f21b5@zuerich.ch> <OF68B9B686.4E1A74AF-ON852584AC.00596246-852584AC.00597CDB@notes.na.collabserv.com> <c0bc128b5b584a379b3834f22a9c7664@zuerich.ch> <OF2F4E930B.DBD7392F-ON852584AC.005D30D2-852584AC.005D4AED@notes.na.collabserv.com>

* 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