[Linux-cluster] Howto define two-node cluster in enterpriseenvironment

Keith Schincke keith.schincke at gmail.com
Wed Jan 12 13:46:37 UTC 2011


On Wed, Jan 12, 2011 at 3:43 AM, Kit Gerrits <kitgerrits at gmail.com> wrote:
>
>
> B/
> If you want to share a REAL filesystem LUN between cluster nodes, you can
> set is up as a Cluster LVM.
> Clustering will then guarantee that only one server can mount it at a time.
> Should clustering fail for some reason, the LVM will be disabled.
> Should the machine running the LVM volume crash, it will be fenced
> (rebooted) and the LVM disabled.
> Once the machine has been successfully fenced, the LVM will be re-enabled,
> so other cluster members can mount volumes on there.
>
>

As a quick note, you should not use part of the LVM as the qdisk. The
cluster needs
to be quorate for clvmd to run. In a two node cluster, you need the
first node plus the
qdisk to be quorate. You end up on a chicken and the egg situation.

My two  node cluster uses part of a SAN disk as the qdisk. The rest of
the SAN disk
is a PV used by the LVM.

Keith




More information about the Linux-cluster mailing list