pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Vano Beridze <vanuatoo@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: Upgrade 9.5 cluster on Ubuntu 16.04
Date: Thu, 2 Sep 2021 11:13:49 -0700
Message-ID: <52fa93d2-d934-87c4-e2e2-29856c6cdaab@aklaver.com> (raw)
In-Reply-To: <CANmF5MDMAUSvURfQhAMPy8VReLjyUEh0nF=zTtNmsRb5GwNMmA@mail.gmail.com>
References: <CANmF5MDMAUSvURfQhAMPy8VReLjyUEh0nF=zTtNmsRb5GwNMmA@mail.gmail.com>

On 9/2/21 10:38 AM, Vano Beridze wrote:
> Hello,
> 
> I've got 2 VMs with Postgresql 9.5 cluster with streaming replication.
> VMs  have Ubuntu 16.04.
> I would like to upgrade Ubuntu and Postgresql to newer versions.
> Ubuntu 16.04 supports upgrading to 18.04.
> What is the safest way to upgrade Postgresql cluster along with it?

What repo are you getting Postgres from, Ubuntu or PGDG?

> The database is not big and I can afford completely shutdown the cluster 
> during the upgrade.

That is going to happen whether you want it or not 16.04 -> 18.04 is 
going to involve a reboot.

> 
> What would you suggest?
> 
> Kind regards,
> Vano


-- 
Adrian Klaver
adrian.klaver@aklaver.com





view thread (9+ messages)  latest in thread

Message-ID: <52fa93d2-d934-87c4-e2e2-29856c6cdaab@aklaver.com>
Permalink:  ../52fa93d2-d934-87c4-e2e2-29856c6cdaab@aklaver.com/
Also on:    postgresql.org/message-id/52fa93d2-d934-87c4-e2e2-29856c6cdaab@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, vanuatoo@gmail.com
  Subject: Re: Upgrade 9.5 cluster on Ubuntu 16.04
  In-Reply-To: <52fa93d2-d934-87c4-e2e2-29856c6cdaab@aklaver.com>
  References: <CANmF5MDMAUSvURfQhAMPy8VReLjyUEh0nF=zTtNmsRb5GwNMmA@mail.gmail.com> <52fa93d2-d934-87c4-e2e2-29856c6cdaab@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