pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Julie Nishimura <juliezain@hotmail.com>
To: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: replication topography
Date: Tue, 26 Feb 2019 15:56:22 -0800
Message-ID: <c1225373-e84d-477f-6e20-b8b5b6012f00@aklaver.com> (raw)
In-Reply-To: <BYAPR08MB5014541A2214E5F50872DE30AC7B0@BYAPR08MB5014.namprd08.prod.outlook.com>
References: <BYAPR08MB5014541A2214E5F50872DE30AC7B0@BYAPR08MB5014.namprd08.prod.outlook.com>

On 2/26/19 2:40 PM, Julie Nishimura wrote:
> Hello everybody,
> I've inherited big complicated postgresql kingdon with multiple servers 
> in it, some of them are replicated, some of them are not, and there is 
> Bunch of them.
> 
> What would you be your suggestion, how should I start my investigation 
> what is master, what is replicas, is there any slony/streaming 
> replication. etc?

In addition to what Steve posted:

1) Do a search on the machines for the file PG_VERSION. That will locate 
the the PGDATA directory for each instance.

2) Are you dealing with the same OS across the servers?
Can you use the package manager to ferret out the Postgres servers?


> 
> Some of them stand alone instances, but some are mirrored. And of 
> course, developers want to know answers NOW:)

Well either:

1) They don't how things where setup in the past and still managed to 
get development done, so the need to know NOW is just panicking.

2) They do know some or all of the layout and can contribute to the 
solution.

> 
> The versions are mainly 8.3 and 9.4. So, pg_is_in_recovery shows either 
> function doe not exist (on 8.3) or "f" for 9.4 (which can mean it is 
> master, right)?
> 
> Any advises are greatly appreciated.
> 
> Thank you,
> Julie


-- 
Adrian Klaver
adrian.klaver@aklaver.com




view thread (4+ messages)  latest in thread

Message-ID: <c1225373-e84d-477f-6e20-b8b5b6012f00@aklaver.com>
Permalink:  ../c1225373-e84d-477f-6e20-b8b5b6012f00@aklaver.com/
Also on:    postgresql.org/message-id/c1225373-e84d-477f-6e20-b8b5b6012f00@aklaver.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: adrian.klaver@aklaver.com, juliezain@hotmail.com
  Subject: Re: replication topography
  In-Reply-To: <c1225373-e84d-477f-6e20-b8b5b6012f00@aklaver.com>
  References: <BYAPR08MB5014541A2214E5F50872DE30AC7B0@BYAPR08MB5014.namprd08.prod.outlook.com> <c1225373-e84d-477f-6e20-b8b5b6012f00@aklaver.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