Orchestrator visual cheatsheet

June 5, 2015

Orchestrator is growing. Supporting automatic detection of topologies, simple refactoring of topology trees, complex refactoring via Pseudo-GTID, failure detection and automated discovery, it is becoming larger and larger by the day.

One of the problems with growign projects is hwo to properly document them. Orchestrator enjoys a comprehensive manual, but as these get more and more detailed, it is becoming difficult to get oriented and pointed in the right direction. I've done my best to advise the simple use cases throughout the manual.

One thing that is difficult to put into words is topologies. Explaining "failover of an intermediate master S1 that has S2,...,Sn slaves onto a sibling of S1 provided that..." is too verbose. So here's a quick visual cheatsheet for (current) topology refactoring commands. Refactoring commands are a mere subset of overall orchestrator commands, but they're great to play with and perfect for visualization.

The "move" and related commands use normal replication commands (STOP SLAVE; CHANGE MASTER TO; START SLAVE UNTIL;"...).

The "match" and related commands utilize Pseudo-GTID and use more elaborate MySQL commands (SHOW BINLOG EVENTS, SHOW RELAYLOG EVENTS).

So without further ado, here's what each command does (and do run "orchestrator" from the command line to get a man-like explanation of everything, or just go to the manual).

orchestrator-cheatsheet-visualized-7
orchestrator-cheatsheet-visualized-8
orchestrator-cheatsheet-visualized-9
orchestrator-cheatsheet-visualized-10
orchestrator-cheatsheet-visualized-11
orchestrator-cheatsheet-visualized-12
orchestrator-cheatsheet-visualized-13
orchestrator-cheatsheet-visualized-1
orchestrator-cheatsheet-visualized-2
orchestrator-cheatsheet-visualized-3
orchestrator-cheatsheet-visualized-4
orchestrator-cheatsheet-visualized-5
orchestrator-cheatsheet-visualized-6
orchestrator-cheatsheet-visualized-14
orchestrator-cheatsheet-visualized-15
orchestrator-cheatsheet-visualized-16
orchestrator-cheatsheet-visualized-17
orchestrator-cheatsheet-visualized-18

 
Powered by Wordpress and MySQL. Theme by openark.org