All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeff Mahoney <jeffm@suse.com>
To: ocfs2-devel@oss.oracle.com
Subject: [Ocfs2-devel] [RFC] Integration with external clustering
Date: Wed Oct 19 17:41:15 2005	[thread overview]
Message-ID: <4356CC69.50706@suse.com> (raw)
In-Reply-To: <20051019174905.GQ11488@ca-server1.us.oracle.com>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Joel Becker wrote:
> On Wed, Oct 19, 2005 at 03:26:24PM +0200, Lars Marowsky-Bree wrote:
>> Actually a good point. I don't think the heartbeat hierarchy is needed
>> if driven by a user-space membership.
> 
> 	Well, if it is information that some kernel component would
> want/need, then sure it would live in configfs somewhere, but not under
> OCFS2.

Yes and no. I'd like to revise my original proposal here. I think that
my proposed node hierarchy changes would be required to provide the
alternate network paths and such, but would the "active" attribute
really be required? Initially, I wanted to make the distinction between
a node's membership being removed and the node simply going down. On
further thought, I don't think this distinction actually needs to be made.

OCFS2 is aware if a node down event is expected or not by the umount
map. Therefore, it seems simple enough to allow a local node's
membership to imply a heartbeat presence.

So, how about the following:

The existing heartbeat directory structure can stay as it is. It will
only be available when o2cb is active.

/configfs/<cluster>/<uuid>/<node>/
                                  ip address
                                  port
                                  local
                                  fs slot
                                  node number

The user space heartbeat will create and remove the <node> directory on
up/down events. OCFS2 will take appropriate action as expected with the
current heartbeat implementation. I intend to simply queue the events as
they are now and use the existing callback infrastructure to distribute
them.

> 	Put succinctly: We absolutely require the minimal mkfs; mount;
> paradigm be available for our users.  We will not settle for less.
> 	How that is done we don't much care.  So if your system can't
> provide it, O2CB will continue to do so.  We'll be happy to help
> integrate with your stuff as well, as long as it doesn't compromise
> O2CB.  Then, if someone is already using your manager, they can just use
> it with OCFS2.  But anyone not already using your manager can just
> mkfs;mount; with O2CB.

I totally agree that mkfs;mount should work. It's what users expect to
work for a file system, and we don't want OCFS2 to be special cased so
much that nobody wants to deal with it. Users with more advanced
topologies can handle the additional configuration load.

- -Jeff

- --
Jeff Mahoney
SUSE Labs
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDVsxpLPWxlyuTD7IRAkauAKCS+C9vzh2T8t/vI8ww682ATpzYjQCfX329
I14cD4TccpuEyek4gELeu3I=
=d6GW
-----END PGP SIGNATURE-----

  reply	other threads:[~2005-10-19 17:41 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-18 16:52 [Ocfs2-devel] [RFC] Integration with external clustering Jeff Mahoney
2005-10-18 17:18 ` Joel Becker
2005-10-18 18:03   ` Lars Marowsky-Bree
2005-10-18 18:27     ` Joel Becker
2005-10-18 18:50       ` Mark Fasheh
2005-10-19  8:26       ` Lars Marowsky-Bree
2005-10-19 12:49         ` Joel Becker
2005-10-19 17:41           ` Jeff Mahoney [this message]
2005-10-20  7:39             ` Lars Marowsky-Bree
2005-10-19 16:30         ` Jeff Mahoney
2005-10-20  5:24           ` Lars Marowsky-Bree
2005-10-20 10:03             ` Joel Becker
2005-10-20 10:25               ` David Teigland
2005-10-20 10:42                 ` Joel Becker
2005-10-20 10:45                   ` Lars Marowsky-Bree
2005-10-21  4:05                     ` Andrew Beekhof
2005-10-24  6:41                       ` Lars Marowsky-Bree
2005-10-24  8:39                         ` Andrew Beekhof
2005-10-21  4:09                   ` Christoph Hellwig
2005-10-21  9:29                     ` Robert Wipfel
2005-11-06 23:01                       ` Christoph Hellwig
2005-11-07  6:08                         ` Lars Marowsky-Bree
2005-10-20  6:04           ` Andrew Beekhof
2005-10-18 18:47     ` Mark Fasheh
2005-10-19  8:35       ` Lars Marowsky-Bree
2005-10-18 18:20   ` Jeff Mahoney
2005-10-19 14:57     ` Lars Marowsky-Bree
2005-10-19 17:42       ` David Teigland
2005-10-20  5:58         ` Lars Marowsky-Bree
2005-10-20  9:45           ` David Teigland
2005-10-28 10:11 ` [Ocfs2-devel] " Lars Marowsky-Bree

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=4356CC69.50706@suse.com \
    --to=jeffm@suse.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.