lp:~seuis398/mysql-mmm/reliable_virtual_ip
Because there is a limit to the number of arp packet a switch can handle simultaneously, MMM arp packets can be ignored sometimes.
In that case, client host cannot access mysql db through virtual ip, because of wrong arp cache.
So, arp packet send interval need to be increased.
And... to make sure virtual ip is assigned exactly,
mmm_control executes "vip ping test" and displays the result. ("Net::Ping" is required.)
(Ex.) $ mmm_control show
db01(
db02(
- Get this branch:
- bzr branch lp:~seuis398/mysql-mmm/reliable_virtual_ip
Branch merges
- mysql-mmm-core: Pending requested
-
Diff: 61 lines (+19/-4)2 files modifiedlib/Agent/Helpers/Network.pm (+2/-2)
lib/Monitor/Agents.pm (+17/-2)
Branch information
Recent revisions
- 149. By SeWoong Jeon
-
To make sure vip is assigned exactly,
mmm_control executes "vip ping test" and displays the result.
"Net::Ping" is required.(Ex.) $ mmm_control show
db01(192.168. 56.10) master/ONLINE. Roles: writer( 192.168. 56.20)/ Ping_OK
db02(192.168. 56.11) master/ONLINE. Roles: reader( 192.168. 56.21)/ Ping_Error - 148. By SeWoong Jeon
-
Because there is a limit to the number of arp packet switch can handle simultaneously,
MMM arp packets can be ignored sometimes.
In that case, client host cannot access mysql db through virtual ip, because of wrong arp cache. - 146. By Pascal Hofmann
-
Removed checks for incorrect state REPLICATION_BACKLOG (it's called REPLICATION_
DELAY.. .). - 141. By Pascal Hofmann
-
* Added manual mode (bug #531011), wait mode, config values 'mode' and 'wait_for_
other_master'
* Don't die at startup when no network connection is available - wait for it to appear instead (bug #416572)
* Changed startup behaviour. mmm_mond will only go into passive mode if it detects the active_master_role on more than one host.
* Added config value 'careful_startup' (bug #422549). If set to 0 mmm_mond won't ever switch into passive mode at startup.
* Added check for invalid agent commands (prevents crash when mmmd_mon version 1.x talks to an 2.x agent).
Branch metadata
- Branch format:
- Branch format 6
- Repository format:
- Bazaar pack repository format 1 with rich root (needs bzr 1.0)