USEIMPROVEEVANGELIZE Solutions for High Availability and Disaster Recovery with MySQL ● Detlef Ulherr ● Sun Microsystems.

Slides:



Advertisements
Similar presentations
© 2010 IBM Corporation ® Tivoli Storage Productivity Center for Replication Billy Olsen.
Advertisements

Skyward Disaster Recovery Options
SQL Server Disaster Recovery Chris Shaw Sr. SQL Server DBA, Xtivia Inc.
Mecanismos de alta disponibilidad con Microsoft SQL Server 2008 Por: ISC Lenin López Fernández de Lara.
© 2011 VMware Inc. All rights reserved High Availability Module 7.
Changing the Game: Moving from Reactive to Proactive High Availability Luigi Mercone Senior Director, Product Strategy.
High Availability 24 hours a day, 7 days a week, 365 days a year… Vik Nagjee Product Manager, Core Technologies InterSystems Corporation.
Amazon RDS (MySQL and Oracle) and SQL Azure Emil Tabakov Telerik Software Academy academy.telerik.com.
Oracle Data Guard Ensuring Disaster Recovery for Enterprise Data
1 © Copyright 2010 EMC Corporation. All rights reserved. EMC RecoverPoint/Cluster Enabler for Microsoft Failover Cluster.
Introduction to MySQL Administration.  Server startup and shutdown ◦ How to manually start and stop it from the command line ◦ How to arrange an automated.
Keith Burns Microsoft UK Mission Critical Database.
Lesson 1: Configuring Network Load Balancing
1© Copyright 2011 EMC Corporation. All rights reserved. EMC RECOVERPOINT/ CLUSTER ENABLER FOR MICROSOFT FAILOVER CLUSTER.
© 2008 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice HP StorageWorks LeftHand update Marcus.
Module 14: Scalability and High Availability. Overview Key high availability features available in Oracle and SQL Server Key scalability features available.
National Manager Database Services
11 SERVER CLUSTERING Chapter 6. Chapter 6: SERVER CLUSTERING2 OVERVIEW  List the types of server clusters.  Determine which type of cluster to use for.
Microsoft Load Balancing and Clustering. Outline Introduction Load balancing Clustering.
Ronen Gabbay Microsoft Regional Director Yside / Hi-Tech College
High Availability & Oracle RAC 18 Aug 2005 John Sheaffer Platform Solution Specialist
1 Copyright 2008 MySQL AB The World’s Most Popular Open Source Database MySQL Enterprise for SaaS and Managed Hosting Providers Jimmy Guerrero Sr Product.
How WebMD Maintains Operational Flexibility with NoSQL Rajeev Borborah, Sr. Director, Engineering Matt Wilson – Director, Production Engineering – Consumer.
Presented by: Alvaro Llanos E.  Motivation and Overview  Frangipani Architecture overview  Similar DFS  PETAL: Distributed virtual disks ◦ Overview.
SANPoint Foundation Suite HA Robert Soderbery Sr. Director, Product Management VERITAS Software Corporation.
Chapter 10 : Designing a SQL Server 2005 Solution for High Availability MCITP Administrator: Microsoft SQL Server 2005 Database Server Infrastructure Design.
Module 13: Network Load Balancing Fundamentals. Server Availability and Scalability Overview Windows Network Load Balancing Configuring Windows Network.
Implementing Multi-Site Clusters April Trần Văn Huệ Nhất Nghệ CPLS.
Module 12: Designing High Availability in Windows Server ® 2008.
INSTALLING MICROSOFT EXCHANGE SERVER 2003 CLUSTERS AND FRONT-END AND BACK ‑ END SERVERS Chapter 4.
Leaders Have Vision™ visionsolutions.com 1 Leading Edge Solutions, Proven Technologies Anne-Elisabeth Caillot Pre-Sales & Business Development
1 Moshe Shadmon ScaleDB Scaling MySQL in the Cloud.
High-Availability MySQL DB based on DRBD-Heartbeat Ming Yue September 27, 2007 September 27, 2007.
FailSafe SGI’s High Availability Solution Mayank Vasa MTS, Linux FailSafe Gatekeeper
A Brief Documentation.  Provides basic information about connection, server, and client.
11 CLUSTERING AND AVAILABILITY Chapter 11. Chapter 11: CLUSTERING AND AVAILABILITY2 OVERVIEW  Describe the clustering capabilities of Microsoft Windows.
70-293: MCSE Guide to Planning a Microsoft Windows Server 2003 Network, Enhanced Chapter 12: Planning and Implementing Server Availability and Scalability.
VMware vSphere Configuration and Management v6
High Availability in DB2 Nishant Sinha
Clustering Servers Chapter Seven. Exam Objectives in this Chapter:  Plan services for high availability Plan a high availability solution that uses clustering.
Ashish Prabhu Douglas Utzig High Availability Systems Group Server Technologies Oracle Corporation.
Joe D’Angelo, Sr. Systems Engineer Serverware Corp.
70-412: Configuring Advanced Windows Server 2012 services
CHAPTER 7 CLUSTERING SERVERS. CLUSTERING TYPES There are 2 types of clustering ; Server clusters Network Load Balancing (NLB) The difference between the.
Cloud Computing – UNIT - II. VIRTUALIZATION Virtualization Hiding the reality The mantra of smart computing is to intelligently hide the reality Binary->
Virtual Machine Movement and Hyper-V Replica
VCS Building Blocks. Topic 1: Cluster Terminology After completing this topic, you will be able to define clustering terminology.
Replicazione e QoS nella gestione di database grid-oriented Barbara Martelli INFN - CNAF.
Narasimha Reddy Gopu Jisha J. Agenda Introduction to AlwaysOn * AlwaysOn Availability Groups (AG) & Listener * AlwaysOn Failover * AlwaysOn Active Secondaries.
Deploying Highly Available SQL Server in Windows Azure A Presentation and Demonstration by Microsoft Cluster MVP David Bermingham.
Deploying Highly Available SAP in the Cloud
What is Flexpod? Flexpod is a reference architecture for server, storage and networking components that are pretested and validated to work together as.
SUSE ® Linux Enterprise High Availability Extension.
MySQL HA An overview Kris Buytaert. ● Senior Linux and Open Source ● „Infrastructure Architect“ ● I don't remember when I started.
70-293: MCSE Guide to Planning a Microsoft Windows Server 2003 Network, Enhanced Chapter 12: Planning and Implementing Server Availability and Scalability.
Bentley Systems, Incorporated
Failover and High Availability
High Availability 24 hours a day, 7 days a week, 365 days a year…
Module 8: Concepts of a Network Load Balancing Cluster
Maximum Availability Architecture Enterprise Technology Centre.
A Technical Overview of Microsoft® SQL Server™ 2005 High Availability Beta 2 Matthew Stephen IT Pro Evangelist (SQL Server)
Introduction of Week 6 Assignment Discussion
SQL Server High Availability Amit Vaid.
20409A 7: Installing and Configuring System Center 2012 R2 Virtual Machine Manager Module 7 Installing and Configuring System Center 2012 R2 Virtual.
CLUSTER COMPUTING.
AlwaysOn Availability Groups
Ron Carovano Manager, Business Development F5 Networks
High Availability/Disaster Recovery Solution
Setting up PostgreSQL for Production in AWS
Designing Database Solutions for SQL Server
Presentation transcript:

