//mmm手动切换IP,切换角色
//mmm切换IP
[root@home-db4 ~]# mmm_control set_passive
[root@home-db4 ~]# mmm_control set_ip 10.200.3.119 db1
//mmm切换角色
[root@home-db4 ~]# mmm_control set_active
[root@home-db4 ~]# mmm_control move_role writer db1
[root@home-db4 ~]# mmm_control show
标签:control,IP,mmm,切换,home,root,db4 From: https://blog.51cto.com/u_16152230/6427004