Your SlideShare is downloading. ×
Running virtualized Galera instances for fun and profit
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Saving this for later?

Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime - even offline.

Text the download link to your phone

Standard text messaging rates apply

Running virtualized Galera instances for fun and profit

114
views

Published on

This is the talk given at linux conf au 2014, Perth in the sysadmin miniconf. …

This is the talk given at linux conf au 2014, Perth in the sysadmin miniconf.

The talk is on how Galera instances can be used better when there is virtualization in place, as in today's OpenStack environments and such.

Published in: Engineering, Travel, Technology

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
114
On Slideshare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
2
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Running virtualized Galera instances for fun and profit Linux Conf Au 2014 - Sysadmin Miniconf Raghavendra Prabhu raghavendra.prabhu@percona.com Percona January 6th, 2013 Raghavendra Prabhu (Percona) Virtualized Galera January 6th, 2013 1 / 14
  • 2. Outline 1 Introduction 2 Galera and Virtualization 3 Coming Together 4 Conclusion Raghavendra Prabhu (Percona) Virtualized Galera January 6th, 2013 2 / 14
  • 3. Introduction Overview Synchronous replication Galera and PXC Virtualization High Availability Commonality Raghavendra Prabhu (Percona) Virtualized Galera January 6th, 2013 3 / 14
  • 4. Galera and Virtualization Galera/PXC What are they How do they work MySQL Compatibility Synchronous replication Others Google F1/Spanner MySQL NDB Sharding? Raghavendra Prabhu (Percona) Virtualized Galera January 6th, 2013 4 / 14
  • 5. Galera and Virtualization Virtualization Popular solutions Xen, KVM, OpenStack Containers - LXC, Docker, ZeroVM Application-isolated virt Application Constraints Advantages Data-centers WSCs and clusters Raghavendra Prabhu (Percona) Virtualized Galera January 6th, 2013 5 / 14
  • 6. Galera and Virtualization Warehouse-scale Clusters Hadoop, Manta et.al. Different from normal data-centers Why? Homogenity of hardware and stacks Demands and constraints Raghavendra Prabhu (Percona) Virtualized Galera January 6th, 2013 6 / 14
  • 7. Coming Together Current scenario Popular Solutions GlusterFS: FUSE Sheepdog: QEMU Application level clustering How is this different Can work with them Galera and others Hadoop {No,New,}SQL Mapreduce/Compute Raghavendra Prabhu (Percona) Virtualized Galera January 6th, 2013 7 / 14
  • 8. Coming Together Scenarios Necessity Hardware of today Saturation WSC High Availability Migration WANs Isolation Hosting Raghavendra Prabhu (Percona) Virtualized Galera January 6th, 2013 8 / 14
  • 9. Coming Together Deployment I Initialisation Bootstrapping Cloning QCOW zero-copy: I/O Reduced memory footprint: KSM Thin-provisioning: Ballooning Upgrades! Load-balancing galera Raghavendra Prabhu (Percona) Virtualized Galera January 6th, 2013 9 / 14
  • 10. Coming Together Deployment II Operation Migration Live Migration: Streaming Guest Agent FTWRL: Xtrabackup Shared storage COW or COR LAN v/s WAN Raghavendra Prabhu (Percona) Virtualized Galera January 6th, 2013 10 / 14
  • 11. Coming Together Deployment III Storage Single host VirtFS: share the root! Works well with QCOW Network Latency Synchronous replication! Affects pre-commit stage virtio-net/vhost-net Raghavendra Prabhu (Percona) Virtualized Galera January 6th, 2013 11 / 14
  • 12. Coming Together Deployment IV Misc Backups Dirty bitmaps Roles Throttling Reader - Writer Upgrades, maintenance Non-homogenous hardware Async replication support Raghavendra Prabhu (Percona) Virtualized Galera January 6th, 2013 12 / 14
  • 13. Conclusion Thoughts? Questions Usage and Experience Raghavendra Prabhu (Percona) Virtualized Galera January 6th, 2013 13 / 14
  • 14. Conclusion Me Raghavendra Prabhu http://wnohang.net/about Software Engineer at Percona and Product Lead of PXC https://launchpad.net/percona-xtradb-cluster Raghavendra Prabhu (Percona) Virtualized Galera January 6th, 2013 14 / 14