MainSlave: start slave;listen to master
MainMaster: start master;migrate to slave