pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Spiegelberg, Greg <gspiegelberg@cranel.com>
To: Chris Browne <cbbrowne@acm.org>
To: pgsql-admin@postgresql.org
Subject: Re: postgresql cluster on SAN
Date: Fri, 23 Sep 2005 09:07:35 -0400
Message-ID: <82E74D266CB9B44390D3CCE44A781ED96B500D@POSTOFFICE.cranel.local> (raw)

This is possible.  Below is a brief recipe.

1. Use Veritas Storage Foundation HA with Cluster File System.
2. Have a volume with cfs available to 2 or more systems via SAN.
3. Install PostgreSQL and be sure PGDATA is on the cfs mount
4. Create a Storage Checkpoint of cfs mount (read-write virtual copy)
5. Bring up PostgreSQL on node1
6. Mount storage checkpoint on node2
7. Start PostgreSQL on node2

Drawbacks?  Heck yes.  There are many and you should understand the
nature of Veritas Storage Checkpoints before using.  I have tested it
though in conjunction with dblink() and some other proprietary API's we
use for load balancing and the potential is there to manage many large
SELECT's.

Greg


-----Original Message-----
From: pgsql-admin-owner@postgresql.org
[mailto:pgsql-admin-owner@postgresql.org] On Behalf Of Chris Browne
Sent: Tuesday, September 20, 2005 10:15 PM
To: pgsql-admin@postgresql.org
Subject: Re: [ADMIN] postgresql cluster on SAN

robertngo@perridot.com (Robert Ngo) writes:
> Can i create create a cluster of postgresql server by sharing the
> database file on a SAN? I am also looking into slony but slony
replicate
> data to each server and my database will potentially have terabytes of
> data. I am thinking about a solution where a cluster of database
server
> will share database files on SAN, can this be done? I am also looking
> for a load balancing salution for the postgresql database. Any
sugestion?

What you wish can NOT be done.

There can only be ONE postmaster for each database cluster; you can
NOT have multiple servers sharing a single cluster.
-- 
(reverse (concatenate 'string "gro.gultn" "@" "enworbbc"))
http://cbbrowne.com/info/internet.html
"The real  romance is   out   ahead and   yet to come.    The computer
revolution hasn't started yet. Don't be misled by the enormous flow of
money into bad defacto standards for unsophisticated buyers using poor
adaptations of incomplete ideas." -- Alan Kay

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings



view thread (12+ messages)  latest in thread

Message-ID: <82E74D266CB9B44390D3CCE44A781ED96B500D@POSTOFFICE.cranel.local>
Permalink:  ../82E74D266CB9B44390D3CCE44A781ED96B500D@POSTOFFICE.cranel.local/
Also on:    postgresql.org/message-id/82E74D266CB9B44390D3CCE44A781ED96B500D@POSTOFFICE.cranel.local

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: gspiegelberg@cranel.com, cbbrowne@acm.org
  Subject: Re: postgresql cluster on SAN
  In-Reply-To: <82E74D266CB9B44390D3CCE44A781ED96B500D@POSTOFFICE.cranel.local>
  References: <82E74D266CB9B44390D3CCE44A781ED96B500D@POSTOFFICE.cranel.local>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox