MySQL high availability power and usability
Upcoming SlideShare
Loading in...5
×
 

MySQL high availability power and usability

on

  • 1,281 views

Solving MySQL high availability issues with Continuent Tungsten

Solving MySQL high availability issues with Continuent Tungsten

Statistics

Views

Total Views
1,281
Views on SlideShare
1,010
Embed Views
271

Actions

Likes
2
Downloads
18
Comments
0

2 Embeds 271

https://twitter.com 270
http://www.percona.com 1

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

CC Attribution-NonCommercial-NoDerivs LicenseCC Attribution-NonCommercial-NoDerivs LicenseCC Attribution-NonCommercial-NoDerivs License

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    MySQL high availability power and usability MySQL high availability power and usability Presentation Transcript

    • MySQL High Availability Power and Usability Giuseppe Maxia QA Director - Continuent, Inc ©Continuent 2012.Wednesday, December 05, 12 1
    • About me • Giuseppe Maxia, a.k.a. The Data Charmer • Worked in the MySQL team (2006-2010) A • Now QA Director, Continuent, Inc • Using MySQL since 2001 • Creator and maintainer of MySQL Sandbox • Community Contributor of the year (2006, 2011) • Oracle ACE (2011) • Oracle ACE Director (2012) • BLOG: http://datacharmer.blogspot.comWednesday, December 05, 12 2
    • ToC • What a demanding database user wants • easy switch • easy and automated failover • easy recovery • disaster recovery stand-by site • easy site switch and failover • easy site recovery • What Continuent Tungsten does • all of the above ©Continuent 2012 3Wednesday, December 05, 12 3
    • Whats an EASY failover • A failover or switch is EASY if: • I can promote a slave easily • I can tell easily the other slaves who is new master • I can get a failover to happen automatically • Applications keep working without changes • Failovers only happen when the server is truly dead ©Continuent 2012 4Wednesday, December 05, 12 4
    • Translation: What a DB user wants is: • Transparency Or • the ability of using a RESILIENT database system without need to know whats going on ©Continuent 2012 5Wednesday, December 05, 12 5
    • How a non-HA system works App Logic MySQL Client API W master slave slave R R load balancer ©Continuent 2012 6Wednesday, December 05, 12 6
    • How a non-HA system works (after a switch) App Logic MySQL Client API W ? master switch slave slave R R ? load balancer ©Continuent 2012 7Wednesday, December 05, 12 7
    • App Logic App Logic Tungsten Connector Tungsten Connector Monitoring and control Monitoring and control db2 db1 db3 Manager Manager Manager Replicator Replicator Replicator Slave Master Slave Data Service: sj ©Continuent 2012 8Wednesday, December 05, 12 8
    • How a Tungsten HA system works App Logic MySQL Client API W R load balancer R ©Continuent 2012 9Wednesday, December 05, 12 9
    • How a Tungsten HA system works App Logic MySQL Client API W switch R load balancer R ©Continuent 2012 10Wednesday, December 05, 12 10
    • Multiple site demo ©Continuent 2012 11Wednesday, December 05, 12 11
    • Installation principles • Install from one location only • Remote installation of all services • No partial installations: Either all servers are OK, or none will be installed • Parallel installation ©Continuent 2012 12Wednesday, December 05, 12 12
    • What does the installation do 1: Validate all servers host4 host1 host2 host3 Report all errors ©Continuent 2012. 13Wednesday, December 05, 12 13
    • What does the installation do 1: (again) Validate all servers host4 host1 host2 host3 ©Continuent 2012. 14Wednesday, December 05, 12 14
    • What does the installation do 2: install Tungsten in all servers host4 $CONTINUENT_ host1 HOME/ host2 config/ host3 releases/ backups/ thl/ tungsten/ ©Continuent 2012. 15Wednesday, December 05, 12 15
    • Installation demo ©Continuent 2012. 16Wednesday, December 05, 12 16
    • Standard HA system demo ©Continuent 2012 17Wednesday, December 05, 12 17
    • How a "smart scale" Tungsten HA system works W App Logic MySQL Client API R R ©Continuent 2012 18Wednesday, December 05, 12 18
    • Standard HA "smart scale" system demo ©Continuent 2012 19Wednesday, December 05, 12 19
    • How a multi site (non HA) system works App Logic MySQL Client API W master relay slave slave slave slave R R load balancer ©Continuent 2012 20Wednesday, December 05, 12 20
    • How a multi site (non HA) system works App Logic MySQL Client API W master relay slave slave slave slave R R load balancer ©Continuent 2012 21Wednesday, December 05, 12 21
    • How a multi site (non HA) system works App Logic MySQL Client API W master relay slave slave slave slave R R load balancer ©Continuent 2012 22Wednesday, December 05, 12 22
    • How a multi-site Tungsten system works App Logic MySQL Client API W R R load balancer ©Continuent 2012 23Wednesday, December 05, 12 23
    • How a multi-site Tungsten system works App Logic MySQL Client API W R R load balancer ©Continuent 2012 24Wednesday, December 05, 12 24
    • How a multi-site Tungsten system works App Logic MySQL Client API W R R load balancer ©Continuent 2012 25Wednesday, December 05, 12 25
    • Parting thoughts • The key elements of HA are: • transparency • ease of use • Continuent Tungsten • makes cluster usage transparent • o!ers automatic failover • makes cluster management easy • deals with multiple sites with great ease ©Continuent 2012. 26Wednesday, December 05, 12 26
    • 560 S. Winchester Blvd., Suite 500 Our Blogs: San Jose, CA 95128 http://scale-out-blog.blogspot.com Tel +1 (866) 998-3642 http://datacharmer.blogspot.com Fax +1 (408) 668-1009 http://flyingclusters.blogspot.com e-mail: sales@continuent.com Continuent Website: http://www.continuent.com Tungsten Replicator 2.0: http://code.google.com/p/tungsten-replicator ©Continuent 2012 27Wednesday, December 05, 12 27