Re: CentOS initd Script

Поиск
Список
Период
Сортировка
От Devrim GUNDUZ
Тема Re: CentOS initd Script
Дата
Msg-id d1f6ad682237b1edefb0744ef2df8113.squirrel@tombalak.org
обсуждение исходный текст
Ответ на Re: CentOS initd Script  (Scott Marlowe <scott.marlowe@gmail.com>)
Список 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.


В списке pgsql-general по дате отправления:

Предыдущее
От: Scott Marlowe
Дата:
Сообщение: Re: CentOS initd Script
Следующее
От: Herouth Maoz
Дата:
Сообщение: Re: Is there a way to use "pack" in pl/perl without resorting to pl/perlu?