How to run a second instance on the same server?

From: Andreas <maps(dot)on(at)gmx(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: How to run a second instance on the same server?
Date: 2014-09-19 01:14:51
Message-ID: 541B838B.6090700@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

I've got 2 hardware servers running PG 9.3.5 from the
postgres.org-repository. It's a Ubuntu server 12.x.

Box 2 replictes box 1. That works.

I'd like to use Box 2 as a Test- and Training installation as it is
probaply bored to death just mirroring Box 1.
AFAIK I can't just create an additional DB on Box 2 that doesn't exist
on Box 1, too.

How can I start a second PG server say on Port 5430?

It needs to
have an own data directory and config in /etc
and it needs to get started automagically at boot time.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message John R Pierce 2014-09-19 01:17:26 Re: How to run a second instance on the same server?
Previous Message smcg2297 2014-09-18 22:35:34 a couple questions about convert()