April 2010
Intermediate to advanced
276 pages
6h 16m
English
In this recipe, we will configure the monitoring node with details of each of the hosts, and will tell it to start monitoring the cluster.
Edit /etc/mysql-mmm/mmm_common.conf to change the details for each host and its username and password.
Within this file, define default interfaces, PID and binary paths, and username / password combinations for the replication and MMM agents. For our example cluster, the file looks like this:
<host default> cluster_interface eth0 pid_path /var/run/mmmd_agent.pid bin_path /usr/bin/mysql-mmm/ replication_user mmm_replication replication_password changeme agent_user mmm_agent agent_password changeme monitor_user mmm_agent monitor_password ...
Read now
Unlock full access