This is the command masterha_master_switchp that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator
PROGRAM:
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.
Use masterha_master_switchp online using onworks.net services