[PVE-User] Cross datacenter HA

Michael Rasmussen mir at miras.org
Thu Dec 29 11:50:24 CET 2016


On Thu, 29 Dec 2016 11:23:49 +0100
Emmanuel Kasper <e.kasper at proxmox.com> wrote:

> You could also set up HA beween your two DCs at the application level,
> for instance using a bunch of stateless applications servers connecting
> to a DB, where you want only need to setup HA at the DB level (Hint:
> streaming replication if using PostgreSQL)
A word of caution. If you use Postgres streaming replication in
synchronous mode you must have at least 2 slaves since a write in
this mode requires minimum 2 commits to finish so if you only have one
slave then your cluster will hang if the slave or the master is down
which effectively means you have a single point of failure. Adding an
extra slave makes you resilient to one node down.

-- 
Hilsen/Regards
Michael Rasmussen

Get my public GnuPG keys:
michael <at> rasmussen <dot> cc
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xD3C9A00E
mir <at> datanom <dot> net
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE501F51C
mir <at> miras <dot> org
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE3E80917
--------------------------------------------------------------
/usr/games/fortune -es says:
Most of the fear that spoils our life comes from attacking difficulties
before we get to them.
		-- Dr. Frank Crane
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: OpenPGP digital signature
URL: <http://pve.proxmox.com/pipermail/pve-user/attachments/20161229/14719975/attachment.sig>


More information about the pve-user mailing list