Re: Best practices for building and running on FreeBSD?

From: Achilleas Mantzios <achill(at)matrix(dot)gatewaynet(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Cc: "Andrew Hammond" <andrew(dot)george(dot)hammond(at)gmail(dot)com>
Subject: Re: Best practices for building and running on FreeBSD?
Date: 2007-02-07 15:20:17
Message-ID: 200702071720.17889.achill@matrix.gatewaynet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Στις Τετάρτη 07 Φεβρουάριος 2007 16:31, ο/η Achilleas Mantzios έγραψε:
> Στις Τετάρτη 07 Φεβρουάριος 2007 02:15, ο/η Andrew Hammond έγραψε:
> > I'm looking for a document on best practices for building and
> > operating PostgreSQL on FreeBSD (amd64). Does such a thing already
> > exist? If not, I'm willing to put one together and maintain it.
> >
> > Things I care about:
> > 1) I need to run multiple postmasters on the same server. I think that
> > jails may provide a good way to virtualize this. I haven't seen any
> > documentation on running PostgreSQL in FreeBSD jails except for a
> > number of emails how it fails for FreeBSD 5.2.
>
> Just follow
> http://archives.postgresql.org/pgsql-hackers/2006-04/msg00037.php on what
> to expect from running postgresql inside FreeBSD jails.

Also jail2 patch (which is a new implementation)
http://docs.freevps.com/lib/exe/fetch.php?id=freebsd%3Achangelog&cache=cache&media=freebsd:jail2-releng6.diff.14.gz
is definately worth a try.

>
> > 2) Each of these postmasters may be running a different PostgreSQL
> > binary (or PostgreSQL binaries with different additional modules like
> > Slony1 included). The existing FreeBSD ports do not support having
> > multiple versions of the PostgreSQL binaries installed. Again, there
> > may be a work around for this using jails of which I am unaware.
> > Currently I'm contemplating simply building binary tarballs.
> >
> > 3) My sysadmin wants me to do the Right Thing with regards to
> > packaging.
> >
> > 4) I would strongly prefer to use DJB's services / multilog stuff to
> > handle logging the operation of the database.
> >
> > 5) I would like to conform to community standards with regards to
> > configure options to facilitate debugging or core dump analysis should
> > it be necessary.
> >
> > Any guidance on this would be much appreciated.
> >
> > Andrew
> >
> >
> > ---------------------------(end of broadcast)---------------------------
> > TIP 5: don't forget to increase your free space map settings

--
Achilleas Mantzios

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Michael Monnerie 2007-02-07 16:08:26 Re: [RFC] mysql compatibility project
Previous Message Andrew Sullivan 2007-02-07 14:35:48 Re: database encryption