SlideShare ist ein Scribd-Unternehmen logo
1 von 12
Downloaden Sie, um offline zu lesen
Introducing:
EDB Failover Manager
Mark Jones
Principal Engineer

© 2013 EDB All rights reserved 8.1.

1
Agenda
•  What is Failover Manager
•  Failover Manager Components
•  Failover Manager Features
•  Failover Manager Scenarios
•  Failure Detection Scenarios
•  EDB Failover Manager Summary
© 2013 EDB All rights reserved 8.1.

2
What is Failover Manager?
•  A solution to aid in the creation of highly available
configurations of Postgres
•  Monitors the health of a Postgres HA configuration
•  Automates the failover process in the event of a failure
•  Used in conjunction with Streaming Replication

© 2013 EDB All rights reserved 8.1.

3
EDB
FAILOVER

Clients

Master

MANAGER

Network /
Internet

Failover Manager
creates fault tolerant
database clusters to
minimize downtime when
a master database fails by
keeping data online in
high availability
configurations

The MASTER is down!

Streaming
Replica

© 2013 EDB All rights reserved 8.1.

I agree! Take control now!

4

Witness
Failover Manager components
•  Agents
−  These agents run on the master and standby nodes
−  Monitors the health of those databases
−  Communicates with each other and witness to determine cluster
health
−  Notifies user if an issue is detected
−  Initiates failover if needed

•  Witness node
−  An agent whose job is to confirm assertions of either master or
standby
−  Breaks tie in the event of conflicting assertions

© 2013 EDB All rights reserved 8.1.

5
Failover Manager Features
•  Automatic Failover from master to replica node
•  Configurable fencing operation
−  By default uses VIP
−  Parameter to specify alternative operation
−  Ex: reconfigure a load balancer

•  Manual failover configuration possible
•  Email notifications when cluster status changes
•  Witness node provides protection against ‘split brain’ scenarios
•  User configurable wait times
•  Built on PPCD/Jgroups technology
−  Proven functionality

© 2013 EDB All rights reserved 8.1.

6
Failover Scenarios
•  Failover occurs in the following situations:
−  The master database crashes or is shutdown
−  The node the master db is on is unreachable, crashes or is shutdown.

•  If either of the above situations occurs, the standby attempts to
verify it by communicating with the witness
•  If no confirmation can be made, no failover action is taken.

© 2013 EDB All rights reserved 8.1.

7
Failover Scenario #1 Master DB down

1.  Reconfigure master so it can’t be
started as master (create
recovery.conf)

6. Reconfigure VIP/Run Fencing
operation
7.  Promotes Standby

2.  Master agent exits, standby notified

8. Standby and witness exit

3.  Witness/standby confirm master db
down.
4.  Checks VIP and WKA
© 2013 EDB All rights reserved 8.1.

8
Failover Scenario #2 Master Server down

1.  The standby agent is notified and
tries to connect directly to master db
2.  Witness confirms and release the
VIP/run fencing operation
3.  Promote the Standby
4.  ppfm agent exits
© 2013 EDB All rights reserved 8.1.

9
Failure Detection Scenarios
•  Master agent dies
−  Verify master db still alive, notify adminstrator
−  All agents exit and must be restarted by admin

•  Standby agent dies
−  Notify administrator
−  All agents exit and must be restarted by admin

•  Standby DB unavailable
− 
− 
− 
− 

Master, witness verify db is down, notify administrator
No failure protection
All agents exit and must be restarted by admin
Standby db must be restarted by admin

•  Witness agent dies
−  Administrator is notified
−  Other agents exit
−  Admin needs to restart all agents
© 2013 EDB All rights reserved 8.1.

10
EDB Failover Manager Summary
•  Automated failover solution for Highly Available Postgres
configurations
•  Customizable to meet varying customer needs
•  Built on proven/tested technology
•  Available now. Download and try today:
http://www.enterprisedb.com/download-failover-manager

© 2013 EDB All rights reserved 8.1.

11
© 2013 EDB All rights reserved 8.1.

12

Weitere ähnliche Inhalte

Ähnlich wie Introducing EDB Failover Manager

Presentation avoiding the 19 biggest ha & drs configuration mistakes
Presentation   avoiding the 19 biggest ha & drs configuration mistakesPresentation   avoiding the 19 biggest ha & drs configuration mistakes
Presentation avoiding the 19 biggest ha & drs configuration mistakes
solarisyourep
 
