Hi all,
I'm trying to use the mysql resource agent to manage a setup with one
master and two slaves. This is the configuration of the mysql resource
and the master/slave one:
primitive resMySQL ocf:custom:mysql \
params binary="/usr/bin/mysqld_safe" config="/etc/my.cnf"
datadir="/var/lib/mysql" user="mysql" replication_user="myuser"
replication_passwd="mypassword" \
op start interval="0" timeout="120" \
op stop interval="0" timeout="120" \
op promote interval="0" timeout="120" \
op demote interval="0" timeout="120" \
op monitor interval="10" role="Master" timeout="30" \
op monitor interval="10" role="Slave" timeout="30"
ms ms_resMySQL resMySQL \
meta master-max="1" master-node-max="1" clone-node-max="1"
clone-max="3" notify="true" globally-unique="false"
The problem is that I see from the logs some errors like these:
Aug 21 15:24:53 domU-12-31-39-0C-1A-2B pengine: [3816]: ERROR:
is_op_dup: Operation resMySQL-monitor-10-0 is a duplicate of
resMySQL-monitor-10
Aug 21 15:24:53 domU-12-31-39-0C-1A-2B pengine: [3816]: ERROR:
is_op_dup: Do not use the same (name, interval) combination more than
once per resource
Aug 21 15:24:53 domU-12-31-39-0C-1A-2B pengine: [3816]: ERROR:
is_op_dup: Operation resMySQL-monitor-10-0 is a duplicate of
resMySQL-monitor-10
Aug 21 15:24:53 domU-12-31-39-0C-1A-2B pengine: [3816]: ERROR:
is_op_dup: Do not use the same (name, interval) combination more than
once per resource
Aug 21 15:24:53 domU-12-31-39-0C-1A-2B pengine: [3816]: ERROR:
is_op_dup: Operation resMySQL-monitor-10-0 is a duplicate of
resMySQL-monitor-10
Aug 21 15:24:53 domU-12-31-39-0C-1A-2B pengine: [3816]: ERROR:
is_op_dup: Do not use the same (name, interval) combination more than
once per resource
Aug 21 15:24:53 domU-12-31-39-0C-1A-2B pengine: [3816]: ERROR:
is_op_dup: Operation resMySQL-monitor-10-0 is a duplicate of
resMySQL-monitor-10
Aug 21 15:24:53 domU-12-31-39-0C-1A-2B pengine: [3816]: ERROR:
is_op_dup: Do not use the same (name, interval) combination more than
once per resource
Aug 21 15:24:53 domU-12-31-39-0C-1A-2B pengine: [3816]: ERROR:
is_op_dup: Operation resMySQL-monitor-10-0 is a duplicate of
resMySQL-monitor-10
Aug 21 15:24:53 domU-12-31-39-0C-1A-2B pengine: [3816]: ERROR:
is_op_dup: Do not use the same (name, interval) combination more than
once per resource
Aug 21 15:24:53 domU-12-31-39-0C-1A-2B pengine: [3816]: ERROR:
is_op_dup: Operation resMySQL-monitor-10-0 is a duplicate of
resMySQL-monitor-10
Aug 21 15:24:53 domU-12-31-39-0C-1A-2B pengine: [3816]: ERROR:
is_op_dup: Do not use the same (name, interval) combination more than
once per resource
Aug 21 15:24:53 domU-12-31-39-0C-1A-2B pengine: [3816]: ERROR:
is_op_dup: Operation resMySQL-monitor-10-0 is a duplicate of
resMySQL-monitor-10
Aug 21 15:24:53 domU-12-31-39-0C-1A-2B pengine: [3816]: ERROR:
is_op_dup: Do not use the same (name, interval) combination more than
once per resource
and in fact, even if I manually kill the process in a node, the cluster
isn't aware and does not react.
What is wrong with this ms resource?
--
RaSca
Mia Mamma Usa Linux: Niente รจ impossibile da capire, se lo spieghi bene!
[email protected]
http://www.miamammausalinux.org
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems