Search Postgresql Archives

Re: CentOS initd Script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux