Re: [Openais] corosync - CPG callback with totem ringid + members

2010-02-22 Thread Joel Becker
ve, Can you describe to me how this solves the problem? Just noticed it, and trying to ramp up. Steve, The cpg_initialize_model(...) variant seems like a good solution to the API. Joel -- "Reality is merely an illusion, albeit a very persistent one." -

Re: [Openais] SLES 11 ocfs2 pacemaker DLM

2010-01-11 Thread Joel Becker
DLM Ok, is /dev/mapper/UC-var_lib_pgsql mounted? Can you do strace -f -o log fsck.ocfs2 /dev/mapper/UC-var_lib_pgsql and send me the contents of 'log'? Joel -- "I'm drifting and drifting Just like a ship out on the sea. Cause I ain't got nobody, baby, In t

Re: [Openais] OCFS2 or GFS2 for three node cluster?

2010-01-08 Thread Joel Becker
A kiss is just a kiss, A sigh is just a sigh. The fundamental rules apply As time goes by." Joel Becker Principal Software Developer Oracle E-mail: joel.bec...@oracle.com Phone: (650) 506-8127 ___ Openais mailing list Openais@lists.linux-foundation.org https://lists.linux-foundation.org/mailman/listinfo/openais

Re: [Openais] SLES 11 ocfs2 pacemaker DLM

2010-01-08 Thread Joel Becker
es it. > > Is there something missing in the configuration? I don't know, but let's track it down ;-) Joel -- Life's Little Instruction Book #94 "Make it a habit to do nice things for people who will never find out." Joel Becker Principal So

Re: [Openais] OCFS2 or GFS2 for three node cluster?

2010-01-04 Thread Joel Becker
ms. They are not "distributed" filesystems, in that they require the shared disk and are not network filesystems. You may already know this, but I just wanted to be clear. Joel -- "Every new beginning comes from some other beginning's end." Joel Becker Principal

Re: [Openais] [corosync trunk] [patch] Initial support for security (uid-gid)

2009-05-19 Thread Joel Becker
The important point is "is it freed on normal exit?" If so, it should be freed on non-normal exit too. Joel -- "If the human brain were so simple we could understand it, we would be so simple that we could not." - W. A. Clouston Joel Becker Principal Software Deve

Re: [Openais] [corosync trunk] [patch] Initial support for security (uid-gid)

2009-05-19 Thread Joel Becker
free it, even on a clean exit. Otherwise, you try to clean up nicely even in exceptional circumstances. Joel -- "Lately I've been talking in my sleep. Can't imagine what I'd have to say. Except my world will be right When love comes back my way." Joel Beck

Re: [Openais] [Ocfs2-devel] Linux Plumbers Conference mini-conf on clustering?

2009-04-13 Thread Joel Becker
ea. We actually have progress, with a lot of work that we talked about in Prague starting to see the light of day in STABLE3, so it would be good to nail that down. Joel -- Life's Little Instruction Book #313 "Never underestimate the power of love." Joel Becker Princi

Re: [Openais] detecting cpg joiners

2009-04-13 Thread Joel Becker
hat > the pid in step 6 was different (I didn't reboot the node). Yeah, if we reliably get "4:40 leaves; 4:40 joins", we still have the information we need. We need the event. The pid-wrap concern was based on the assumption that 4:40 leaving and a new process 4:40 jo

Re: [Openais] detecting cpg joiners

2009-04-13 Thread Joel Becker
On Thu, Apr 09, 2009 at 09:58:15PM -0700, Joel Becker wrote: > On Thu, Apr 09, 2009 at 06:06:13PM -0700, Steven Dake wrote: > > I'd like to clear up that when Andrew talks about the membership not > > generating a leave event for totem processes in this scenario (which he >

Re: [Openais] detecting cpg joiners

2009-04-09 Thread Joel Becker
+pid, b) a leave and a join event for the nodeid+pid. Joel -- Life's Little Instruction Book #306 "Take a nap on Sunday afternoons." Joel Becker Principal Software Developer Oracle E-mail: joel.bec...@oracle.com Phone: (650) 506-8127 ___

Re: [Openais] detecting cpg joiners

2009-04-09 Thread Joel Becker
On Thu, Apr 09, 2009 at 04:09:18PM -0500, David Teigland wrote: > On Thu, Apr 09, 2009 at 03:50:08PM -0500, David Teigland wrote: > > On Thu, Apr 09, 2009 at 10:12:43PM +0200, Andrew Beekhof wrote: > > > On Thu, Apr 9, 2009 at 20:49, Joel Becker wrote: > > > > On T

Re: [Openais] detecting cpg joiners

2009-04-09 Thread Joel Becker
On Thu, Apr 09, 2009 at 10:12:43PM +0200, Andrew Beekhof wrote: > On Thu, Apr 9, 2009 at 20:49, Joel Becker wrote: > > On Thu, Apr 09, 2009 at 01:50:18PM +0200, Andrew Beekhof wrote: > >> For added fun, a node that restarts quickly enough (think a VM) won't > >&

Re: [Openais] detecting cpg joiners

