NAME

MHA::AWS - A support script for "MySQL Master HA" running on AWS

SYNOPSIS

$ mhaws [subcommand] --interface_id=ENI-id [... args passed by MHA]
$ mhaws [subcommand] --route_table_id=[RouteTable-id] --vip=[master VIP] [... args passed by MHA]

required arguments:
  1. failover method is ENI attach/detach
    --interface_id=[ENI-id for master VIP]

  2. failover method is RouteTable change destination
    --route_table_id=[RouteTable-id]
    --vip=[master VIP]

subcommand:
  master_ip_failover
  master_ip_online_change
  shutdown


/etc/masterha_default.cnf

[server default]
master_ip_failover_script=mhaws master_ip_failover --interface_id=eni-xxxxxxxx
master_ip_online_change_script=mhaws master_ip_online_change --interface_id=eni-xxxxxxxx
shutdown_script=mhaws shutdown --interface_id=eni-xxxxxxxx

DESCRIPTION

MHA::AWS is a support script for "MySQL Master HA" which running on Amazon Web Service.

REQUIREMENTS

Failover method = ENI attach/detach

Failover method = VPC route table rewriting

FAILOVER FLOW

SEE ALSO

AWS::CLIWrapper, https://code.google.com/p/mysql-master-ha/

LICENSE

Copyright (C) FUJIWARA Shunichiro.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHOR

FUJIWARA Shunichiro fujiwara.shunichiro@gmail.com