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:
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@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?
_______________________________________________
Pacemaker mailing list: Pacemaker@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