[Pacemaker] Multi-State Resources and failback ?
rvm at free.fr
rvm at free.fr
Wed Feb 17 14:00:56 UTC 2010
Hi all,
Today, I'm trying a MS set on my two nodes cluster :
primitive TEST ocf:me:mysql \
op monitor interval="10s" role="Master" timeout="10s" \
op monitor interval="11s" role="Slave" timeout="10s" \
meta migration-threshold="2"
ms MS TEST \
meta clone-max="2" notify="false" globally-unique="false" target-role="Started"
Mysql ocf script is based on heartbeat:Stateful script.
Node A is master, Node B is slave.
After two failures of mysql on A (killall mysqld), B becomes master and promotes MySQL. --> ok.
Then, I clean my resource with : resource cleanup MS. A becomes slave and start MySQL. No change on B. --> ok.
Now if I kill my mysqld daemon on B, my monitor shows this error and A become master, B slave. migration-threshold is not used ?
Any ideas, comments, suggestions ?
For this test, I use Debian Lenny, pacemaker 1.0.7+hg20100203-1 and heartbeat 1:3.0.2-1~bpo50+1.
Thanks ;-)
Regards
More information about the Pacemaker
mailing list