[Pacemaker] Howto test/simulate the reaction of the cluster to node up and down

Andreas Mock andreas.mock at web.de
Tue Sep 17 11:37:54 UTC 2013


Hi all,

I have the problem that after a node rejoins the cluster some
resources are move back to that node. 
Now I want to see the calculated scores to see where I do
have to adjust the stickyness to get the behaviour I like.

I'm not sure how to use crm_simulate to get these values.
When both nodes are online I can simulate a node down
by crm_simulate -Ls -d <node>.
But how do I simulate thr transition from a state where one
node is down? When I bring down a node by 'service pacemaker stop'
and try a crm_simulate -Ls -u <node> I don't see resource transitions.
I only see:
--------------8<----------------
Performing requested modifications
 + Bringing node dis04 online
--------------8<----------------

Any hints appreciated.

Best regards
Andreas Mock






More information about the Pacemaker mailing list