Re: CentOS initd Script

From: "Devrim GUNDUZ" <devrim(at)gunduz(dot)org>
To: "Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com>
Cc: devrim(at)gunduz(dot)org, "Kenaniah Cerny" <kenaniah(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: CentOS initd Script
Date: 2012-09-12 16:18:53
Message-ID: d1f6ad682237b1edefb0744ef2df8113.squirrel@tombalak.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


Hi,

On Wed, September 12, 2012 7:09 pm, Scott Marlowe wrote:
> Sorry wasn't clear. I meant does RH support running > 1 cluster of
> the same version with simple commands from the command line. Like
> pg_createcluster does.

Well, no. Except running

cp /etc/init.d/postgresql-9.2 /etc/init.d/secondary-9.2 ; service
secondary-9.2 initdb; chkconfig secondary-9.2 on

I can create a small shell script that does it, but I never got a request
for this so far (well, this does not sound like a bad idea, let me see
what I can do tonight)

> And if you're a beginning DBA / Sysadmin it's one less thing to have
> to hassle with, which is why I recommend debian for newer pg dbas who
> need to build their own machines.

We are going a bit offtopic, but what Debian does is not perfect, either.
Last time I checked was it was picking a random (the next available,
whatever) port when two versions are installed in parallel. Putting conf
files under /etc is also debatable at some point, since it is pretty much
in contrast to PostgreSQL docs -- so a newbie would spend some time to
find the conf files.

See? Life is not that easy on either side. "RHEL is years behind" does not
reflect the reality, IMHO.

Anyway, I'm a big fan of RHEL, so I may be a bit subjective in here :-)

Regards,
--
Temporarily using a webmail program.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Herouth Maoz 2012-09-12 16:45:24 Re: Is there a way to use "pack" in pl/perl without resorting to pl/perlu?
Previous Message Scott Marlowe 2012-09-12 16:09:45 Re: CentOS initd Script