Scroll to navigation

MASTERHA_MASTER_SWITCH(1p) User Contributed Perl Documentation MASTERHA_MASTER_SWITCH(1p)
 

NAME

masterha_master_switch - Switching MySQL master server to one of other slave servers

SYNOPSIS

# 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.

DESCRIPTION

See online reference (http://code.google.com/p/mysql-master-ha/wiki/masterha_master_switch) for details.
2013-06-28 perl v5.14.2