Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 679FF9FB405 for ; Wed, 4 Oct 2006 08:47:29 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 85662-07 for ; Wed, 4 Oct 2006 08:47:20 -0300 (ADT) X-Greylist: delayed 00:23:29.338093 by SQLgrey- Received: from svr4.postgresql.org (svr4.postgresql.org [66.98.251.159]) by postgresql.org (Postfix) with ESMTP id 437E59FB3F0 for ; Wed, 4 Oct 2006 08:47:20 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.3 Received: from ogo.rapideye.de (ogo.rapideye.de [212.204.56.174]) by svr4.postgresql.org (Postfix) with ESMTP id 40B055AF9B0 for ; Wed, 4 Oct 2006 11:23:49 +0000 (GMT) Received: by ogo.rapideye.de (Postfix, from userid 1000) id 496B6C01A; Wed, 4 Oct 2006 13:23:45 +0200 (CEST) organization: RapidEye AG X-Mailer: OpenGroupware.org MIME-Version: 1.0 From: "Sebastian Reitenbach" Subject: postgres in HA constellation To: pgsql-admin@postgresql.org Reply-To: "Sebastian Reitenbach" content-type: text/plain; charset="us-ascii" date: Wed, 04 Oct 2006 11:23:45 -0000 content-transfer-encoding: 7bit Message-Id: <20061004112345.496B6C01A@ogo.rapideye.de> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200610/21 X-Sequence-Number: 23324 Hi all, I want to use postgres, combined with postgis, in a high available configuration to store spatial data. I will have tens of millions, or even more, of datasets in the database. so the database will be fairly large and consume a lot of disk space. Therefore I thought to have a shared storage. the HA postgres Howto states following possibilities: - backup/restore with pg_dump/pg_restore (the process took, with a test database on a fairly fast computer, about one or two days, way too long) - rsync, but I doubt that this will work in my case - rserv, replication script the most promising, in an active/passvie HA configuration seems to be the rserv script. Unfortunately there was not much info about it in the HOWTO. furthermore I found LifeKeeper, a commercial monitor to use with Postgresql in a HA environment. http://www.openminds.co.uk/high_availability_solutions/databases/postgresql.htm something I thought that might work: is there sth. that will repair an inconsisten postgresql datastore? e.g. the master database died, the slave will mount the storage, then repair it in a reasonable time, and then start to work. I assume having postgres running in a shared storage environment, with a are there any other possibilities that might work that I am not aware of? anybody has experiences with postgres in a HA environment with shared storage? any hint is greatly appreciated kind regards Sebastian