|
FAQ
- Frequently asked questions.
IntroductionMost questions will be answered in the discussion group. http://groups.google.com/group/mmm-devel F.A.QHow many IP addresses do I need?You will need one for each MySQL server and one for each role.
How is MMM different from an LVS solution for managing MySQL clusters?MMM does not any balancing between mysql servers it just keeps system alive by monitoring all servers in cluster and moving roles when some server dies. So I think we should say not "LVS vs MMM", but "LVS + MMM". How is MMM checking the MySQL servers?MMM perform following checks for every server:
In addition to these checks MMM manages read-only mode on the server to be sure that slaves could not process writes and only active master could. How do I configure the IP addresses ?You just need to configure the IP address, for each computer, specified at your Cluster Hosts Addresses section on your Configuration File. As soon as MMM Agent start and communicate with MMM Monitor, it will setup the additional IPs for the roles. Using Configuration Example as reference, you will ONLY need to setup IPs 192.168.1.8 at master 1 and 192.168.1.9 at master2. Using Configuration Example as reference you will write to IP 192.168.1.200 and read from 192.168.1.100, 192.168.1.101. If master1 fails MMM Monitor will move IP address 192.168.1.200 to master2 automatically. What MySQL privileges needed for monitoring user (in mmm_mon.conf)?This user account would be used for server monitoring by following checks:
So, for monitoring account you'll need REPLICATION CLIENT privilege. What MySQL privileges needed for agent user (in mmm_agent.conf)?This account would be used to manage servers in cluster so it needs SUPER privileges. Will MMM work with ethernet bonding?Yes, but the mode will need to be set to 1 (active backup) Can I monitor MMM with Nagios?Yes, use the build-in check_proc function as follows: ./check_procs -C perl -a mmmd_agent -c1:1 ./check_procs -C perl -a mmmd_angel -c1:1 Should I use AUTOMATIC or MANUAL failover?That entirely depends on how much downtime you can handle, with the following exceptions:
Where can I go for help?
|
Sign in to add a comment
Is this a good place for new questions?
I think it would be better to send comments to the mailing list first and then project members would choose the best questions and post them here.
Hi, how long before the mmm_mon detect that the main server is down?