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

2013-09-19 Thread Andrew Beekhof
You might need -R On 19/09/2013, at 2:54 AM, Andreas Mock andreas.m...@web.de wrote: Hallo Andreas, thank you for your reply. I use 1.1.11-git. What I did: I put one node down (servive pacemaker stop) and then execute a crm_simulate -Ls -u node and I only see the output as said before.

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

2013-09-19 Thread Lars Marowsky-Bree
On 2013-09-17T13:37:54, Andreas Mock andreas.m...@web.de wrote: 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

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

2013-09-19 Thread Andreas Mock
Hi Lars, hi Andrew, thank you for your answers. But I'm still stuck. When I do have both nodes online and the resources are spread over these nodes and I do a crm_simulate -Ls -R -d node1 I do see nicly what would happen to the cluster when the node goes down. Allocation scores and a transition

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

2013-09-19 Thread Andrew Beekhof
On 19/09/2013, at 5:57 PM, Andreas Mock andreas.m...@web.de wrote: Hi Lars, hi Andrew, thank you for your answers. But I'm still stuck. When I do have both nodes online and the resources are spread over these nodes and I do a crm_simulate -Ls -R -d node1 I do see nicly what would

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

2013-09-18 Thread Andreas Mock
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.m...@web.de] Gesendet: Dienstag, 17. September 2013 13:38 An: 'The Pacemaker cluster resource

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

2013-09-18 Thread Andreas Kurz
On 2013-09-18 15:08, Andreas Mock wrote: Hi all, really nobody here with deeper experience of crm_simulate? Or with a hint for good documentation? What Pacemaker version are you using? I did a quick test here on older 1.1.6 and 1.1.7 clusters and they show a nice output on crm_simulate -Ls

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

2013-09-18 Thread Francis SOUYRI
Hello Andreas, I am testing serveur upgrade, I have one node with FC18 (pacemaker-1.1.9-0.1.70ad9fa.git.fc18.i686) and the other FC17 (pacemaker-1.1.7-2.fc17.i686). Best regards. Francis On 09/18/2013 03:44 PM, Andreas Kurz wrote: On 2013-09-18 15:08, Andreas Mock wrote: Hi all, really

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

2013-09-18 Thread Andreas Mock
Hallo Andreas, thank you for your reply. I use 1.1.11-git. What I did: I put one node down (servive pacemaker stop) and then execute a crm_simulate -Ls -u node and I only see the output as said before. When I bring up the node in reality pacemaker is moving resources to that node. The output of

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

2013-09-17 Thread Andreas Mock
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