Search Postgresql Archives

Start-up script for few clusters: just add water?

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

 



Hi all,

I've installed Postgres with few instances/clusters, however I've got a
problem with start-up scripts for all clusters. As far as I know the file
postgresql should be modified in the /etc/sysconfig/pgsql directory. The
question is as follows:
Can I paste few clusters in this file? Currently I've got something like
this:

PGPORT=5566
PGDATA=/db/one_cluster

Such script will start only one cluster during server rebooting. Can I just
add more clusters in PGDATA in the file, something like this:

PGPORT=5566
PGDATA=/db/first_cluster
PGPORT=5567
PGDATA=/db/second_cluster
PGPORT=5568
PGDATA=/db/third_cluster

Will it work?

Thanks in advance, Eustace
-- 
View this message in context: http://old.nabble.com/Start-up-script-for-few-clusters%3A-just-add-water--tp28363883p28363883.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.


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