I am sure many people have already done similar things, but to ease my pain of setting up mysqld on a large-scale environment (I am trying to create a set of database nodes, each node consists of a MySQL failover cluster using semi-sync replication, that can be administered easily), I have just finished writing a deployment script called mysqld_jumpstart. The caveats are:
- integration with daemontools (mysqld is automatically started)
- setup of masters and slaves
- can setup slaves from backup data generated by XtraBackup
The last feature was the one I especially needed, since thanks to the people at Percona, things have become much …
[さらに読む]