database ha with a punch
play

Database HA with a Punch MySQL with DRBD for Dolphin Express What - PowerPoint PPT Presentation

Database HA with a Punch MySQL with DRBD for Dolphin Express What are we talking about? Write I/O Write I/O Read I/O Read I/O Primary Node Replicate Replicate Acknowledge Acknowledge Secondary Node What issue did we want to solve?


  1. Database HA with a Punch MySQL with DRBD for Dolphin Express

  2. What are we talking about? Write I/O Write I/O Read I/O Read I/O Primary Node Replicate Replicate Acknowledge Acknowledge Secondary Node

  3. What issue did we want to solve? Network Replication Disk Write Disk Write Time Latency Penalty Network Acknowledgment Local Node Peer Node

  4. What issue did we want to solve? Network Replication Disk Write Disk Write Latency Penalty Network Acknowledgment Time Local Node Peer Node

  5. What issue did we want to solve? Network Replication Disk Write Disk Write Latency Penalty Network Acknowledgment Time Local Node Peer Node

  6. What is Dolphin Express?  Hostbus Adapter  Cables: ● Standard CX4 copper ● Fiber  PCI Express 1.1 x8, low profile, half size  Low power consumption (no cooling required)  Features: ● Transparent remote memory access by the CPU (PIO) ● Efficient dual-engine DMA ● Fine-grain interrupt control

  7. How do SuperSockets work? Node B Node A DRBD module DRBD module AF_INET AF_INET AF_SSOCKS AF_SSOCKS sockets sockets SuperSockets SuperSockets TCP TCP IP IP eth driver eth driver Dolphin Express Ethernet NIC Dolphin Express Ethernet NIC

  8. What did we achieve? 300 250 200 150 100 50 0 BBWC DRBD (GbE) DRBD (10GE) DRBD (DX) Sector Write Latency (µs)

  9. What did we achieve? 500 450 400 GigE 350 10GbE SuperSockets 300 250 200 150 100 50 0 512 4k 128k FIO Benchmark Throughput

  10. Scale-out on Steroids! Heartbeat IP Management Active Standby Master Master Slaves

  11. DRBD on DX... on the fly • Shut down Secondary, install Dolphin Express/SuperSockets • Update DRBD • 8.2.7 and above with SuperSockets support • Restart Secondary, wait for resync to complete • This operation will run over Ethernet (SuperSockets fail-over mode) • Fail over, promoting Secondary to Primary • Repeat on peer Now, DRBD will run over SuperSockets!

  12. So what else is new?  DRBD Device Stacking extends cluster to 3 or 4 possible nodes  2 DRBD devices layered atop one another  Top-level device is a cluster resource  May use 2 different replication protocols

  13. Device Stacking Explained App FS Stacked resource Low-level resources alice bob charlie daisy

  14. Device Stacking Explained App FS Stacked resource Low-level resources alice bob charlie daisy

  15. Device Stacking Explained App FS Stacked resource Low-level resources alice bob charlie daisy

  16. Device Stacking Explained App FS Stacked resource Low-level resources alice bob charlie daisy

  17. Post-8.3 additions  DRBD Proxy (March 2009)  Very efficient bandwidth utilization, plus zlib compression  DRBD 8.3.2 (April 2009)  Bitmap transfer RLE encoding  Post-DRBD 8.3.2  Removing 16 TB device limitation (up to 64 ZB?)

  18. Questions! Fire away...

  19. Contact us! Florian: florian@linbit.com Joachim: joachim@dolphinics.com www.linbit.com www.dolphinics.com www.drbd.org www.mysql.com/drbd

Recommend


More recommend