USEIMPROVEEVANGELIZE Solutions for High Availability and Disaster Recovery with MySQL ● Detlef Ulherr ● Sun Microsystems

2 USEIMPROVEEVANGELIZE Why Is High Availability Important?

3 USEIMPROVEEVANGELIZE Why is HA Important? ● Downtime is costly to the business ● Components or systems failures are real possibilities – Hardware, Software, Human Error, Disaster – Automated recovery is the goal ● With a single physical system, single points of failure have greater impacts – Network card dies, CPU misbehaves, Disk drive crashes... HA Clusters and Solaris automate the recovery process from inevitable failures, minimizing downtime and cost

4 USEIMPROVEEVANGELIZE HA Architectures for MySQL

5 USEIMPROVEEVANGELIZE HA Architectures for MySQL ● Shared nothing – MySQL replication – MySQL Cluster – Solaris Cluster / Open HA Cluster (planned) ● Shared disk – Solaris Cluster / Open HA Cluster – VCS, HACMP, MC Serviceguard and similar.

6 USEIMPROVEEVANGELIZE HA Architectures for MySQL (cont.) ● Replicated Disk – Linux + DRBD – Solaris Cluster/Open HA cluster + AVS (planned) – Solaris Cluster/Open HA cluster + SRDF/Truecopy

