[Pacemaker] again trouble with quorum (now with cman)

Andrey Groshev greenx at yandex.ru
Fri Jul 12 04:59:16 UTC 2013



11.07.2013, 18:48, "Digimer" <lists at alteeve.ca>:
> You need fencing. Specifically, cman blocks when a fence is called and
> won't unblock until it's told that a fence completed successfully.
> Configure cluster.conf to use 'fence_pcmk', which tells cman to pass
> fence requests to pacemaker, and then configure (and test!) stonith in
> pacemaker.
>
> If you have just two nodes, be sure to also set '<cman two_node="1"
> expected_votes="1" />'.
>
> digime
>
> On 11/07/13 09:35, Andrey Groshev wrote:
>

I understand that it may be correct to do so... 
But why so difficult?
Assume, I make a small НА cluster in my garage.
And, I not have a managed switch or managed UPS.
I can not corrupt the data.
I just need to returning node as soon as possible started responding.


>>  Hi again!
>>  I've played enough with corosync 2.3.x. nothing good yet.....
>>  Now I try build cluster with corosync/cman/pacemaker.
>>  I started with http://clusterlabs.org/quickstart-redhat.html as saw Andrew.
>>  More made ​​my config in pacemaker (with stonith disabled).
>>  The cluster started and I began tests.
>>
>>  And now got new trouble.
>>  Node not return in a cluster after a network cable disconnect/reconnect.
>>
>>  First, I found that the fenced kill cman tool.
>>  But I do not want that.
>>  Behavior that I want to achieve:
>>  Let after reconnecting start all the resources.
>>  Аnd the resource manager itself with all cope.
>>
>>  I disable the use fenced, as written in the documentation fenced(8).
>>  In /etc/cluster/cluster.conf I wrote <fence_daemon clean_start="0"/>.
>>  The Fenced all the same running, but corosync and pacemaker but continued to work.
>>  And resource do not start.
>>
>>  Now I see to quorum. On fenced node corosync-quorum show than only self.
>>  Why ? After restart pacemaker and cman - all rigth.
>>  Why such a behavior in the quorum and how to fix it?
>>
>>  Best regards.
>>
>>  _______________________________________________
>>  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
>
> --
> Digimer
> Papers and Projects: https://alteeve.ca/w/
> What if the cure for cancer is trapped in the mind of a person without
> access to education?




More information about the Pacemaker mailing list