2009-04-09 Thread Joel Becker
our membership, we need to come up with a scheme to detect these node downs. We probably should do this together, so we don't reinvent it. Joel -- "If you are ever in doubt as to whether or not to kiss a pretty girl, give her the benefit of the doubt"

Re: [Openais] detecting cpg joiners

2009-04-09 Thread Joel Becker
f us in the world of dlms realized this. You're providing the level-triggered case, and we mostly only care about the edges. ocfs2, for example, doesn't really care who the members are. It just needs to know when one died. And if we can't reliably detect that, we're dead in the wa

Re: [Openais] detecting cpg joiners

2009-04-09 Thread Joel Becker
On Thu, Apr 09, 2009 at 03:50:08PM -0500, David Teigland wrote: > On Thu, Apr 09, 2009 at 10:12:43PM +0200, Andrew Beekhof wrote: > > On Thu, Apr 9, 2009 at 20:49, Joel Becker wrote: > > > On Thu, Apr 09, 2009 at 01:50:18PM +0200, Andrew Beekhof wrote: > > >> For a

Re: [Openais] detecting cpg joiners

2009-04-09 Thread Joel Becker
ecification. I agree we shouldn't rely on this. I'm just more concerned that if there is member_count==join_count and leave_count>0, we can rely on members == joiners, and thus treat it as a newly created group (all members are in the "just joined" state). Joel --

Re: [Openais] detecting cpg joiners

2009-04-09 Thread Joel Becker
er the benefit of the doubt" -Thomas Carlyle Joel Becker Principal Software Developer Oracle E-mail: joel.bec...@oracle.com Phone: (650) 506-8127 ___ Openais mailing list Openais@lists.linux-foundation.org https://lists.linux-foundation.org/mailman/listinfo/openais

[Openais] detecting cpg joiners

2009-04-08 Thread Joel Becker
44 "Never underestimate the power of a kind word or deed." Joel Becker Principal Software Developer Oracle E-mail: joel.bec...@oracle.com Phone: (650) 506-8127 ___ Openais mailing list Openais@lists.linux-foundation.org https://lists.linux-foundation.org/mailman/listinfo/openais

Re: [Openais] whitetank: question regarding saCkptCheckpointOpen()

2009-02-21 Thread Joel Becker
and the SERIOUS one. The TENTATIVE is 2 - we expect that it should really work without a retry. The SERIOUS one is for behaviors we want to try harder on, and we use that for init/exit of checkpoint. > Do we need a "blocking" wrapper, and simply retry infinitely? Looks like

Re: [Openais] [Linux-cluster] Re: [Cluster-devel] logging: final call on configuration, output and implementation

