X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 1EE48D1E0DB for ; Fri, 27 Feb 2004 16:11:56 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 26729-02 for ; Fri, 27 Feb 2004 12:11:41 -0400 (AST) Received: from Mercury.turbocorp.com (unknown [198.212.166.40]) by svr1.postgresql.org (Postfix) with ESMTP id 33245D1BA21 for ; Fri, 27 Feb 2004 12:11:27 -0400 (AST) Received: from turbocorp.com (Voyager.turbocorp.com [198.212.166.61]) by Mercury.turbocorp.com (8.12.8/8.12.8) with ESMTP id i1RGBChv024312; Fri, 27 Feb 2004 11:11:12 -0500 Message-ID: <403F6C1A.8030804@turbocorp.com> Date: Fri, 27 Feb 2004 11:11:06 -0500 From: John Allgood User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1) Gecko/20031114 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jean-Marc Pigeon , pgsql-admin@postgresql.org Subject: Re: Running Multiple Postmasters References: <403EB796.2010502@turbocorp.com> <20040227152804.GD12798@montreal.safe.ca> In-Reply-To: <20040227152804.GD12798@montreal.safe.ca> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200402/382 X-Sequence-Number: 12555 Jean-Marc Pigeon wrote: >Bonjour John Allgood, > > >>Hello >> >> I am building a server to run 9 databases. Can I run a seperate >>postmaster for each of the 9 databases. I would be setting the port >>number to a different value for each db of course. The reason I wish to >>do this is so that I can install about three databases on a seperate >>disk and put the other on seperate disk as well. I want to be able to >>build scripts to shutdown and start each database individually. Example >>below. I would also put the WAL on seperate disk as well which I will do >>with links. I this something I can do. >> >> > No problem to do this, we are doing the same (each designer > getting its own data-base) for test purpose. > > command like: > /usr/bin/postmaster -D //regulus/reg2/dbm -p 1622 -B512 -o -S2048 > where -D and -p parameter are different for each data-base. > (we are starting postmater from inside the application itself > such we are sure application is working on the proper base and port) > Be sure to create a full data-base structure in the proper area. > Hello Again What I have done is modified the basic startup script on redhat and change the PGDATA and PGPORT to the corresponding port number and db path. For my other startup parameters I have modified the postgresql.conf in each database structure file this way I can start and stop the databases easily. Just curious are you running the databases from servers or workstations. Thanks