pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Running two postgresql servers in same Ubuntu machine
3+ messages / 3 participants
[nested] [flat]

* Running two postgresql servers in same Ubuntu machine
@ 2015-07-06 04:24  Geo P.C. <pcgeopc@gmail.com>
  0 siblings, 2 replies; 3+ messages in thread

From: Geo P.C. @ 2015-07-06 04:24 UTC (permalink / raw)
  To: pgsql-admin

Please let us know  in an Ubuntu 14.04 Machine is it possible to run same
Postgresql 9.4 Instances in same machine with different ports.

We installed Postgresql 9.4 in two ubuntu servers and now we need to
configure Slave servers for these two servers. So in a third Ubuntu server
we installed Postgresql 9.4 running on port 5432 and configured as slave
server.

Now is it possible to install PostgreSQL 9.4 server on this server that
runs on port 5433 so that we can configure second slave server on this
machine itself.

Can anyone please help us on it.

Thanks
Geo

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Running two postgresql servers in same Ubuntu machine
@ 2015-07-06 09:00  David Osborne <david@qcode.co.uk>
  parent: Geo P.C. <pcgeopc@gmail.com>
  1 sibling, 0 replies; 3+ messages in thread

From: David Osborne @ 2015-07-06 09:00 UTC (permalink / raw)
  To: Geo P.C. <pcgeopc@gmail.com>; +Cc: pgsql-admin

I'm more familiar with Debian, but I think Ubuntu makes available the
pg_createcluster command?
Have a look - it allows you to create multiple clusters on different ports.

On 6 July 2015 at 05:24, Geo P.C. <pcgeopc@gmail.com> wrote:

> Please let us know  in an Ubuntu 14.04 Machine is it possible to run same
> Postgresql 9.4 Instances in same machine with different ports.
>
> We installed Postgresql 9.4 in two ubuntu servers and now we need to
> configure Slave servers for these two servers. So in a third Ubuntu server
> we installed Postgresql 9.4 running on port 5432 and configured as slave
> server.
>
> Now is it possible to install PostgreSQL 9.4 server on this server that
> runs on port 5433 so that we can configure second slave server on this
> machine itself.
>
> Can anyone please help us on it.
>
> Thanks
> Geo
>

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Running two postgresql servers in same Ubuntu machine
@ 2015-07-06 23:26  Kiki Sugiaman <ksugiaman@gmail.com>
  parent: Geo P.C. <pcgeopc@gmail.com>
  1 sibling, 0 replies; 3+ messages in thread

From: Kiki Sugiaman @ 2015-07-06 23:26 UTC (permalink / raw)
  To: pgsql-admin

You can modify postgresql.conf on the second [cluster's] datadir and set 
"port = 5433".


-- 
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2015-07-06 23:26 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2015-07-06 04:24 Running two postgresql servers in same Ubuntu machine Geo P.C. <pcgeopc@gmail.com>
2015-07-06 09:00 ` David Osborne <david@qcode.co.uk>
2015-07-06 23:26 ` Kiki Sugiaman <ksugiaman@gmail.com>

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