From: Joel Becker <Joel.Becker@oracle.com>
To: ocfs2-devel@oss.oracle.com
Subject: [Ocfs2-devel] New OCF edition of o2cb
Date: Wed, 19 Nov 2008 10:10:13 -0800 [thread overview]
Message-ID: <20081119181012.GA16192@mail.oracle.com> (raw)
In-Reply-To: <1E49F7AE-BF12-4D12-8692-730BFDC84341@suse.de>
On Wed, Nov 19, 2008 at 09:49:24AM +0100, Andrew Beekhof wrote:
>> Why does it need to 'default' to any stack? o2cb.init gets the
>> answer out of /etc/sysconfig/o2cb, and I would assume OCF would have a
>> similar sort of thing.
>
> Actually not.
<snip>
> <primitive id="o2cb-cman" class="ocf" type="o2cb"
> provider="ocfs2">
> <instance_attributes id="o2cb-cman-attrs">
> <nvpair id="cman-stack" name="stack" value="cman"/>
> </instance_attributes>
> </primitive>
>
> and the Pacemaker version (which can use the advertised default for
> "stack") would be:
> <primitive id="o2cb-pcmk" class="ocf" type="o2cb"
> provider="ocfs2"/>
>
> If I had knowledge of cman, its likely I could automatically work out
> the "right" stack to use instead of just defaulting to pcmk.
> But for the initial cut, I thought it best to provide a manual setting
> (that happened to favor the author :-) rather than an automatic one that
> was probably only half right.
Well, if you are just trying to figure out the value to stick in
/sys/fs/ocfs2/cluster_stack, the answer is "cman", because I wrote those
bits in ocfs2-tools ;-)
> Np.
> Do you want to fix that when you commit or shall I resend?
Why don't you resend so we don't have me stomping on it?
Thanks,
Joel
--
"Every day I get up and look through the Forbes list of the richest
people in America. If I'm not there, I go to work."
- Robert Orben
Joel Becker
Principal Software Developer
Oracle
E-mail: joel.becker at oracle.com
Phone: (650) 506-8127
next prev parent reply other threads:[~2008-11-19 18:10 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-18 10:30 [Ocfs2-devel] New OCF edition of o2cb Andrew Beekhof
2008-11-18 23:15 ` Joel Becker
2008-11-19 8:49 ` Andrew Beekhof
2008-11-19 18:10 ` Joel Becker [this message]
2008-11-19 20:23 ` Andrew Beekhof
2008-12-02 14:09 ` Andrew Beekhof
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=20081119181012.GA16192@mail.oracle.com \
--to=joel.becker@oracle.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.