masterha_master_switch(1p)

masterha_master_switch1p

Switching mysql master server to one of other slave servers

Usage

masterha_master_switch --master_state=dead --global_conf=/etc/masterha_default.cnf --conf=/usr/local/masterha/conf/app1.cnf --dead_master_host=host1

masterha_master_switch --master_state=alive --global_conf=/etc/masterha_default.cnf --conf=/usr/local/masterha/conf/app1.cnf

Overview

See online reference (http://code.google.com/p/mysql-master-ha/wiki/masterha_master_switch) for details.

Releases

7 releases since Debian 7 (Wheezy); the text changed 4 times.

  1. 7
  2. 8–9
  3. 10
  4. 11–12
  5. 13

From mha4mysql-manager 0.58-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.