7 USEIMPROVEEVANGELIZE MySQL and Business Continuity

8 USEIMPROVEEVANGELIZE MySQL and Business Continuity Building Blocks ● Local HA ● Infrastructure – Replication – Networks – Nameservice ● DR Framework

9 USEIMPROVEEVANGELIZE MySQL and Business Continuity Building Blocks ● Most important: People and Processes – Training – Management – Periodic DR tests

10 USEIMPROVEEVANGELIZE MySQL's Availability Features

11 USEIMPROVEEVANGELIZE MySQL's Availability Features ● Replication – Asynchronous – Read mostly scale out ● MySQL Cluster – Synchronous – High write profile (Commit latency)

12 USEIMPROVEEVANGELIZE When to use MySQL Cluster ● Your database design is good for horizontal partitioning. ● The cluster should provide HA for MySQL only. ● You can tolerate downtimes while adding data nodes. ● The memory is large enough for at least twice all the indexes.

13 USEIMPROVEEVANGELIZE MySQL and Solaris Cluster / Open HA Cluster

14 USEIMPROVEEVANGELIZE Open HA Cluster Benefits ● A shared disk HA is simpler than replication or MySQL Cluster ● Provides automated failover ● Can support larger databases than MySQL Cluster ● Can be extended with the rest of the application stack in the same Cluster. MySQL Cluster has no framework to integrate applications

15 USEIMPROVEEVANGELIZE Open HA Cluster Benefits cont. ● The Open HA Cluster MySQL agent leverages all the rich infrastructure features of Open HA Cluster (strong membership, dependencies,...) ● Can support Campus and Metro Clusters up to 700 km ● Supports MySQL replication in all its flavors

16 USEIMPROVEEVANGELIZE Open HA Cluster Stack Operating System Cluster Infrastructure Agents Applications Heartbeats Membership

17 USEIMPROVEEVANGELIZE ● HA Failover Service ● Application failover ● Within nodes or container ● Containers failover ● Failover of volumes/filesystems ● Failover IP address Failover Service

18 USEIMPROVEEVANGELIZE Scalable Service Software Load Balancing Global Network Service Provides Global IP address with failure protection Scalable Service

19 USEIMPROVEEVANGELIZE Apache (Scalable) Global Network Service Provides Global IP address with failure protection MySQL (Failover) Example: Apache and MySQL

20 USEIMPROVEEVANGELIZE Heartbeats Membership Quorum Disk Fencing ● Resource Group Manager ● Resource (application) dependencies ● Inter RG dependencies ● RG affinities ● HA Failover Service ● Application failover ● Within nodes or container ● Containers failover ● Failover IP address Global File Service Failover File service Scalable Service Software Load Balancing Global Network Service Provides Global IP address with failure protection Monitoring Solaris Cluster Architecture Quorum Server

21 USEIMPROVEEVANGELIZE Open HA Cluster and Virtualisation ● Cluster control is in the global zone – Failover xVM – Failover Container – Zone Nodes ● Cluster control is in the virtualization entity – Cluster in LDOMS – Zone Cluster

22 USEIMPROVEEVANGELIZE Cluster Agents

23 USEIMPROVEEVANGELIZE Open HA Cluster Stack Operating System Cluster Infrastructure Agents Applications

24 USEIMPROVEEVANGELIZE Cluster Agents (Data Services) ● Applications run on cluster unmodified (off-the-shelf if it complies to some rules) ● Cluster Agents are the “glue” layer between applications and cluster infrastructure ● Application cannot break into the high availability business on Solaris Cluster without an agent!

