An old, but nonetheless very interesting article from Facebook on the tools they’ve built to automate the management of their MySQL cluster — most probably one of the largest in operation:
MPS is a sophisticated state machine written mostly in Python. It replaces a DBA for many routine tasks and enables us to perform maintenance operations in bulk with little or no human intervention.
Original title and link:MySQL automation at Facebook(©myNoSQL)
via: https://www.facebook.com/notes/facebook-engineering/under-the-hood-mysql-pool-scanner-mps/10151750529723920