Unix Technical Forum

Best practices for building and running on FreeBSD?

This is a discussion on Best practices for building and running on FreeBSD? within the pgsql Admins forums, part of the PostgreSQL category; --> I'm looking for a document on best practices for building and operating PostgreSQL on FreeBSD (amd64). Does such a ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Admins

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-10-2008, 08:10 AM
Andrew Hammond
 
Posts: n/a
Default Best practices for building and running on FreeBSD?

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.

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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-10-2008, 08:10 AM
Achilleas Mantzios
 
Posts: n/a
Default Re: Best practices for building and running on FreeBSD?

Στις Τετάρτη 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...4/msg00037.php
on what to expect from running postgresql inside FreeBSD jails.

>
> 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

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-10-2008, 08:10 AM
Achilleas Mantzios
 
Posts: n/a
Default Re: Best practices for building and running on FreeBSD?

Στις Τετάρτη 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...4/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/fetc...ng6.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

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faq

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 07:57 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com