<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments for MMM Community Blog</title>
	<atom:link href="http://blog.mysql-mmm.org/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.mysql-mmm.org</link>
	<description>Multi-Master Replication Manager for MySQL</description>
	<lastBuildDate>Fri, 11 May 2012 06:57:08 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.2</generator>
	<item>
		<title>Comment on Verify master-master[&#124;&#124;-slave] data consistency without locking or downtime by jack</title>
		<link>http://blog.mysql-mmm.org/2009/08/verify-master-master-slave-data-consistency-between-masters-without-locking-or-downtime/comment-page-1/#comment-154</link>
		<dc:creator>jack</dc:creator>
		<pubDate>Fri, 11 May 2012 06:57:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mysql-mmm.org/?p=29#comment-154</guid>
		<description>thanks

i&#039;m sure that two masters and a slave ,they have the same mmm_common.conf  and Like this:


        cluster_interface               eth1

        pid_path                        /var/run/mmm_agentd.pid
        bin_path                        /usr/lib/mysql-mmm/

        replication_user                slave
        replication_password            slave

        agent_user                      mmm_agent
        agent_password                  agent_password





        ip                                      192.168.10.6
        mode                                    slave




        ip                                      192.168.10.7
        mode                                    master
        peer                                    db3



        ip                                      192.168.10.8
        mode                                    master
        peer                                    db2




        hosts                                   db3, db2
        ips                                     192.168.10.200
        mode                                    exclusive



        hosts                                   db1,db2, db3
        ips                                     192.168.10.202, 192.168.10.203, 192.168.10.204
        mode                                    balanced
</description>
		<content:encoded><![CDATA[<p>thanks</p>
<p>i&#8217;m sure that two masters and a slave ,they have the same mmm_common.conf  and Like this:</p>
<p>        cluster_interface               eth1</p>
<p>        pid_path                        /var/run/mmm_agentd.pid<br />
        bin_path                        /usr/lib/mysql-mmm/</p>
<p>        replication_user                slave<br />
        replication_password            slave</p>
<p>        agent_user                      mmm_agent<br />
        agent_password                  agent_password</p>
<p>        ip                                      192.168.10.6<br />
        mode                                    slave</p>
<p>        ip                                      192.168.10.7<br />
        mode                                    master<br />
        peer                                    db3</p>
<p>        ip                                      192.168.10.8<br />
        mode                                    master<br />
        peer                                    db2</p>
<p>        hosts                                   db3, db2<br />
        ips                                     192.168.10.200<br />
        mode                                    exclusive</p>
<p>        hosts                                   db1,db2, db3<br />
        ips                                     192.168.10.202, 192.168.10.203, 192.168.10.204<br />
        mode                                    balanced</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Verify master-master[&#124;&#124;-slave] data consistency without locking or downtime by jack</title>
		<link>http://blog.mysql-mmm.org/2009/08/verify-master-master-slave-data-consistency-between-masters-without-locking-or-downtime/comment-page-1/#comment-152</link>
		<dc:creator>jack</dc:creator>
		<pubDate>Thu, 10 May 2012 06:00:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mysql-mmm.org/?p=29#comment-152</guid>
		<description>Can you send the answer  to my email,sometime i can not  visit foreign website.

thanks.</description>
		<content:encoded><![CDATA[<p>Can you send the answer  to my email,sometime i can not  visit foreign website.</p>
<p>thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Verify master-master[&#124;&#124;-slave] data consistency without locking or downtime by jack</title>
		<link>http://blog.mysql-mmm.org/2009/08/verify-master-master-slave-data-consistency-between-masters-without-locking-or-downtime/comment-page-1/#comment-151</link>
		<dc:creator>jack</dc:creator>
		<pubDate>Thu, 10 May 2012 05:53:11 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mysql-mmm.org/?p=29#comment-151</guid>
		<description>hello,when slave agent startup ,i use  debug 1 ,then following this :

2012/05/10 13:33:55 DEBUG Executing /usr/lib/mysql-mmm//agent/set_active_master db3
Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.8/MMM/Agent/Helpers/Actions.pm line 319.
2012/05/10 13:33:55 DEBUG Result: undef
2012/05/10 13:33:55 FATAL Failed to change master to &#039;db3&#039;: undef

and what&#039;s wrong? master1+master2 VIP switch well.</description>
		<content:encoded><![CDATA[<p>hello,when slave agent startup ,i use  debug 1 ,then following this :</p>
<p>2012/05/10 13:33:55 DEBUG Executing /usr/lib/mysql-mmm//agent/set_active_master db3<br />
Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.8/MMM/Agent/Helpers/Actions.pm line 319.<br />
2012/05/10 13:33:55 DEBUG Result: undef<br />
2012/05/10 13:33:55 FATAL Failed to change master to &#8216;db3&#8242;: undef</p>
<p>and what&#8217;s wrong? master1+master2 VIP switch well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on MMM Nagios plugin by roni</title>
		<link>http://blog.mysql-mmm.org/2009/10/mmm-nagios-plugin/comment-page-1/#comment-125</link>
		<dc:creator>roni</dc:creator>
		<pubDate>Mon, 05 Dec 2011 09:33:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mysql-mmm.org/?p=56#comment-125</guid>
		<description>Hello 
i have a question about check_mm. If i start that scrip on the mmm_control Server  its ok but i start that script on my nagios server whith check_nrpe comes following message:CRITICAL: Cannot Find/Execute mmm_control
 
I hope you can me help</description>
		<content:encoded><![CDATA[<p>Hello<br />
i have a question about check_mm. If i start that scrip on the mmm_control Server  its ok but i start that script on my nagios server whith check_nrpe comes following message:CRITICAL: Cannot Find/Execute mmm_control</p>
<p>I hope you can me help</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Centralized authentication with mysql by Matthew Montgomery</title>
		<link>http://blog.mysql-mmm.org/2009/10/centralized-authentication-with-mysql/comment-page-1/#comment-86</link>
		<dc:creator>Matthew Montgomery</dc:creator>
		<pubDate>Mon, 11 Apr 2011 18:19:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mysql-mmm.org/?p=47#comment-86</guid>
		<description>I have some great news.  A year and half after this thread started, the first release with officially supported privilege tables stored in NDBCLUSTER engine is available!

Please check it out!
http://dev.mysql.com/doc/refman/5.1/en/mysql-cluster-privilege-distribution.html</description>
		<content:encoded><![CDATA[<p>I have some great news.  A year and half after this thread started, the first release with officially supported privilege tables stored in NDBCLUSTER engine is available!</p>
<p>Please check it out!<br />
<a href="http://dev.mysql.com/doc/refman/5.1/en/mysql-cluster-privilege-distribution.html" rel="nofollow">http://dev.mysql.com/doc/refman/5.1/en/mysql-cluster-privilege-distribution.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Some use-cases for MMM for MySQL by Brian</title>
		<link>http://blog.mysql-mmm.org/2009/08/some-use-cases-for-mmm-for-mysql/comment-page-1/#comment-76</link>
		<dc:creator>Brian</dc:creator>
		<pubDate>Thu, 20 Jan 2011 18:35:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mysql-mmm.org/?p=5#comment-76</guid>
		<description>Isn&#039;t the management mode a single point of failure?</description>
		<content:encoded><![CDATA[<p>Isn&#8217;t the management mode a single point of failure?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on MMM Nagios plugin by Titanium Jewellery</title>
		<link>http://blog.mysql-mmm.org/2009/10/mmm-nagios-plugin/comment-page-1/#comment-71</link>
		<dc:creator>Titanium Jewellery</dc:creator>
		<pubDate>Thu, 06 Jan 2011 03:45:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mysql-mmm.org/?p=56#comment-71</guid>
		<description>I am really eager to get nagios monitoring my mmm deployment, but am running into a few snags. I have nrpe working properly and I can call check_mmm, but it always returns status ok no matter what. Any ideas?</description>
		<content:encoded><![CDATA[<p>I am really eager to get nagios monitoring my mmm deployment, but am running into a few snags. I have nrpe working properly and I can call check_mmm, but it always returns status ok no matter what. Any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Centralized authentication with mysql by Deb</title>
		<link>http://blog.mysql-mmm.org/2009/10/centralized-authentication-with-mysql/comment-page-1/#comment-70</link>
		<dc:creator>Deb</dc:creator>
		<pubDate>Tue, 04 Jan 2011 20:44:01 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mysql-mmm.org/?p=47#comment-70</guid>
		<description>@istvan good point but it is possible.  Read again to see what I mean.</description>
		<content:encoded><![CDATA[<p>@istvan good point but it is possible.  Read again to see what I mean.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on MMM Nagios plugin by istvan_podor</title>
		<link>http://blog.mysql-mmm.org/2009/10/mmm-nagios-plugin/comment-page-1/#comment-35</link>
		<dc:creator>istvan_podor</dc:creator>
		<pubDate>Fri, 13 Aug 2010 21:15:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mysql-mmm.org/?p=56#comment-35</guid>
		<description>@Josh

Sorry for ignoring your comment so long. I have added the changes you made and committed the code.

Thanks a lot. If you have any other patches, let us know!

Istvan</description>
		<content:encoded><![CDATA[<p>@Josh</p>
<p>Sorry for ignoring your comment so long. I have added the changes you made and committed the code.</p>
<p>Thanks a lot. If you have any other patches, let us know!</p>
<p>Istvan</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on MMM Nagios plugin by Josh</title>
		<link>http://blog.mysql-mmm.org/2009/10/mmm-nagios-plugin/comment-page-1/#comment-17</link>
		<dc:creator>Josh</dc:creator>
		<pubDate>Thu, 07 Jan 2010 05:29:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mysql-mmm.org/?p=56#comment-17</guid>
		<description>The issue for me was that the nrpe daemon, running as the nrpe user, did not have read access to the files in /etc/mysql-mmm/ . We chgrp&#039;d them and now it works :) 

When the nrpe daemon runs the command and it can&#039;t access the files config files it returns an &#039;OK&#039;.  Maybe the code needs to be altered to not show OK if it can&#039;t read the files??

[root@mmmmonitordev01 ~]# cd /etc/mysql-mmm/
[root@mmmmonitordev01 mysql-mmm]# ls -la
total 36
drwxr-xr-x  2 root root  4096 Jan  4 15:38 .
drwxr-xr-x 84 root root 12288 Jan  7 14:37 ..
-rw-r-----  1 root nrpe    33 Dec 21 15:13 mmm_agent.conf
-rw-r-----  1 root nrpe   941 Jan  4 15:38 mmm_common.conf
-rw-r-----  1 root nrpe   325 Jan  4 15:14 mmm_mon.conf
-rw-r-----  1 root nrpe  1293 Dec 21 15:13 mmm_tools.conf

These are the modifications we made to check_mmm

#v1 ERROR Monitor message changed 
    if ($mmm_output =~ /DAEMON IS NOT RUNNING/) {
        my $msg = &quot;CRITICAL: MMM Daemon is not running&quot;;
        report_error($msg, $ERRORS{&#039;CRITICAL&#039;});
    }
#v2 ERROR Monitor message changed 
    if ($mmm_output =~ /ERROR: Can&#039;t connect to monitor daemon/) {
        my $msg = &quot;CRITICAL: MMM Monitor Daemon is not running&quot;;
        report_error($msg, $ERRORS{&#039;CRITICAL&#039;});
    }


	#mmm2 extend
    if ($mmm_output =~ m/passive/i) {
        my $msg = &quot;CRITICAL: MMM Monitor Daemon is in passive mode&quot;;
        report_error($msg, $ERRORS{&#039;WARNING&#039;});
    }

    if ($mmm_output =~ m/agent/i) {
        my $msg = &quot;CRITICAL: MMM Agent Daemon is NOT running on ALL DB&#039;s in the cluster&quot;;
        report_error($msg, $ERRORS{&#039;CRITICAL&#039;});
    }</description>
		<content:encoded><![CDATA[<p>The issue for me was that the nrpe daemon, running as the nrpe user, did not have read access to the files in /etc/mysql-mmm/ . We chgrp&#8217;d them and now it works <img src='http://blog.mysql-mmm.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  </p>
<p>When the nrpe daemon runs the command and it can&#8217;t access the files config files it returns an &#8216;OK&#8217;.  Maybe the code needs to be altered to not show OK if it can&#8217;t read the files??</p>
<p>[root@mmmmonitordev01 ~]# cd /etc/mysql-mmm/<br />
[root@mmmmonitordev01 mysql-mmm]# ls -la<br />
total 36<br />
drwxr-xr-x  2 root root  4096 Jan  4 15:38 .<br />
drwxr-xr-x 84 root root 12288 Jan  7 14:37 ..<br />
-rw-r&#8212;&#8211;  1 root nrpe    33 Dec 21 15:13 mmm_agent.conf<br />
-rw-r&#8212;&#8211;  1 root nrpe   941 Jan  4 15:38 mmm_common.conf<br />
-rw-r&#8212;&#8211;  1 root nrpe   325 Jan  4 15:14 mmm_mon.conf<br />
-rw-r&#8212;&#8211;  1 root nrpe  1293 Dec 21 15:13 mmm_tools.conf</p>
<p>These are the modifications we made to check_mmm</p>
<p>#v1 ERROR Monitor message changed<br />
    if ($mmm_output =~ /DAEMON IS NOT RUNNING/) {<br />
        my $msg = &#8220;CRITICAL: MMM Daemon is not running&#8221;;<br />
        report_error($msg, $ERRORS{&#8216;CRITICAL&#8217;});<br />
    }<br />
#v2 ERROR Monitor message changed<br />
    if ($mmm_output =~ /ERROR: Can&#8217;t connect to monitor daemon/) {<br />
        my $msg = &#8220;CRITICAL: MMM Monitor Daemon is not running&#8221;;<br />
        report_error($msg, $ERRORS{&#8216;CRITICAL&#8217;});<br />
    }</p>
<p>	#mmm2 extend<br />
    if ($mmm_output =~ m/passive/i) {<br />
        my $msg = &#8220;CRITICAL: MMM Monitor Daemon is in passive mode&#8221;;<br />
        report_error($msg, $ERRORS{&#8216;WARNING&#8217;});<br />
    }</p>
<p>    if ($mmm_output =~ m/agent/i) {<br />
        my $msg = &#8220;CRITICAL: MMM Agent Daemon is NOT running on ALL DB&#8217;s in the cluster&#8221;;<br />
        report_error($msg, $ERRORS{&#8216;CRITICAL&#8217;});<br />
    }</p>
]]></content:encoded>
	</item>
</channel>
</rss>
