From: | John R Pierce <pierce(at)hogranch(dot)com> |
---|---|
To: | PostgreSQL <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: High Availability with Postgres |
Date: | 2010-06-22 05:24:47 |
Message-ID: | 4C20491F.7020507@hogranch.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On 06/21/10 8:08 PM, Greg Smith wrote:
> The hard part of shared storage failover is always solving the "shoot
> the other node in the head problem", to keep a down node from coming
> back once it's no longer the active one. In order to do that well,
> you really need to lock the now unavailable node from accessing the
> storage at the hardware level--"fencing"--with disabling its storage
> port being one way to handle that. Figure out how you're going to do
> that reliably in a way that's integrated into a proper cluster
> manager, and there's no reason you can't do this with PostgreSQL.
In my dev-lab tests of some clusters, I used the QLogic 5600 FC switch
that connects my motly collection of servers... I used RHCS for one
test, it supported the qlogic via telnet... I created two zone sets in
the qlogic, one for each state, with the standby host blocked from
accessing the LUN, and the cluster manager used telnet to talk to the
switch. I ran heartbeats over two seperate ethernets (one was the lab
LAN segment, the other was a private switch i have all the servers
connected to for various tests, and such). The qlogic switch also
had another zoneset for all sorts of other servers and storage which
wasn't affected by these clustering tests.
I don't like power cycling servers, so I'd prefer not to use power
switch based fencing, although I believe my blade box's management unit
is supported as a power fencing device.
From | Date | Subject | |
---|---|---|---|
Next Message | Shoaib Mir | 2010-06-22 05:33:40 | Hot Standby switchover |
Previous Message | Scott Marlowe | 2010-06-22 05:08:48 | Re: No PL/PHP ? Any reason? |