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

Andreas Mock andreas.mock at web.de
Wed Sep 18 13:08:20 UTC 2013


Hi all,

really nobody here with deeper experience of crm_simulate?
Or with a hint for good documentation?

Best regards
Andreas Mock


-----Ursprüngliche Nachricht-----
Von: Andreas Mock [mailto:andreas.mock at web.de] 
Gesendet: Dienstag, 17. September 2013 13:38
An: 'The Pacemaker cluster resource manager'
Betreff: [Pacemaker] Howto test/simulate the reaction of the cluster to node
up and down

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



_______________________________________________
Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org





More information about the Pacemaker mailing list