Failover or not to failover
Failover or not to failoverFailover or not to failover
Failover or not to failover
Henrik Ingo
 
Set Up & Operate Tungsten Clusters
Set Up & Operate Tungsten ClustersSet Up & Operate Tungsten Clusters
Set Up & Operate Tungsten Clusters
Continuent
 

Ähnlich wie Introducing EDB Failover Manager (20)

Debugging lightning components-SEDreamin17
Debugging lightning components-SEDreamin17Debugging lightning components-SEDreamin17
Debugging lightning components-SEDreamin17
 
EDB Failover Manager for Seamless Failover & Switchover
EDB Failover Manager for Seamless Failover & SwitchoverEDB Failover Manager for Seamless Failover & Switchover
EDB Failover Manager for Seamless Failover & Switchover
 
EDB Failover Manager for Seamless Failover & Switchover
EDB Failover Manager for Seamless Failover & SwitchoverEDB Failover Manager for Seamless Failover & Switchover
EDB Failover Manager for Seamless Failover & Switchover
 
Fault Tolerance in Distributed Environment
Fault Tolerance in Distributed EnvironmentFault Tolerance in Distributed Environment
Fault Tolerance in Distributed Environment
 
How many ways to monitor oracle golden gate-Collaborate 14
How many ways to monitor oracle golden gate-Collaborate 14How many ways to monitor oracle golden gate-Collaborate 14
How many ways to monitor oracle golden gate-Collaborate 14
 
KScope14 Oracle EPM Troubleshooting
KScope14 Oracle EPM TroubleshootingKScope14 Oracle EPM Troubleshooting
KScope14 Oracle EPM Troubleshooting
 
Db lec 07_new
Db lec 07_newDb lec 07_new
Db lec 07_new
 
Presentation avoiding the 19 biggest ha & drs configuration mistakes
Presentation   avoiding the 19 biggest ha & drs configuration mistakesPresentation   avoiding the 19 biggest ha & drs configuration mistakes
Presentation avoiding the 19 biggest ha & drs configuration mistakes
 
Presentation avoiding the 19 biggest ha & drs configuration mistakes
Presentation   avoiding the 19 biggest ha & drs configuration mistakesPresentation   avoiding the 19 biggest ha & drs configuration mistakes
Presentation avoiding the 19 biggest ha & drs configuration mistakes
 
WebLogic Performance Monitoring - OFM Canberra July 2014
WebLogic Performance Monitoring - OFM Canberra July 2014WebLogic Performance Monitoring - OFM Canberra July 2014
WebLogic Performance Monitoring - OFM Canberra July 2014
 
Failover or not to failover
Failover or not to failoverFailover or not to failover
Failover or not to failover
 
Adm07 The Health Check Extravaganza for IBM Social and Collaboration Environm...
Adm07 The Health Check Extravaganza for IBM Social and Collaboration Environm...Adm07 The Health Check Extravaganza for IBM Social and Collaboration Environm...
Adm07 The Health Check Extravaganza for IBM Social and Collaboration Environm...
 
AEO Training - 2023.pdf
AEO Training - 2023.pdfAEO Training - 2023.pdf
AEO Training - 2023.pdf
 
Maintaining and Caring for your EPM Environment
Maintaining and Caring for your EPM EnvironmentMaintaining and Caring for your EPM Environment
Maintaining and Caring for your EPM Environment
 
Set Up & Operate Tungsten Clusters
Set Up & Operate Tungsten ClustersSet Up & Operate Tungsten Clusters
Set Up & Operate Tungsten Clusters
 
Care and Maintenance of Your EPM Environment
Care and Maintenance of Your EPM EnvironmentCare and Maintenance of Your EPM Environment
Care and Maintenance of Your EPM Environment
 
Creating a Full Privileged User Solution with Novell Privileged User Manager,...
Creating a Full Privileged User Solution with Novell Privileged User Manager,...Creating a Full Privileged User Solution with Novell Privileged User Manager,...
Creating a Full Privileged User Solution with Novell Privileged User Manager,...
 
Resilience4j with Spring Boot
Resilience4j with Spring BootResilience4j with Spring Boot
Resilience4j with Spring Boot
 
Less14 br concepts
Less14 br conceptsLess14 br concepts
Less14 br concepts
 
Cloud Foundry Summit 2015: 12 Factor Apps For Operations
Cloud Foundry Summit 2015: 12 Factor Apps For OperationsCloud Foundry Summit 2015: 12 Factor Apps For Operations
Cloud Foundry Summit 2015: 12 Factor Apps For Operations
 

