http://imysql.com/2015/09/14/solutions-of-mysql-ha.shtml#rd?sukey=b0cb5c5b9e501303123bd48e86555c35e0b1a446fb587ecb90444575c998ee95c3fbd2dcda6106575367258e82fd25cf