PostgreSQL Clustering Solutions Adam Brust Andrew Henle.

Slides:



Advertisements
Similar presentations
A Ridiculously Easy & Seriously Powerful SQL Cloud Database Itamar Haber AVP Ops & Solutions.
Advertisements

Top 10 Ways Of Reducing Your Data Center Infrastructure Operating Costs.
System Area Network Abhiram Shandilya 12/06/01. Overview Introduction to System Area Networks SAN Design and Examples SAN Applications.
FAST Radar System Engineering Overview. FAST Radar Overview –What’s Required? IIS 6.0  With Microsoft.NET Framework 1.1 and SMTP for MS SQL Server.
Recovery Planning A Holistic View Adam Backman, President White Star Software
A Fast Growing Market. Interesting New Players Lyzasoft.
Oracle Data Guard Ensuring Disaster Recovery for Enterprise Data
Adding scalability to legacy PHP web applications Overview Mario A. Valdez-Ramirez.
June 23rd, 2009Inflectra Proprietary InformationPage: 1 SpiraTest/Plan/Team Deployment Considerations How to deploy for high-availability and strategies.
1 © Copyright 2010 EMC Corporation. All rights reserved. EMC RecoverPoint/Cluster Enabler for Microsoft Failover Cluster.
Modeling the Data: Conceptual and Logical Data Modeling
McGraw-Hill/Irwin © 2008 The McGraw-Hill Companies, All Rights Reserved Business Plug-In B4 Enterprise Architecture.
EE-Video Yossi Biton Nir Yakobovski Outline  The concept  Main functionality  Challenges & Solutions  Design considerations Layers Class diagram.
1© Copyright 2011 EMC Corporation. All rights reserved. EMC RECOVERPOINT/ CLUSTER ENABLER FOR MICROSOFT FAILOVER CLUSTER.
VIRTUALISATION OF HADOOP CLUSTERS Dr G Sudha Sadasivam Assistant Professor Department of CSE PSGCT.
(ITI310) By Eng. BASSEM ALSAID SESSIONS 8: Network Load Balancing (NLB)
VMware vCenter Server Module 4.
ProjectWise Virtualization Kevin Boland. What is Virtualization? Virtualization is a technique for deploying technologies. Virtualization creates a level.
Manage & Configure SQL Database on the Cloud Haishi Bai Technical Evangelist Microsoft.
How WebMD Maintains Operational Flexibility with NoSQL Rajeev Borborah, Sr. Director, Engineering Matt Wilson – Director, Production Engineering – Consumer.
ATIF MEHMOOD MALIK KASHIF SIDDIQUE Improving dependability of Cloud Computing with Fault Tolerance and High Availability.
SANPoint Foundation Suite HA Robert Soderbery Sr. Director, Product Management VERITAS Software Corporation.
Module 10: Designing an AD RMS Infrastructure in Windows Server 2008.
Chapter 10 : Designing a SQL Server 2005 Solution for High Availability MCITP Administrator: Microsoft SQL Server 2005 Database Server Infrastructure Design.
Client Logo LEAN ENTERPRISE Implementation Workshop.

Implementing Multi-Site Clusters April Trần Văn Huệ Nhất Nghệ CPLS.
Module 1: Server Roles and Initial Configuration Tasks
Sofia, Bulgaria | 9-10 October SQL Server 2005 High Availability for developers Vladimir Tchalkov Crossroad Ltd. Vladimir Tchalkov Crossroad Ltd.
1 TDTWG Report to RMS SCR 745 ERCOT Unplanned System Outages Wednesday, July 13th.
Module 9 Planning a Disaster Recovery Solution. Module Overview Planning for Disaster Mitigation Planning Exchange Server Backup Planning Exchange Server.
Electronic Records Management: A Checklist for Success Jesse Wilkins April 15, 2009.
Chapter 8 Evaluating Alternatives for Requirements, Environment, and Implementation.
Module 10: Maintaining High-Availability. Overview Introduction to Availability Increasing Availability Using Failover Clustering Standby Servers and.
Fragmentation in Large Object Repositories Russell Sears Catharine van Ingen CIDR 2007 This work was performed at Microsoft Research San Francisco with.
Module 13 Implementing Business Continuity. Module Overview Protecting and Recovering Content Working with Backup and Restore for Disaster Recovery Implementing.
Module 13: Designing Print Services in Windows Server 2008.
Click to add text May 2012Taking advantage of Virtualisation1 TWA : Taking Advantage of Virtualisation on IBM Platforms TWS Education.
Copyright 2003 Lynn Frock & Company. All Rights Reserved. 1 Five Ways to Build a Microsoft Project Schedule Lynn Frock, PMP Phone
11 CLUSTERING AND AVAILABILITY Chapter 11. Chapter 11: CLUSTERING AND AVAILABILITY2 OVERVIEW  Describe the clustering capabilities of Microsoft Windows.
VMware vSphere Configuration and Management v6
Cluster Consistency Monitor. Why use a cluster consistency monitoring tool? A Cluster is by definition a setup of configurations to maintain the operation.
MSE Portfolio Presentation 1 Doug Smith November 13, 2008
ND 911 Association Preparing for NG /24/2010.
1 Object-Oriented Analysis and Design with the Unified Process Figure 13-1 Implementation discipline activities.
1 TDTWG Report to RMS Recommended Solutions for SCR 745 ERCOT Unplanned System Outages and Failures Wednesday, August 10th.
Mick Badran Using Microsoft Service Fabric to build your next Solution with zero downtime – Lvl 300 CLD32 5.
Chapter 3 : Designing a Consolidation Strategy MCITP Administrator: Microsoft SQL Server 2005 Database Server Infrastructure Design Study Guide (70-443)
Building Cloud Solutions Presenter Name Position or role Microsoft Azure.
Collaboration diagrams. Deployment diagrams. Lesson 4.
1 Chapter Overview Using Standby Servers Using Failover Clustering.
Introduction to Core Database Concepts Getting started with Databases and Structure Query Language (SQL)
Log Shipping, Mirroring, Replication and Clustering Which should I use? That depends on a few questions we must ask the user. We will go over these questions.
External Data Access Adam Rauch, 6/05/08 Team: Geoff Snyder, Kevin Beverly, Cory Nathe, Matthew Bellew, Mark Igra, George Snelling.
High-Availability MySQL with DR:BD and Heartbeat: MTV Japan mobile services ©2008 MTV Networks Japan K.K.
AlwaysOn In SQL Server 2012 Fadi Abdulwahab – SharePoint Administrator - 4/2013
New mechanism to update the database schema for DB2 and Oracle databases IBM Workload Scheduler IBM.
Secrets to Fast, Easy High Availability for SQL Server in AWS
Microsoft BackOffice Applications
WLCG Service Interventions
Software Architecture in Practice
Introduction of Week 6 Assignment Discussion
Microsoft Azure P wer Lunch
What's New in the World of High Availability for DB2 in 11.1
SpiraTest/Plan/Team Deployment Considerations
IST346: Scalability.
PerformanceBridge Application Suite and Practice 2.0 IT Specifications
SQL Server 2016 High Performance Database Offer.
Designing Database Solutions for SQL Server
Presentation transcript:

