What is Dolphin Express? □ Hostbus Adapter. □ Cables: ○ Standard CX4
copper. ○ Fiber. □ PCI Express 1.1 x8, low profile, half size. □ Low power ...
Database HA with a Punch MySQL with DRBD for Dolphin Express
Read I/O
Read I/O
Write I/O
Write I/O
What are we talking about?
Primary Node Replicate
Replicate Acknowledge
Acknowledge
Secondary Node
What issue did we want to solve?
Network Replication
Disk Write
Time
Disk Write
Latency Penalty Network Acknowledgment
Local Node
Peer Node
What issue did we want to solve?
Network Replication Disk Write Disk Write Latency Penalty Time
Network Acknowledgment
Local Node
Peer Node
What issue did we want to solve? Network Replication Disk Write
Network Acknowledgment
Time
Latency Penalty
Disk Write
Local Node
Peer Node
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
How do SuperSockets work? Node A
Node B
DRBD module
DRBD module
AF_INET
AF_SSOCKS
sockets
SuperSockets
AF_INET
AF_SSOCKS
sockets
TCP
TCP
IP
IP
eth driver
eth driver
Ethernet NIC
Dolphin Express
Ethernet NIC
SuperSockets
Dolphin Express
What did we achieve? 300
250
200
150
100
50
0
BBWC
DRBD (GbE)
DRBD (10GE)
Sector Write Latency (µs)
DRBD (DX)
What did we achieve? 500 450 400 350 300
GigE 10GbE SuperSockets
250 200 150 100 50 0
512
4k
FIO Benchmark Throughput
128k
Scale-out on Steroids! Active Master
Heartbeat IP Management
Standby Master
Slaves
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!
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
Device Stacking Explained App FS
Stacked resource
alice
bob
charlie
daisy
Low-level resources
Device Stacking Explained App FS
Stacked resource
alice
bob
charlie
daisy
Low-level resources
Device Stacking Explained App FS
Stacked resource
alice
bob
charlie
daisy
Low-level resources
Device Stacking Explained App FS
Stacked resource
alice
bob
charlie
daisy
Low-level resources
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?)
Questions!
Fire away...
Contact us!
Florian:
[email protected] Joachim:
[email protected] www.linbit.com www.dolphinics.com www.drbd.org www.mysql.com/drbd