pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tony Simopoulos <karkalis@earthling.net>
To: Clark, Joel <jclark@lendingtree.com>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: 2 computers 1hd 2 postgres daemons. Is it possible?
Date: Mon, 16 Oct 2000 17:42:33 -0400
Message-ID: <00f301c037b9$fe6938c0$0382a8c0@metavera.com> (raw)
References: <69F195289743D411B428009027E293C401290E73@CLTEXCH1>

> Through an NFS mount maybe?
without a "distributed lock manager" sharing cannot be done efficiently.  NFS creates problems both desired features of this set-up.

1) High Availability
if the computer that is serving the NFS mount goes down, any other machine using the "share" goes down as well -- i.e. single-point
of failure

2) Load Balancing
NFS is extremely expensive.  all that would be balanced is the database logic; in place sorting, connection overheads, etc.
expensive reads and writes will all hit the NFS mounting server -- i.e. single-threading every query to the disk i/o of one machine.

tonys.

>
> -----Original Message-----
> From: Tony Simopoulos [mailto:karkalis@earthling.net]
> Sent: Monday, October 16, 2000 3:03 PM
> To: Oscar Serrano
> Cc: pgsql-interfaces@postgresql.org
> Subject: Re: [INTERFACES] 2 computers 1hd 2 postgres daemons. Is it
> possible?
>
>
> a redundant, replicated, or parallel system (choose whichever adjective
> befits your desires) is being developed.  check out
> http://www.erserver.com/.
>
> sharing a single disk is an O/S & hardware problem.  what is your intended
> platform?
>
> good luck,
>
> tonys.
>
> ----- Original Message -----
> From: Oscar Serrano <oserra@fondos.net>
> To: Postgres interfaces <pgsql-interfaces@postgresql.org>
> Sent: Monday, October 16, 2000 2:15 PM
> Subject: [INTERFACES] 2 computers 1hd 2 postgres daemons. Is it possible?
>
>
> > Hi men :-)
> > Just one question for those of you who have spent many time with postgres.
> > I want to create a load balancing and High Availability system with two
> > servers.
> > This two server have a common hard disk: A RAID 5 server connected to them
> > by the LAN.
> > I have a hardware machine (WSD+ from RADWARE) that manages the load
> > balancing.
> > I want to have, two servers, and two postgres installations, one in each
> > server, but with a  common PGDATA directory in the RAID.
> > So, if one of the servers crashes, people can still get the information
> from
> > the other server.
> > Esentially, what I want is, two postgres (one in each machine) with a
> shared
> > PGDATA directory, and that both postgres can access and do Inserts in the
> > tables, and when one postgres does an insert, the second sees what the
> first
> > has inserted.
> >
> > Thanks.
> >
> >
> >
>




view thread (15+ messages)  latest in thread

Message-ID: <00f301c037b9$fe6938c0$0382a8c0@metavera.com>
Permalink:  ../00f301c037b9$fe6938c0$0382a8c0@metavera.com/
Also on:    postgresql.org/message-id/00f301c037b9$fe6938c0$0382a8c0@metavera.com

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: karkalis@earthling.net, jclark@lendingtree.com
  Subject: Re: 2 computers 1hd 2 postgres daemons. Is it possible?
  In-Reply-To: <00f301c037b9$fe6938c0$0382a8c0@metavera.com>

* 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