This is what the script does, in Kevin's words:
This is a script to perform unattended cloning of MySQL slave servers (or masters) to put a new slave online with minimal interaction.
It connects to the source node, performs a mysqldump or mysqlhotcopy, transfers the data, restores the data, and then sets up all replication parameters, on the target machine.It then starts the slave which then begins to catch up to the master
For DBAs that spend hours setting up slave servers, save yourself some time and check this script out!
Til next time,