pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <bruce@momjian.us>
To: Guillaume Lelarge <guillaume@lelarge.info>
Cc: Vicky Soni - Quipment India <vicky.soni@quipment.nl>
Cc: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: Major Version Upgradation in Replication Environment
Date: Tue, 10 May 2016 16:39:01 -0400
Message-ID: <20160510203901.GB22757@momjian.us> (raw)
In-Reply-To: <CAECtzeVbCXNov9WAcTVxzWbPhtxAGE056D_GTsN0ZSTmTCQhng@mail.gmail.com>
References: <77592492c52d46ccbbe7e79b448da317@Strand.quipment.local>
	<CAECtzeVbCXNov9WAcTVxzWbPhtxAGE056D_GTsN0ZSTmTCQhng@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>

On Thu, May  5, 2016 at 03:59:00PM +0200, Guillaume Lelarge wrote:
> 2016-05-05 11:48 GMT+02:00 Vicky Soni - Quipment India <vicky.soni@quipment.nl>
> :
> 
>     
>     Hello Friends,
> 
>      
> 
>                             We have a windows setup where we have 2 node
>     primary-slave setup which comprises Async Replication + Log Shippin on slave.
> 
>      
> 
>     Now we want to upgrade it from 9.3 to 9.4 version.
> 
>      
> 
>     Do we need to upgrade slave to 9.4, upgrade master to 9.4 and setup replication
>     again from scratch?
> 
>      
> 
> 
> 
> Just upgrade master to 9.4, install 9.4 on slave, and setup replication again.
>  
> 
>     What are the best possible ways available to upgrade slave and master without
>     setting up replication again?
>     
> 
> 
> You can't.

Actually, the 9.5 pg_upgrade docs have in insructions on how upgrade a
slave without recreating the slave image, and it works back to 9.1:

	http://www.postgresql.org/docs/9.5/static/pgupgrade.html
	Upgrade Streaming Replication and Log-Shipping standby servers

-- 
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

+ As you are, so once was I. As I am, so you will be. +
+                     Ancient Roman grave inscription +


-- 
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin



view thread (4+ messages)  latest in thread

Message-ID: <20160510203901.GB22757@momjian.us>
Permalink:  ../20160510203901.GB22757@momjian.us/
Also on:    postgresql.org/message-id/20160510203901.GB22757@momjian.us

 · 

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-admin@postgresql.org
  Cc: bruce@momjian.us, guillaume@lelarge.info, vicky.soni@quipment.nl
  Subject: Re: Major Version Upgradation in Replication Environment
  In-Reply-To: <20160510203901.GB22757@momjian.us>
  References: <77592492c52d46ccbbe7e79b448da317@Strand.quipment.local> <CAECtzeVbCXNov9WAcTVxzWbPhtxAGE056D_GTsN0ZSTmTCQhng@mail.gmail.com> <20160510203901.GB22757@momjian.us>

* 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