pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jan Hartmann <jhart@frw.uva.nl>
To: pgsql-admin@postgresql.org
Subject: Multiple Postmasters on Beowulf cluster
Date: Sat, 27 Jul 2002 17:24:03 +0200
Message-ID: <DIEALLGCLLCNIHBDCMAEKEFJCDAA.jhart@frw.uva.nl> (raw)
In-Reply-To: <3D416D01.7000909@vpmonline.com>

Hello,

I am using Postgresql with PostGis and the Minnesota MapServer on a Beowulf
cluster  for web-mapping applications. It runs fine on one node, producing
very fast interactive maps for an Apache/PHP web server. However, the
cluster consists of 45 nodes, all using a shared user file system. Is it
possible to start up a postmaster on every node, using the same database?
The backend processes themselves would be completely autonomous, but they
would have to share their data from the same source. To simplify things,
only read-access is necessary. Would this be possible, and if so, how can
the different postmasters be made to use a different postmaster.pid file
(which is located in the shared data directory)?

It would be an interesting way for using the cluster, as the individual map
layers can be independently constructed on different nodes, and only finally
have to be put together in a complete map. Essentially, MapServer constructs
a map from layers, where each layer originates from an individual PostgreSQL
connection, even when  using only one database. In a cluster solution
therefore, no communication between the nodes would be required. Even the
data could be distributed over the nodes and put into different databases,
but this would inevitably lead to much duplication and a set of databases
that would be very difficult to administer. In the archives, I saw some
mention of work in progress on distributed databases, but for this I don't
need much in the way of distributed facilities, just reading shared data.

Any help would be very much appreciated. It certainly would be a great
example of PostgrSQL's advanced geometrical capabilities!


Jan Hartmann
Department of Geography
University of Amsterdam
jhart@frw.uva.nl

view thread (5+ messages)  latest in thread

Message-ID: <DIEALLGCLLCNIHBDCMAEKEFJCDAA.jhart@frw.uva.nl>
Permalink:  ../DIEALLGCLLCNIHBDCMAEKEFJCDAA.jhart@frw.uva.nl/
Also on:    postgresql.org/message-id/DIEALLGCLLCNIHBDCMAEKEFJCDAA.jhart@frw.uva.nl

 · 

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: jhart@frw.uva.nl
  Subject: Re: Multiple Postmasters on Beowulf cluster
  In-Reply-To: <DIEALLGCLLCNIHBDCMAEKEFJCDAA.jhart@frw.uva.nl>
  References: <3D416D01.7000909@vpmonline.com> <DIEALLGCLLCNIHBDCMAEKEFJCDAA.jhart@frw.uva.nl>

* 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