Build on the corresponding chapter pgpool2 postgresql cluster, due to preference for mysql, but also try to do a mysql cluster.
(A) Diagram of cluster
(B) installation of master database
(1) because it is trial and error, only upload two at a local mysql instance, a different port just fine.
(2) plus sns already have a master database, port 5306, you as the master database, adding a port from the database 5308.
(C) the installation of mysql-proxy