Re: Installing multiple instances of Postgred on one FreeBSD server

From: Jim Mercer <jim(at)reptiles(dot)org>
To: Benjamin Krajmalnik <kraj(at)servoyant(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Installing multiple instances of Postgred on one FreeBSD server
Date: 2013-05-01 20:24:01
Message-ID: 20130501202401.GA36654@reptiles.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Wed, May 01, 2013 at 02:21:44PM -0600, Benjamin Krajmalnik wrote:
> So essentially we would have to run jails on this - does that affect
> performance?

i would say minimal impact.

>
>
> -----Original Message-----
> From: Jim Mercer [mailto:jim(at)reptiles(dot)org]
> Sent: Wednesday, May 01, 2013 2:20 PM
> To: Benjamin Krajmalnik
> Cc: pgsql-admin(at)postgresql(dot)org
> Subject: Re: [ADMIN] Installing multiple instances of Postgred on one
> FreeBSD server
>
> On Wed, May 01, 2013 at 01:58:21PM -0600, Benjamin Krajmalnik wrote:
> > I would like to install PG 9.2 on the same server and use Slony to
> > replicate the databases, and once everything is up take the 9.0
> > cluster down.
>
> allocate a new ip to the server.
> reconfigure/restart 9.0 to listen on the main IP (not "all" as default)
>
> use ezjail to create a freebsd jail on thenew IP
>
> install 9.2 in the jail
>
> treat it them as two servers.
>
> point clients at new ip.
>
> once migrated, delete all 9.0 from the main server.
>
> if you need to upgrade again, add another jail.
>
> stop and delete the old jail whe the next upgrade is complete.
>
> repeat as often as you want to upgrade.
>
> i'm pretty sure this can be adapted to linux, but i forget what their
> jail equivilent is.
>
> the overhead is minimal
>
>
>
> --
> Jim Mercer Reptilian Research jim(at)reptiles(dot)org +1 416
> 410-5633
> "He who dies with the most toys is nonetheless dead"

--
Jim Mercer Reptilian Research jim(at)reptiles(dot)org +1 416 410-5633
"He who dies with the most toys is nonetheless dead"

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Gezeala M. Bacuño II 2013-05-01 21:37:52 Re: Installing multiple instances of Postgred on one FreeBSD server
Previous Message Benjamin Krajmalnik 2013-05-01 20:21:44 Re: Installing multiple instances of Postgred on one FreeBSD server