sql cluster generator

Here you can find a very good his script with the sql cluster generation

http://www.severalnines.com/