Received: from uvapsy.fmg.uva.nl (uvapsy.fmg.uva.nl [145.18.152.23]) by postgresql.org (Postfix) with ESMTP id D543C474E71 for ; Sat, 27 Jul 2002 11:23:58 -0400 (EDT) Received: from jhartmann (jhartmann.fmg.uva.nl [145.18.125.57]) by uvapsy.fmg.uva.nl (8.9.3/8.9.3) with SMTP id RAA25748 for ; Sat, 27 Jul 2002 17:24:03 +0200 (MET DST) From: "Jan Hartmann" To: Subject: Multiple Postmasters on Beowulf cluster Date: Sat, 27 Jul 2002 17:24:03 +0200 Message-ID: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0000_01C23592.671482D0" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <3D416D01.7000909@vpmonline.com> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 Importance: Normal X-Archive-Number: 200207/386 X-Sequence-Number: 5070 This is a multi-part message in MIME format. ------=_NextPart_000_0000_01C23592.671482D0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 ------=_NextPart_000_0000_01C23592.671482D0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
Hello,
 
I am=20 using Postgresql with PostGis and the Minnesota MapServer on a Beowulf= =20 cluster  for web-mapping applications. It runs fine on = one=20 node, producing very fast interactive maps for an Apache/PHP web server.=20 However, the cluster consists of 45 nodes, all using a shared user fil= e=20 system. Is it possible to start up a postmaster on every node, using the sa= me=20 database? The backend processes themselves would be completely autonom= ous,=20 but they would have to share their data from the same source. To simplify= =20 things, only read-access is necessary. Would this be possible, and if so, h= ow=20 can the different postmasters be made to use a different postmaster.pid fil= e=20 (which is located in the shared data directory)? 
 
It=20 would be an interesting way for using the cluster, as the individ= ual=20 map layers can be independently constructed on differen= t=20 nodes, and only finally have to be put together in a=20 complete map. Essentially, MapServer constructs a map from layers,=20 where each layer originates from an=20 individual PostgreSQL connection, even when  using only one datab= ase.=20 In a cluster solution therefore, no communication between the nodes wo= uld=20 be required. Even the data could be distributed over the nodes an= d put=20 into different databases, but this would inevitably lead to much=20 duplication and a set of databases that would be very difficult to=20 administer. In the archives, I saw some mention of work in progress on= =20 distributed databases, but for this I don't need much in the way of distrib= uted=20 facilities, just reading shared data.
 
Any=20 help would be very much appreciated. It certainly would be a great example = of=20 PostgrSQL's advanced geometrical capabilities!
 
 
Jan=20 Hartmann
Department of Geography
University of Amsterdam
jhart@frw.uva.nl
------=_NextPart_000_0000_01C23592.671482D0--