Mehr von EDB

EFM Office Hours - APJ - July 29, 2021
EFM Office Hours - APJ - July 29, 2021EFM Office Hours - APJ - July 29, 2021
EFM Office Hours - APJ - July 29, 2021
EDB
 
Is There Anything PgBouncer Can’t Do?
Is There Anything PgBouncer Can’t Do?Is There Anything PgBouncer Can’t Do?
Is There Anything PgBouncer Can’t Do?
EDB
 
A Deeper Dive into EXPLAIN
A Deeper Dive into EXPLAINA Deeper Dive into EXPLAIN
A Deeper Dive into EXPLAIN
EDB
 

Mehr von EDB (20)

Cloud Migration Paths: Kubernetes, IaaS, or DBaaS
Cloud Migration Paths: Kubernetes, IaaS, or DBaaSCloud Migration Paths: Kubernetes, IaaS, or DBaaS
Cloud Migration Paths: Kubernetes, IaaS, or DBaaS
 
Die 10 besten PostgreSQL-Replikationsstrategien für Ihr Unternehmen
Die 10 besten PostgreSQL-Replikationsstrategien für Ihr UnternehmenDie 10 besten PostgreSQL-Replikationsstrategien für Ihr Unternehmen
Die 10 besten PostgreSQL-Replikationsstrategien für Ihr Unternehmen
 
Migre sus bases de datos Oracle a la nube
Migre sus bases de datos Oracle a la nube Migre sus bases de datos Oracle a la nube
Migre sus bases de datos Oracle a la nube
 
EFM Office Hours - APJ - July 29, 2021
EFM Office Hours - APJ - July 29, 2021EFM Office Hours - APJ - July 29, 2021
EFM Office Hours - APJ - July 29, 2021
 
Benchmarking Cloud Native PostgreSQL
Benchmarking Cloud Native PostgreSQLBenchmarking Cloud Native PostgreSQL
Benchmarking Cloud Native PostgreSQL
 
Las Variaciones de la Replicación de PostgreSQL
Las Variaciones de la Replicación de PostgreSQLLas Variaciones de la Replicación de PostgreSQL
Las Variaciones de la Replicación de PostgreSQL
 
NoSQL and Spatial Database Capabilities using PostgreSQL
NoSQL and Spatial Database Capabilities using PostgreSQLNoSQL and Spatial Database Capabilities using PostgreSQL
NoSQL and Spatial Database Capabilities using PostgreSQL
 
Is There Anything PgBouncer Can’t Do?
Is There Anything PgBouncer Can’t Do?Is There Anything PgBouncer Can’t Do?
Is There Anything PgBouncer Can’t Do?
 
Data Analysis with TensorFlow in PostgreSQL
Data Analysis with TensorFlow in PostgreSQLData Analysis with TensorFlow in PostgreSQL
Data Analysis with TensorFlow in PostgreSQL
 
Practical Partitioning in Production with Postgres
Practical Partitioning in Production with PostgresPractical Partitioning in Production with Postgres
Practical Partitioning in Production with Postgres
 
A Deeper Dive into EXPLAIN
A Deeper Dive into EXPLAINA Deeper Dive into EXPLAIN
A Deeper Dive into EXPLAIN
 
IOT with PostgreSQL
IOT with PostgreSQLIOT with PostgreSQL
IOT with PostgreSQL
 
A Journey from Oracle to PostgreSQL
A Journey from Oracle to PostgreSQLA Journey from Oracle to PostgreSQL
A Journey from Oracle to PostgreSQL
 
Psql is awesome!
Psql is awesome!Psql is awesome!
Psql is awesome!
 
EDB 13 - New Enhancements for Security and Usability - APJ
EDB 13 - New Enhancements for Security and Usability - APJEDB 13 - New Enhancements for Security and Usability - APJ
EDB 13 - New Enhancements for Security and Usability - APJ
 
Comment sauvegarder correctement vos données
Comment sauvegarder correctement vos donnéesComment sauvegarder correctement vos données
Comment sauvegarder correctement vos données
 
Cloud Native PostgreSQL - Italiano
Cloud Native PostgreSQL - ItalianoCloud Native PostgreSQL - Italiano
Cloud Native PostgreSQL - Italiano
 