2008-11-10 Thread Joel Becker
> "False" Joel -- "In the beginning, the universe was created. This has made a lot of people very angry, and is generally considered to have been a bad move." - Douglas Adams Joel Becker Principal Software Developer Oracle E-mail: [EMAIL PROTECTED] Phone: (65

Re: [Openais] Proposed change to default nodeid generation

2008-08-21 Thread Joel Becker
oday either. Joel -- There are morethings in heaven and earth, Horatio, Than are dreamt of in your philosophy. Joel Becker Principal Software Developer Oracle E-mail: [EMAIL PROTECTED] Phone: (650) 506-8127 ___ Openais mailing list Openais@lists.linux-foundation.org https://lists.linux-foundation.org/mailman/listinfo/openais

Re: [Openais] Proposed change to default nodeid generation

2008-08-21 Thread Joel Becker
set of nodeids. If you don't, you don't. You can't interact between the two sets anyway, because the non-fs/dlm-safe ids can't use fs/dlm. Joel -- "Too much walking shoes worn thin. Too much trippin' and my soul's worn thin. Time to catch a ride it leaves today Her name is what it means. Too much walking shoes worn thin." Joel Becker Principal Software Developer Oracle E-mail: [EMAIL PROTECTED] Phone: (650) 506-8127 ___ Openais mailing list Openais@lists.linux-foundation.org https://lists.linux-foundation.org/mailman/listinfo/openais

Re: [Openais] Proposed change to default nodeid generation

2008-08-20 Thread Joel Becker
value it wants. Internal to corosync and on the wire, it's still stored/sent as uint32_t, just like cman's nodeids. Joel -- "The only way to get rid of a temptation is to yield to it." - Oscar Wilde Joel Becker Principal Software Developer Oracle E-mail: [EMAIL

Re: [Openais] [ANNOUNCEMENT] Corosync 0.90 and Openais 0.90 released!

2008-08-08 Thread Joel Becker
On Fri, Aug 08, 2008 at 09:55:04AM -0700, Joel Becker wrote: > On your machine, run "pkg-config --cflags glib-2.0" and then > "pkg-config --libs glib-2.0". To see the actual pkg-config file for > glib-2.0, check out /usr/lib/pkgconfig/glib-2.0.pc. If you don&#

Re: [Openais] [ANNOUNCEMENT] Corosync 0.90 and Openais 0.90 released!

2008-08-08 Thread Joel Becker
On Fri, Aug 08, 2008 at 09:35:19AM -0700, Steven Dake wrote: > On Fri, 2008-08-08 at 01:08 -0700, Joel Becker wrote: > > On Thu, Jul 24, 2008 at 07:24:47AM -0700, Steven Dake wrote: > > > I am excited and pleased to announce the release of the Corosync Cluster > > &g

Re: [Openais] [ANNOUNCEMENT] Corosync 0.90 and Openais 0.90 released!

2008-08-08 Thread Joel Becker
can we please move the libraries to /usr/lib or somewhere in the link path? Failing that, can we include a pkg-config file, so that clients of corosync libraries can find them? Joel -- "The only way to get rid of a temptation is to yield to it." - Oscar Wilde Joel Becker Prin

Re: [Openais] logsys issues with fork

2008-04-04 Thread Joel Becker
Sure, the user now has to do this, but it's a very clean model - "Every independent thread of control must call foo_init()". That sort of thing. -- "Depend on the rabbit's foot if you will, but remember, it didn't help the rabbit." - R

Re: [Openais] xml api with no handle - and tracking integrated into track function

2008-03-25 Thread Joel Becker
op of the core representation, so can a cluster application access that core representation? Joel -- "Against stupidity the Gods themselves contend in vain." - Friedrich von Schiller Joel Becker Principal Software Developer Oracle E

Re: [Openais] xml api with no handle - and tracking integrated into track function

2008-03-25 Thread Joel Becker
onf_error_t dataconf_query_list_next ( > dataconf_query_list_handle_t dataconf_query_list_handle, > char *result); > > dataconf_error_t dataconf_query_list_finalize ( > dataconf_query_list_handle_t dataconf_query_list_handle); -- "Not being known doesn't stop th

Re: [Openais] xml api with no handle - and tracking integrated into track function

2008-03-25 Thread Joel Becker
ws multiple connections when an app needs it. Joel -- "To announce that there must be no criticism of them president, or that we are to stand by the president, right or wrong, is not only unpatriotic and servile, but is morally treasonable to the American public." - Theodore

Re: [Openais] xml api round two

2008-03-25 Thread Joel Becker
r handle it :-) Doesn't answer whether many individual handles is better or worse than one global handle. Joel -- Life's Little Instruction Book #69 "Whistle" Joel Becker Principal Software Developer Oracle E-mail: [EMAIL P

Re: [Openais] xml api round two

2008-03-25 Thread Joel Becker
is a problem. 100s or 1000s of file descriptors take kernel memory, especially if they have IPC buffers associated with them. Joel -- Life's Little Instruction Book #232 "Keep your promises." Joel Becker Principal Software Developer Oracle E-mail: [EMAIL PROTECTED] Phone:

Re: [Openais] xml api round two

2008-03-25 Thread Joel Becker
On Tue, Mar 25, 2008 at 03:37:36PM -0700, Steven Dake wrote: > On Tue, 2008-03-25 at 14:48 -0700, Joel Becker wrote: > > On Mon, Mar 24, 2008 at 12:58:07PM -0700, Steven Dake wrote: > > > dataconf_error_t dataconf_track ( > > > dataconf_handle_t dataconf_handle, &g

Re: [Openais] xml api round two

2008-03-25 Thread Joel Becker
hat grown men live on skim milk because the baby can't eat steak." - author Robert A. Heinlein on censorship Joel Becker Principal Software Developer Oracle E-mail: [EMAIL PROTECTED] Phone: (650) 506-8127 ___ Openais mailing list Ope

Re: [Openais] xml api round two

2008-03-25 Thread Joel Becker
_query_handle); Where's the xml_request to query here? Joel -- Life's Little Instruction Book #197 "Don't forget, a person's greatest emotional need is to feel appreciated." Joel Becker Principal Software Developer Oracle E-mail: [EMAIL P

Re: [Openais] A tale of Two Developers, or, On Configuration API

2008-03-25 Thread Joel Becker
o provide the callback style for applications where the race is important - something you just can't get in ccs today, afaik. Joel -- "There is no sincerer love than the love of food." - George Bernard Shaw Joel Becker Principal Software Developer Oracle E-mail: [EMAIL PROTECTE

[Openais] A tale of Two Developers, or, On Configuration API

2008-03-24 Thread Joel Becker
Enough with the third person. I see no reason these API cannot coexist. In fact, they are just layers atop each other. While there is a question of who implements which layer, I think we've settled that a core library should present them so that we can drop extrinsic librari

Re: [Openais] XML API

2008-03-24 Thread Joel Becker
re is the "here is the key I would like to iterate"? In ckpt, for example, you are saying "I would like to iterate the sections of this specific ckpt object." I don't see the XPath query in the _initialize() function where I would expect to. Joel -- "Sometimes one

Re: [Openais] packing of struct totempg_mcast

2008-03-21 Thread Joel Becker
ibute won't break anything. Joel -- "The cynics are right nine times out of ten." - H. L. Mencken Joel Becker Principal Software Developer Oracle E-mail: [EMAIL PROTECTED] Phone: (650) 506-8127 ___ Openais mailing list