Running virtualized Galera instances for fun and
profit
Linux Conf Au 2014 - Sysadmin Miniconf
Raghavendra Prabhu
raghavend...
Outline
1 Introduction
2 Galera and Virtualization
3 Coming Together
4 Conclusion
Raghavendra Prabhu (Percona) Virtualized...
Introduction
Overview
Synchronous replication
Galera and PXC
Virtualization
High Availability
Commonality
Raghavendra Prab...
Galera and Virtualization
Galera/PXC
What are they
How do they work
MySQL Compatibility
Synchronous replication
Others
Goo...
Galera and Virtualization
Virtualization
Popular solutions
Xen, KVM, OpenStack
Containers - LXC, Docker, ZeroVM
Applicatio...
Galera and Virtualization
Warehouse-scale
Clusters
Hadoop, Manta et.al.
Different from normal data-centers
Why?
Homogenity ...
Coming Together
Current scenario
Popular Solutions
GlusterFS: FUSE
Sheepdog: QEMU
Application level clustering
How is this...
Coming Together
Scenarios
Necessity
Hardware of today
Saturation
WSC
High Availability
Migration
WANs
Isolation
Hosting
Ra...
Coming Together
Deployment I
Initialisation
Bootstrapping
Cloning
QCOW zero-copy: I/O
Reduced memory footprint: KSM
Thin-p...
Coming Together
Deployment II
Operation
Migration
Live Migration: Streaming
Guest Agent
FTWRL: Xtrabackup
Shared storage
C...
Coming Together
Deployment III
Storage
Single host
VirtFS: share the root!
Works well with QCOW
Network
Latency
Synchronou...
Coming Together
Deployment IV
Misc
Backups
Dirty bitmaps
Roles
Throttling
Reader - Writer
Upgrades, maintenance
Non-homoge...
Conclusion
Thoughts?
Questions
Usage and Experience
Raghavendra Prabhu (Percona) Virtualized Galera January 6th, 2013 13 /...
Conclusion
Me
Raghavendra Prabhu
http://wnohang.net/about
Software Engineer at Percona and Product Lead of PXC
https://lau...
Upcoming SlideShare
Loading in …5
×

Running virtualized Galera instances for fun and profit

271 views
219 views

Published on

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
271
On SlideShare
0
From Embeds
0
Number of Embeds
8
Actions
Shares
0
Downloads
3
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Running virtualized Galera instances for fun and profit

  1. 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. 2. Outline 1 Introduction 2 Galera and Virtualization 3 Coming Together 4 Conclusion Raghavendra Prabhu (Percona) Virtualized Galera January 6th, 2013 2 / 14
  3. 3. Introduction Overview Synchronous replication Galera and PXC Virtualization High Availability Commonality Raghavendra Prabhu (Percona) Virtualized Galera January 6th, 2013 3 / 14
  4. 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. 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. 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. 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. 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. 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. 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. 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. 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. 13. Conclusion Thoughts? Questions Usage and Experience Raghavendra Prabhu (Percona) Virtualized Galera January 6th, 2013 13 / 14
  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

×