Skip site navigation (1) Skip section navigation (2)

Re: One data dir and two servers

From: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
To: Nikolai ZHUBR <zhubr(at)mail(dot)ru>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: One data dir and two servers
Date: 2009-07-18 15:35:52
Message-ID: dcc563d10907180835u171de27dy26858af14d266bb8@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-admin
On Sat, Jul 18, 2009 at 3:47 AM, Nikolai ZHUBR<zhubr(at)mail(dot)ru> wrote:
> Hello Scott,
>
>>> I'd like to be able to run one of TWO independently installed server
>>> instances on the same single data cluster. Actually, there are even
>>> 2 separate OS instances for that, though they are mostly identical and
>>> they share the same harddisk. Server instances are also identical
>>> versions.
>
>> Sorry can't do that.  The way pgsql works it needs to be a single
>> postmaster on a single server.
>
> Probably I was not clear enough - I meant that only _one_ postmaster
> is run at a time, of course. What is wanted is that the user be able
> to choose _which_ one at boot time (So, 2 identical posmasters, 1
> cluster, 1 postmaster always up, 1 postmaster always down).

Yeah, that should work, as long as only one postmaster is up at a
time.  They both need to run under the same account.

In response to

Responses

pgsql-admin by date

Next:From: Nikolai ZHUBRDate: 2009-07-18 19:18:19
Subject: Re: One data dir and two servers
Previous:From: Nikolai ZHUBRDate: 2009-07-18 09:47:25
Subject: Re: One data dir and two servers

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group