MASTERHA_MASTER_SWITCH(1p) | User Contributed Perl Documentation | MASTERHA_MASTER_SWITCH(1p) |
masterha_master_switch - Switching MySQL master server to one of other slave servers
# For master failover
masterha_master_switch --master_state=dead --global_conf=/etc/masterha_default.cnf --conf=/usr/local/masterha/conf/app1.cnf --dead_master_host=host1
# For online master switch
masterha_master_switch --master_state=alive --global_conf=/etc/masterha_default.cnf --conf=/usr/local/masterha/conf/app1.cnf
See online reference (http://code.google.com/p/mysql-master-ha/wiki/masterha_master_switch) for details.
See online reference (http://code.google.com/p/mysql-master-ha/wiki/masterha_master_switch) for details.
2019-01-06 | perl v5.28.1 |