http://www.mysqlsystems.com/2012/03/figure-out-process-of-autofailover-on-mha.htmlhttp://jackyrong.iteye.com/blog/1141863