On Mon, 25 Mar 2013 13:54:22 +0100
>       My problem is how to avoid split brain situation with this 
> configuration, without configuring a 3rd node. I have read about
> quorum disks, external/sbd stonith plugin and other references, but
> I'm too confused with all this.
> 
>       For example, [1] mention techniques to improve quorum with
> scsi reserve or quorum daemon, but it didn't point to how to do this
> pacemaker. Or [2] talks about external/sbd.
> 
>       Any help?


With corosync 2.2 (2.1 too, I guess) you can use, in corosync.conf:

quorum {
        provider: corosync_votequorum
        expected_votes: 2
        two_node: 1
}

Corosync will then manage quorum for the two-node cluster and Pacemaker
can use that. You still need proper fencing to enforce the quorum (both
for pacemaker and the storage layer – dlm in case you use clvmd), but no
extra quorum node is needed.

There is one more thing, though: you need two nodes active to boot the
cluster, but then when one fails (and is fenced) the other may continue,
keeping quorum.

Greets,
        Jacek

_______________________________________________
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

Reply via email to