New enhancements for security and usability in EDB 13
New enhancements for security and usability in EDB 13New enhancements for security and usability in EDB 13
New enhancements for security and usability in EDB 13
 
Best Practices in Security with PostgreSQL
Best Practices in Security with PostgreSQLBest Practices in Security with PostgreSQL
Best Practices in Security with PostgreSQL
 
Cloud Native PostgreSQL - APJ
Cloud Native PostgreSQL - APJCloud Native PostgreSQL - APJ
Cloud Native PostgreSQL - APJ
 

Kürzlich hochgeladen

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Kürzlich hochgeladen (20)

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
AI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by Anitaraj
 
Introduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMIntroduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDM
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 

Introducing EDB Failover Manager

  • 1. Introducing: EDB Failover Manager Mark Jones Principal Engineer © 2013 EDB All rights reserved 8.1. 1
  • 2. Agenda •  What is Failover Manager •  Failover Manager Components •  Failover Manager Features •  Failover Manager Scenarios •  Failure Detection Scenarios •  EDB Failover Manager Summary © 2013 EDB All rights reserved 8.1. 2
  • 3. What is Failover Manager? •  A solution to aid in the creation of highly available configurations of Postgres •  Monitors the health of a Postgres HA configuration •  Automates the failover process in the event of a failure •  Used in conjunction with Streaming Replication © 2013 EDB All rights reserved 8.1. 3
  • 4. EDB FAILOVER Clients Master MANAGER Network / Internet Failover Manager creates fault tolerant database clusters to minimize downtime when a master database fails by keeping data online in high availability configurations The MASTER is down! Streaming Replica © 2013 EDB All rights reserved 8.1. I agree! Take control now! 4 Witness
  • 5. Failover Manager components •  Agents −  These agents run on the master and standby nodes −  Monitors the health of those databases −  Communicates with each other and witness to determine cluster health −  Notifies user if an issue is detected −  Initiates failover if needed •  Witness node −  An agent whose job is to confirm assertions of either master or standby −  Breaks tie in the event of conflicting assertions © 2013 EDB All rights reserved 8.1. 5
  • 6. Failover Manager Features •  Automatic Failover from master to replica node •  Configurable fencing operation −  By default uses VIP −  Parameter to specify alternative operation −  Ex: reconfigure a load balancer •  Manual failover configuration possible •  Email notifications when cluster status changes •  Witness node provides protection against ‘split brain’ scenarios •  User configurable wait times •  Built on PPCD/Jgroups technology −  Proven functionality © 2013 EDB All rights reserved 8.1. 6
  • 7. Failover Scenarios •  Failover occurs in the following situations: −  The master database crashes or is shutdown −  The node the master db is on is unreachable, crashes or is shutdown. •  If either of the above situations occurs, the standby attempts to verify it by communicating with the witness •  If no confirmation can be made, no failover action is taken. © 2013 EDB All rights reserved 8.1. 7
  • 8. Failover Scenario #1 Master DB down 1.  Reconfigure master so it can’t be started as master (create recovery.conf) 6. Reconfigure VIP/Run Fencing operation 7.  Promotes Standby 2.  Master agent exits, standby notified 8. Standby and witness exit 3.  Witness/standby confirm master db down. 4.  Checks VIP and WKA © 2013 EDB All rights reserved 8.1. 8
  • 9. Failover Scenario #2 Master Server down 1.  The standby agent is notified and tries to connect directly to master db 2.  Witness confirms and release the VIP/run fencing operation 3.  Promote the Standby 4.  ppfm agent exits © 2013 EDB All rights reserved 8.1. 9
  • 10. Failure Detection Scenarios •  Master agent dies −  Verify master db still alive, notify adminstrator −  All agents exit and must be restarted by admin •  Standby agent dies −  Notify administrator −  All agents exit and must be restarted by admin •  Standby DB unavailable −  −  −  −  Master, witness verify db is down, notify administrator No failure protection All agents exit and must be restarted by admin Standby db must be restarted by admin •  Witness agent dies −  Administrator is notified −  Other agents exit −  Admin needs to restart all agents © 2013 EDB All rights reserved 8.1. 10
  • 11. EDB Failover Manager Summary •  Automated failover solution for Highly Available Postgres configurations •  Customizable to meet varying customer needs •  Built on proven/tested technology •  Available now. Download and try today: http://www.enterprisedb.com/download-failover-manager © 2013 EDB All rights reserved 8.1. 11
  • 12. © 2013 EDB All rights reserved 8.1. 12