From: Daniel Phillips <phillips@google.com>
To: ocfs2-devel@oss.oracle.com
Subject: [Ocfs2-devel] [RFC] Fencing harness for OCFS2
Date: Tue, 30 May 2006 13:15:19 -0700 [thread overview]
Message-ID: <447CA7D7.4090803@google.com> (raw)
In-Reply-To: <447CA02C.30308@suse.com>
Jeff Mahoney wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Lars Marowsky-Bree wrote:
>
>>On 2006-05-25T20:31:33, Daniel Phillips <phillips@google.com> wrote:
>>
>>>Goals:
>>> - Lightweight, kernel based fencing harness
>>> - Support pluggable fencing methods
>>> - Pluggable methods take policy out of kernel
>>> - No reinvented wheels, use kernel modules
>>> - Also accomodate user space fencing methods
>>> - Divide work appropriately between kernel and user space
>>> - Obey memory deadlock prevention rules
>>> - Obey safe module unload rules
>>> - Handle multiple clusters per node
>>
>>Sorry we're chiming in so late, but with Jeff's user-space membership
>>patches, we have user-space driven fencing working with heartbeat 2.
>
> It works, but the "Obey memory deadlock prevention rules" line item is
> still an issue.
As I would expect. To be sure, I am interested in hooking up Linux-HA
properly to OCFS2, but what we need to do is to place the core of fencing
in the kernel where it is easiest to implement anti-deadlock measures,
then export an API to Linux-HA. This will be easy with the module-based
API I have proposed, in fact I would be happy to prototype a module to do
it.
But fencing is only part of the story. The whole list of cluster manager
components that can execute in the block writeout path and therefore need
to obey memory deadlock rules is:
* Heartbeat
* Fencing
* Membership and node status events
* Service takeover for essential services (including DLM recovery)
* Node addressing and messaging required for the above
I think that is the whole list, if I have missed anything somebody please
shout. Each of these components needs to get a treatment similar to what
I have proposed for fencing. For example, we need a pluggable API for
service takeover, which I am drafting now. If anybody really doesn't
like my proposal for a fencing harness, please speak up now because the
proposal for service takeover will be very similar.
Regards,
Daniel
next prev parent reply other threads:[~2006-05-30 20:15 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-26 3:31 [Ocfs2-devel] [RFC] Fencing harness for OCFS2 Daniel Phillips
2006-05-30 19:38 ` Lars Marowsky-Bree
2006-05-30 19:42 ` Jeff Mahoney
2006-05-30 20:15 ` Daniel Phillips [this message]
2006-05-31 0:19 ` Lars Marowsky-Bree
2006-05-31 18:38 ` Daniel Phillips
2006-05-31 23:03 ` Lars Marowsky-Bree
2006-06-01 0:57 ` Daniel Phillips
2006-06-01 10:13 ` Lars Marowsky-Bree
2006-06-01 18:57 ` Daniel Phillips
2006-05-30 19:45 ` Daniel Phillips
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=447CA7D7.4090803@google.com \
--to=phillips@google.com \
--cc=ocfs2-devel@oss.oracle.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.