Show pagesourceOld revisions
Recent changesIndex

MMM 1.2

This page covers additions/changes having to do with MMM v1.2.3 (current stable release)

Introduction

The purpose of this branch is to provide a more stable release of the 1.0 code base, with additional configuration options. For documentation related to MMM v2, see mmm2

Failover Method

One of the more interesting additions included to MMM is the “Failover Method”. It can be defined in mmm_mon_C#.conf via:

  • failover_method [auto|manual|wait]
  • auto - fully automated cluster management (default)
  • manual - writer roles are only maintained manually

wait – works like 'manual', but only until both master nodes are ONLINE or one master node is ONLINE and specified wait time has passed, then it switches to 'auto'. The wait method uses a new configuration option: wait_for_other_master sec, which is the delay time used when in ‘wait’ failover. When only single master node becomes ONLINE, wait only that long for the other to appear before switching to ‘auto’; 0 means disabled

or on the command-line by:

mmm_control @C# failover_method [auto|manual|wait]

New Node States

PENDING – when a node state is unknown to the monitor, PENDING is used to assume nothing

Major Changes

major changes in behavior from the original MMM:

  • on mmmd_mon startup, if no saved state is available and there is no connectivity with agents set PENDING state for nodes rather than HARD_OFFLINE; PENDING can only change when node’s agent and MySQL become available
  • on exlusive (writer) role change, kill all user threads on the old active master to prevent further writes
  • on mmmd_agent startup, read local server’s IP address table and discover own roles
  • on replication error, when it happens on the active master, ignore the error and allow the node to retain its roles
  • on certain MySQL errors (e.g. too many connections), when they happen on the active master, ignore them and allow the node to retain its roles

Revision History

1.2.3 → Current Release 1.0.0 → Initial Release

mmm1/mmm-1.2.txt · Last modified: 2009-06-11 16:15 by Pascal Hofmann
Show pagesourceOld revisions
CC Attribution-Share Alike 3.0 Unported

MySQL is a registered trademark of MySQL AB in the United States, the European Union and other countries.
Multi-Master Replication Manager for MySQL is in no way affiliated or associated with MySQL AB.

www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0