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