[Pacemaker] Howto test/simulate the reaction of the cluster to node up and down
Andrew Beekhof
andrew at beekhof.net
Thu Sep 19 01:51:44 UTC 2013
You might need -R
On 19/09/2013, at 2:54 AM, Andreas Mock <Andreas.Mock at 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. When I bring up the node in reality pacemaker
> is moving resources to that node. The output of crm_simulate
> doen't reflect these operations.
>
> I don't know whether I do something wrong or I'm hitting a bug.
>
> Anyway, thank you.
>
> Best regards
> Andreas Mock
>
>
> -----Ursprüngliche Nachricht-----
> Von: Andreas Kurz [mailto:andreas at hastexo.com]
> Gesendet: Mittwoch, 18. September 2013 15:45
> An: pacemaker at oss.clusterlabs.org
> Betreff: Re: [Pacemaker] Howto test/simulate the reaction of the cluster to
> node up and down
>
> 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 -u testnode" with transitions and scores.
>
> Regards,
> Andreas
>
> --
> Need help with Pacemaker?
> http://www.hastexo.com/now
>
>>
>> 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
>>
>>
>> _______________________________________________
>> 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
>>
>
>
>
>
>
>
> _______________________________________________
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20130919/938d7a79/attachment-0004.sig>
More information about the Pacemaker
mailing list