Está en la página 1de 9

PostgreSQL Clustering

Presentation Title with


Red Hat Cluster Suite Presentation Sub-Title

Devrim GNDZ
Principal Systems Engineer
EnterpriseDB
devrim.gunduz@EnterpriseDB.com

Copyright 2010 EnterpriseDB Corporation. All rights Reserved. Slide: 1


May 19, 2011 2
PGCon 2011
Goals
Clustering goals
Active/passive clustering
Having a redundant system
Data redundancy
Network redundancy
Server and power redundancy
Maximum uptime
Service failover (=PostgreSQL)
Data integrity

May 19, 2011 3


PGCon 2011
Limitations
What are the limitations?
No Active/active clustering in core.
No more than 16 nodes (uh? See next slide)

May 19, 2011 4


PGCon 2011
Simple Active/Passive Setup

May 19, 2011 5


PGCon 2011
Sharding, multipe nodes

May 19, 2011 6


PGCon 2011
Hardware and software requirements
Hardware
Minimum hardware: An hardware that Red Hat
Enterprise Linux can run.
Typical hardware : Depends on your needs.
SAN : Storage is the most important part Use Raid
arrays.
Please read Greg's book.
Software
RHCS is built on GFS.
GFS is built on LVM.
PostgreSQL :-)
Use RHEL 5.5+, or better, RHEL 6.1 (which was
released today)

May 19, 2011 7


PGCon 2011
Setup and design

We need two servers that has been setup
identically.
Only OS and PostgreSQL will run
Same PostgreSQL versions.


Using GFS, all data will be mounted from the
storage. GFS is not a requirement, but we would
better be safe.


When node1 goes down, node2 will act as
active server by announcing specified cluster ip.
When node1 comes back, the process is reverted.

May 19, 2011 8


PGCon 2011
PostgreSQL Clustering
Presentation Title with
Red Hat Cluster Suite Presentation Sub-Title

Devrim GNDZ
Principal Systems Engineer
EnterpriseDB
devrim.gunduz@EnterpriseDB.com

Copyright 2010 EnterpriseDB Corporation. All rights Reserved. Slide: 9

También podría gustarte