25 USEIMPROVEEVANGELIZE MySQL (Shared Disk) MySQL Storage Log. Host Node1(:Zone1) Node2(:Zone2) Client

26 USEIMPROVEEVANGELIZE MySQL (Replicated Disk) Global Zone MySQL Storage Log. Host Node1 Node2 Storage based replication Truecopy SRDF

27 USEIMPROVEEVANGELIZE MySQL (Shared Disk) Master - Slave Node1 : Zone1 Node1 : Zone3 Node2 : Zone2 Node2 : Zone4 MySQL2 Storage Log. Host MySQL1 Storage Log. Host Mys Repl Client

28 USEIMPROVEEVANGELIZE MySQL (Shared Disk) Failover Zone MySQL Storage Log. Host Node1 Node2 Zone1

29 USEIMPROVEEVANGELIZE MySQL (Shared Disk) Zone Cluster Storage Log. Host Node1:Zone-cl Node2:Zone-cl MySQL

30 USEIMPROVEEVANGELIZE MySQL (Shared Disk) Multiple Clusters MySQ L Stora ge Log. Host Node1 (Zone) Node2 (Zone) MySQ L Stora ge Log. Host Node3 (Zone) Node4 (Zone) MySQL Replication Cluster 1 Cluster 2

31 USEIMPROVEEVANGELIZE MySQL (Shared Disk) replication outside a cluster MySQ L Stora ge Log. Host Node1 (Zone) Node2 (Zone) Node3 (Zone) MySQL Replication Cluster 1

32 USEIMPROVEEVANGELIZE Geographic Clustering Multi-Cluster and Multi-Site capability Site 1 Admin. Client User Client Site 2 Optional heartbeat networks Optional storage network Storage

33 USEIMPROVEEVANGELIZE MySQL and Open HA Cluster Future Configurations

34 USEIMPROVEEVANGELIZE Solaris Cluster / OHAC Future Benefits ● Can give the option to use MySQL replication as a replacement for shared storage ● Can be extended to a full DR solution using MySQL replication as the replication protocol ● Can do loadbalancing between scalable slaves

35 USEIMPROVEEVANGELIZE Solaris Cluster / OHAC Future Benefits cont. ● Can be extended to integrate the rest of the MySQL features like MySQL Cluster ● Can leverage the Shared Address resource type to do load balancing for SQL nodes

36 USEIMPROVEEVANGELIZE Geographic Clustering Multi-Cluster and Multi-Site capability Site 1 Admin. Client User Client Site 2 Optional heartbeat networks Optional storage network Storage MySQL replication is available soon

37 USEIMPROVEEVANGELIZE MySQL Scalable Slaves Shared Addr. MySQL replication MySQL- Slave Storage MySQL- Slave Storage MySQL- Master Stora ge Log. Host Loadbalancer Client

38 USEIMPROVEEVANGELIZE MySQL Scalable Slaves Shared Addr. Node2(:zone2) Node1(:zone1) MySQL replication MySQL- Slave Storage MySQL- Slave Storage MySQL- Master Stora ge Log. Host

39 USEIMPROVEEVANGELIZE MySQL Shared Nothing (future) Rolechanger Log. Host Node2 : Zone2 Slave Node1 : Zone 1 Master Quorum Server MySQL-PMySQL-S MySQL replication

40 USEIMPROVEEVANGELIZE MySQL Cluster (Shared Nothing) Local/Global Zone (future) SQL-Node Data-Node SQL-Node logh hsp Mys query Node5,6,7 logh hsp Mys query Node5,6,7 logh hsp Mys query Node5,6,7 logh hsp Mys mgt Node 6,7... hsp Mys data Node1 hsp Mys data Node3 hsp Mys data Node4 hsp Mys data Node2 Shared Addr

41 USEIMPROVEEVANGELIZE References Cluster References ● ● ● Blogs ● ● Blueprints ●

USEIMPROVEEVANGELIZE Thank you! Detlef Ulherr “open” artwork and icons by chandan: