From: Stéphane KANSCHINE <stephane@hexack.fr>
To: Erika Knihti-Van Driessche <erika.knihti@gmail.com>
Cc: pgsql-admin@lists.postgresql.org
Subject: Re: Multiple postgresql clusters with same version and separate binaries
Date: Mon, 7 Jan 2019 15:36:21 +0100
Message-ID: <20190107143621.5byvsoedlriok3ft@office.hexack.fr> (raw)
In-Reply-To: <FE3AE60D-1B69-45A8-823C-75A7761EAF53@gmail.com>
References: <CALgXhV_8SKtraLOYWtJcqL4_9X9i9WT94Wx2-1sp99ZyvJy6WQ@mail.gmail.com>
<CAGDYbUOy1kreTzTDx1uFfOCuNFeGdduW+iRhBjcdJk7vewqSzw@mail.gmail.com>
<FE3AE60D-1B69-45A8-823C-75A7761EAF53@gmail.com>
Le ven. 4 janv., vers 16:30, Erika Knihti-Van Driessche exprimait :
> Hi,
Hey !
> Thanks all for your replies and help! I already thought that it’ll
> be possible to just install binaries in different locations.
It's not necessary, you "only" have to separate services, one
thing that manages the services files in the Debian packages. It also
manages clusters init and stop/start/etc globally for services named :
- postgresql@10-cluster1
- postgresql@10-cluster2
- ...
> Oh, and I’m on RHEL 7. [...] Previously I did do a minor upgrade -
> shutdown all clusters and upgrade, then startup all.. but now they
> start doing difficult with downtime for all applications at the same
> time, so with next upgrade, I’ll separate all binaries.
Please don't, you'll regret it when you'll have to upgrade as you'll have
to uprade all your binaries. You should create separated services
files and a global one.
Regards,
--
Stéphane KANSCHINE - https://www.hexack.fr./ - https://www.nuajik.io./
@ stephane@hexack.fr
+33 6 64 31 72 52
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 using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: stephane@hexack.fr, erika.knihti@gmail.com, pgsql-admin@lists.postgresql.org
Subject: Re: Multiple postgresql clusters with same version and separate binaries
In-Reply-To: <20190107143621.5byvsoedlriok3ft@office.hexack.fr>
* 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