PostgreSQL Clustering Solutions Adam Brust Andrew Henle

Quick List of Related Tasks These tasks are related to PostgreSQL clustering but not addressed in these slides PostgreSQL snapshot/archive/restore capability Offsite/disaster recovery Use of Compellant snapshots PostgreSQL monitoring Nagios plugins

PostgreSQL Clustering Goals Highly-available, scalable PostgreSQL data layer Eliminate single points of failure Support workflow processing and potentially product metadata Stable and maintainable Use only well-supported products/technologies K.I.S.S. Minimize introduction of new products/technology Lower risk through directed path: get it working without too many bells and whistles

PostgreSQL Clustering Choices What solutions are available? Many available options Free open source Proprietary Varying features Master/master vs master/standby Some have connection pooling and load balancing

Table of PostgreSQL Failover Options Source:

Selection criteria The three most important criteria used to select a solution Stable, current product Not on “bleeding edge” No abandoned products Simple and maintainable Eliminate single point of failure Master DB in master-slave configuration is a single point of failure Feature list Connection pooling and load balancing for scalability

Recommended Solution: pgpool-II Recommend using pgpool-II Up-to-date product with best balance of features Up-to-date with PostgreSQL Not “bleeding edge” nor abandoned Most complete feature set Implements connection pooling and load balancing But pgpool-II is a single point of failure Single point of failure can be addressed using pgpool-HA to cluster pgpool-II

Multi-Phase Roadmap Why multiple phases Minimize impact on current development and O&M Become more familiar with highly-available clustered PostgreSQL before deploying operationally Allow lessons learned to be applied to later phases Roadmap has three phases Phase 0 – development and test Phase I – initial deployment Phase II – final deployment

Three Phase Deployment of Clustered PostgreSQL Data Layer Phase 0 – Development and test Develop and test pgpool-II/pgpool-HA/PostgreSQL data layer Test throughput and latency Develop failback procedures to recover from primary database failure Primary database failure requires manual repair Phase I – Initial deployment Implement pgpool-II as front end for multiple parallel PostgreSQL servers Phase II – Final deployment Implement pgpool-HA to remove pgpool-II single point of failure

Phase 0 Details – Development and Test Build 2+ VMs for PostgreSQL/pgpool-II/pgpool-HA installation Determine best location of pgpool-II instance(s) Same or different VM(s) from PostgreSQL data base instances? Build/configure PostgreSQL/pgpool-II/pgpool-HA Test, test, test Determine pgpool impacts on Latency Throughput Develop failback procedures to recover from primary database failure

Phase I Details – Initial Deployment Implement single-instance pgpool-II and primary/standby PostgreSQL data servers Something to think about… pgpool-II may be good enough Single point of failure does limit availability of system If multiple single points of failure already exist, the added complexity of pgpool-HA might actually reduce reliability and availability by increasing the chances of human error Answer is very subjective – difficult if not impossible to calculate the odds of added complexity creating more opportunities for human error Customer expectations and desires are also paramount

Phase I Diagram – Initial Deployment Source:

Phase II Details – Possible Final Deployment Install pgpool-HA in production Configuration details are currently TBD Might not be necessary to actually improve reliability/availability

Phase II Diagram – Possible Final Deployment Source: