Gentoo Archives: gentoo-server

From: Hannes Erven <h.e@×××.at>
To: gentoo-server@l.g.o
Subject: [gentoo-server] dev-db/postgresql-server: support for multiple instances / clusters?
Date: Fri, 15 Jul 2011 10:50:34
Message-Id: 4E201B4C.5020706@gmx.at
1 Folks,
2
3
4 Is there a recommended way of serving multiple postgres "clusters" from one
5 Gentoo install?
6
7
8 I found a Gentoo Forums discussion (
9 http://forums.gentoo.org/viewtopic-t-760049-start-0.html ) but there was
10 no result. A bug report (https://bugs.gentoo.org/show_bug.cgi?id=375185
11 ) directed me to the mailing lists.
12
13
14 Ubunut/Debian seems to include tools to facilitate setup of multiple
15 clusters on one machine:
16 http://www.stuartellis.eu/articles/postgresql-setup/#multiple-clusters
17
18
19 What I'd like to do is use one Gentoo-powered machine to act as a
20 streaming replication slave to multiple master servers. If the masters
21 ran different versions it would not be a problem: the current init/conf
22 scripts already support one cluster per version, but not multiple
23 clusters per version.
24
25
26 Thanks for any comments!
27
28
29 -hannes