From: Michael Lausch <mla@lausch.at>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] has anyone used LVM in a HA cluster?
Date: Mon May 13 04:15:01 2002 [thread overview]
Message-ID: <3CDF8482.7010109@lausch.at> (raw)
In-Reply-To: 20020511192728.GB3125@colombina.comedia.it
Luca Berra wrote:
> On Fri, May 10, 2002 at 07:44:44PM -0500, Steven Lembark wrote:
>
>
> there is a tool called heartbeat on http://www.linux-ha.org/
> have a look at it it really rocks.
> it already has a resource that supports mounting of partitions
> on shared media in case an hosts fail, it would be trivial
> to adapt it for LVM
And make sure the daemons are running in the real time scheduler class.
There exists a state, commomly refered to as "split brain", where the
nodes of a cluster "think" the other one is down, which is not the fact.
Reason for this may be that the load is so high, that the heartbeat
daemon is not scheduled in time to answer the requests (it happened to
me with a commercial product). then both nodes mount the filesystem.
Usually the inital fsck (or log replay or whatever) is enough to destroy
the filesystem beyond repair. But all these things are in no way LVM
specific, so it works.
Plan the export and import scenarios (what commands must be executed by
the node having the disk mounted and what commands must be executed
(vgscan and friends) on the node which mounts a filesystem respectivly)
very carefully and take all possible failover scenarios into account,
e.g. the active node crashes hard and yu have to scan the volume groups,
do the fsck combo on dirty filesystems and mount the volumes.
my experience stems from veritas HA, veritas cluster (which uses a
kernel module for heartbeats to work around the scheduler problems) and
various versions of veritas volume manager. the volume manager is very
similar to a MD/LVM combination.
>
> L.
>
>
next prev parent reply other threads:[~2002-05-13 4:15 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-09 11:53 [linux-lvm] has anyone used LVM in a HA cluster? Au, Richard
2002-05-09 12:14 ` Tim
2002-05-09 14:38 ` Chad Walstrom
2002-05-09 14:46 ` Goetz Bock
2002-07-13 7:12 ` Wichert Akkerman
2002-05-10 2:24 ` Patrick Caulfield
2002-05-10 17:51 ` Austin Gonyou
2002-05-10 19:45 ` Steven Lembark
2002-05-11 14:26 ` Luca Berra
2002-05-13 4:15 ` Michael Lausch [this message]
2002-05-13 6:54 ` Luca Berra
2002-05-13 7:33 ` Tim
2002-05-13 10:59 ` Michael Lausch
2002-05-13 11:23 ` Steven Lembark
2002-05-13 11:28 ` Tim
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3CDF8482.7010109@lausch.at \
--to=mla@lausch.at \
--cc=linux-lvm@sistina.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.