Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id 23E7F2DF893 for ; Tue, 13 Dec 2011 07:45:03 -0400 (AST) Received: from intern.proventis.net ([85.182.161.50]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1RaQn8-0000zp-UR for pgsql-admin@postgresql.org; Tue, 13 Dec 2011 11:45:04 +0000 Received: from mail.proventis.net (unknown [192.168.22.239]) by intern.proventis.net (Postfix) with ESMTP id E05FA2C1C4 for ; Tue, 13 Dec 2011 12:44:49 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail.proventis.net (Postfix) with ESMTP id 8FC3C12CE51 for ; Tue, 13 Dec 2011 12:44:49 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail.proventis.net Received: from mail.proventis.net ([127.0.0.1]) by localhost (mail.proventis.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cbrM0id77wlA for ; Tue, 13 Dec 2011 12:44:49 +0100 (CET) Received: from [192.168.22.130] (tmarkus.proventis.net [192.168.22.130]) by mail.proventis.net (Postfix) with ESMTP id 25C42122CE3 for ; Tue, 13 Dec 2011 12:44:49 +0100 (CET) Message-ID: <4EE73AB1.1050904@proventis.net> Date: Tue, 13 Dec 2011 12:44:49 +0100 From: Thomas Markus Organization: proventis GmbH User-Agent: Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: Re: Creating Multiple Instance References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -4.2 (----) X-Archive-Number: 201112/67 X-Sequence-Number: 38825 Hi, thats possible. Dont forget so set another port in your postgresql.conf Thomas Am 13.12.2011 09:23, schrieb Selva manickaraja: > Hi All, > > We are planning to create a 2nd instance of postgres db in the same > server. The reason is simple. After we added another application, the > number of WAL(s) created is too much. So we want to separate the db by > moving it out to another instance of postgres in the same machine. We > want to study that new application the new db independently to > understand what could go wrong. Meanwhile we want the operations and > backups on our existing db running on 5432 port to be going on as usual. > > Steps we took: > > 1.Create a new cluster "/pgs/903/data_5433" > 2. Start the db instance using new parameters i.e. - (su - postgres -c > "/opt/pgs/903/bin/pg_ctl -w start -D \"/pgs/903/data_5433\" -l > \"/pgs/903/data_5433/pg_log/startup.log\"") > > Unfortunately we got the following error. > > pg_ctl: another server might be running; trying to start server anyway > waiting for server to start... done > server started > > First of all, we want to know if at all it is possible to do this in > PostgreSQL, or whether we missed out any important steps. > > Please help. > > Thank you. > > Regards, > > Selvam > >