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 61DDFD1B549 for ; Tue, 14 Oct 2003 14:02:23 +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 92468-07 for ; Tue, 14 Oct 2003 11:01:56 -0300 (ADT) Received: from colsweeper.cranel.com (newmail.cranel.com [12.32.71.147]) by svr1.postgresql.org (Postfix) with ESMTP id 21AE7D1B53D for ; Tue, 14 Oct 2003 11:01:52 -0300 (ADT) Received: from colmail01.cranel.com (colmail01.cranel.com) by colsweeper.cranel.com (Content Technologies SMTPRS 4.2.5) with ESMTP id for ; Tue, 14 Oct 2003 10:04:00 -0400 Received: from cranel.com (gspiegelberg.cranel.com [192.168.11.134]) by colmail01.cranel.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id 45JWJAMV; Tue, 14 Oct 2003 10:04:50 -0400 Message-ID: <3F8C01CF.6090005@cranel.com> Date: Tue, 14 Oct 2003 10:01:51 -0400 From: Greg Spiegelberg Organization: Cranel, Inc. User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Postgres Admin List Subject: Multiple databases Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200310/134 X-Sequence-Number: 10695 Hiya, We're looking into ways to cluster our database servers and shared storage. Here's the low-down on our servers... all run RedHat 7.3 with a few patches and are dual PIII 1.4GHz, 2GB, mirrored internal 36, Qlogic 2310 HBA to a LUN on our Hitachi. PostgreSQL 7.3.3 is installed from source and the one that came with RH has been removed. There are currently 3 of these servers and each are designed to run 1 instance of PostgreSQL with 10-20 databases of varying size from 5 to 20GB. I have PostgreSQL pretty well tweaked to maximize memory so I'm hesitant to have a 2nd instance running on the server in the case of a failover. This is what I'm curious about. Server A has it's databases under /pg/dataA and Server B has it's databases under /pg/dataB both are different LUN's on our SAN. Should Server A choke, Server B should fsck /pg/dataA and mount it locally. At this point it needs to either (1) start a new instance of PostgreSQL listening on 5432/tcp but bound to a different IP or (2) the current PostgreSQL "imports" the databases under /pg/dataA Each have their good points and problematic issues. Thoughts? Greg -- Greg Spiegelberg Sr. Product Development Engineer Cranel, Incorporated. Phone: 614.318.4314 Fax: 614.431.8388 Email: gspiegelberg@Cranel.com Cranel. Technology. Integrity. Focus.