This file is indexed.

/etc/mysql-mmm/mmm_common.conf is in mysql-mmm-common 2.2.1-1.1.

This file is owned by root:root, with mode 0o664.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
active_master_role	writer


<host default>
	cluster_interface		eth0

	pid_path				/var/run/mmm_agentd.pid
	bin_path				/usr/lib/mysql-mmm/

    replication_user        replication
    replication_password    slave

	agent_user				mmm_agent
	agent_password			RepAgent
</host>

<host db1>
	ip						192.168.0.31
	mode					master
	peer					db2
</host>

<host db2>
	ip						192.168.0.32
	mode					master
	peer					db1
</host>

<host db3>
	ip						192.168.0.33
	mode					slave
</host>


<role writer>
	hosts					db1, db2
	ips						192.168.0.50
	mode					exclusive
</role>

<role reader>
	hosts					db1, db2, db3
	ips						192.168.0.51, 192.168.0.52, 192.168.0.53
	mode					balanced
</role>