Re: [Linux-ha-dev] [PATCH] Heartbeat: remove an assertion fail in pacemaker

2010-11-15 Thread Keisuke MORI
2010/11/14 Lars Ellenberg : > On Tue, Nov 09, 2010 at 06:06:30PM +0900, Keisuke MORI wrote: >> Ok, then let's just drop the changeset. >> >> I agree that srand should not be called many times, >> but I would rather prefer to just keep the existing behavior >> since there have been no problems with

Re: [Linux-ha-dev] a scalable "membership" and LRM proxy proposal

2010-11-15 Thread Alan Robertson
Hi, I missed the "through federation" part. Sorry... As a point of comparison - the proposal as described on my blog does not require federation. Probably at least as scalable, and it's very probable that it's lower latency - and it's pretty much dead certain that it's lower traffic on the

Re: [Linux-ha-dev] a scalable "membership" and LRM proxy proposal

2010-11-15 Thread Alan Robertson
This sounds like a reasonable approach - since it's very similar to one I'd been advocating for a number of years ;-) Liveness being provided directly to the top tier through QMF interfaces sounds unlikely to be scalable to the degree I'm looking for. If a node receives 10s of thousands of "I'

Re: [Linux-ha-dev] [PATCH 08 of 10] cl_log: Restore old logfile open/seek/write/close behaviour

2010-11-15 Thread Bernd Schubert
On Monday, November 15, 2010, Lars Ellenberg wrote: > On Mon, Nov 15, 2010 at 03:52:05PM +0100, Bernd Schubert wrote: > > On Friday, November 12, 2010, Lars Ellenberg wrote: > > > On Fri, Nov 12, 2010 at 05:04:43PM +0100, bs_li...@aakef.fastmail.fm wrote: > > > > # HG changeset patch > > > > # Use

Re: [Linux-ha-dev] [PATCH 06 of 10] cl_log: Always print the common log entity to syslog messages

2010-11-15 Thread Bernd Schubert
On Monday, November 15, 2010, Lars Ellenberg wrote: > On Mon, Nov 15, 2010 at 03:42:21PM +0100, Bernd Schubert wrote: > > On Friday, November 12, 2010, Lars Ellenberg wrote: > > > On Fri, Nov 12, 2010 at 05:04:41PM +0100, bs_li...@aakef.fastmail.fm wrote: > > /* Messages sent to the logging daemon

Re: [Linux-ha-dev] [PATCH 06 of 10] cl_log: Al ways print the common log entity to syslog messages

2010-11-15 Thread Bernd Schubert
On Monday, November 15, 2010, Dejan Muhamedagic wrote: > > > This may truncate entity, and of course breaks existing filtering > > > setups that trigger on it. > > Right. So, this needs to be optional. Ok, any favourite option keyword in logd.cf? If it comes to me, the present logd.cf *suggests*

Re: [Linux-ha-dev] [PATCH 06 of 10] cl_log: Always print the common log entity to syslog messages

2010-11-15 Thread Lars Ellenberg
On Mon, Nov 15, 2010 at 03:42:21PM +0100, Bernd Schubert wrote: > On Friday, November 12, 2010, Lars Ellenberg wrote: > > On Fri, Nov 12, 2010 at 05:04:41PM +0100, bs_li...@aakef.fastmail.fm wrote: > > > # HG changeset patch > > > # User Bernd Schubert > > > # Date 1289577717 -3600 > > > # Node ID

Re: [Linux-ha-dev] [PATCH 10 of 10] ha_logd: Add a SIGHUP signal handler to close/open log files

2010-11-15 Thread Dejan Muhamedagic
On Fri, Nov 12, 2010 at 05:04:45PM +0100, bs_li...@aakef.fastmail.fm wrote: > # HG changeset patch > # User Bernd Schubert > # Date 1289577717 -3600 > # Node ID 8b4e11cab67165eb44bd89b9cbb0319078fc8fbc > # Parent 112b6e5408892b791dbd46b66ce75fe98dd06c26 > ha_logd: Add a SIGHUP signal handler to c

Re: [Linux-ha-dev] [PATCH 06 of 10] cl_log: Always print the common log entity to syslog messages

2010-11-15 Thread Dejan Muhamedagic
Hi, On Mon, Nov 15, 2010 at 03:42:21PM +0100, Bernd Schubert wrote: > On Friday, November 12, 2010, Lars Ellenberg wrote: > > On Fri, Nov 12, 2010 at 05:04:41PM +0100, bs_li...@aakef.fastmail.fm wrote: > > > # HG changeset patch > > > # User Bernd Schubert > > > # Date 1289577717 -3600 > > > # No

Re: [Linux-ha-dev] [PATCH 08 of 10] cl_log: Restore old logfile open/seek/write/close behaviour

2010-11-15 Thread Lars Ellenberg
On Mon, Nov 15, 2010 at 03:52:05PM +0100, Bernd Schubert wrote: > On Friday, November 12, 2010, Lars Ellenberg wrote: > > On Fri, Nov 12, 2010 at 05:04:43PM +0100, bs_li...@aakef.fastmail.fm wrote: > > > # HG changeset patch > > > # User Bernd Schubert > > > # Date 1289577717 -3600 > > > # Node ID

Re: [Linux-ha-dev] [PATCH 08 of 10] cl_log: Restore old logfile open/seek/write/close behaviour

2010-11-15 Thread Bernd Schubert
On Friday, November 12, 2010, Lars Ellenberg wrote: > On Fri, Nov 12, 2010 at 05:04:43PM +0100, bs_li...@aakef.fastmail.fm wrote: > > # HG changeset patch > > # User Bernd Schubert > > # Date 1289577717 -3600 > > # Node ID 750c5a016d8135a7170d4a2fbe0de0f98478c572 > > # Parent 0324966049c1e90b9d18

Re: [Linux-ha-dev] [PATCH 04 of 10] cl_log: Simplify a function

2010-11-15 Thread Dejan Muhamedagic
Hi, On Mon, Nov 15, 2010 at 03:27:39PM +0100, Bernd Schubert wrote: > Hello Lars, > > firstly thanks a lot for your super fast review and reply. I will send > updated > patches on Wednesday. > > On Friday, November 12, 2010, Lars Ellenberg wrote: > > On Fri, Nov 12, 2010 at 05:04:39PM +0100, b

Re: [Linux-ha-dev] [PATCH 04 of 10] cl_log: Simplify a function

2010-11-15 Thread Lars Ellenberg
On Mon, Nov 15, 2010 at 03:27:39PM +0100, Bernd Schubert wrote: > Hello Lars, > > firstly thanks a lot for your super fast review and reply. I will send > updated > patches on Wednesday. > > On Friday, November 12, 2010, Lars Ellenberg wrote: > > On Fri, Nov 12, 2010 at 05:04:39PM +0100, bs_li.

Re: [Linux-ha-dev] [PATCH 06 of 10] cl_log: Always print the common log entity to syslog messages

2010-11-15 Thread Bernd Schubert
On Friday, November 12, 2010, Lars Ellenberg wrote: > On Fri, Nov 12, 2010 at 05:04:41PM +0100, bs_li...@aakef.fastmail.fm wrote: > > # HG changeset patch > > # User Bernd Schubert > > # Date 1289577717 -3600 > > # Node ID 975046c034e72b7edcdc5fcd2f14edcca83fe937 > > # Parent b4cf81f29f57fa7b6afe

Re: [Linux-ha-dev] [PATCH 05 of 10] ha_logd: Use C99 initializers, also correct max entity string length

2010-11-15 Thread Bernd Schubert
On Friday, November 12, 2010, Lars Ellenberg wrote: > > } > > cl_log(LOG_INFO, "setting entity to %s", option); > > > > - strncpy(logd_config.entity, option, MAXLINE); > > + strncpy(logd_config.entity, option, MAXENTITY); > > Do we need an > entity[MAXENTITY-1] = '\0'; > just in

Re: [Linux-ha-dev] [PATCH 04 of 10] cl_log: Simplify a function

2010-11-15 Thread Bernd Schubert
Hello Lars, firstly thanks a lot for your super fast review and reply. I will send updated patches on Wednesday. On Friday, November 12, 2010, Lars Ellenberg wrote: > On Fri, Nov 12, 2010 at 05:04:39PM +0100, bs_li...@aakef.fastmail.fm wrote: > > # HG changeset patch > > # User Bernd Schubert >

Re: [Linux-ha-dev] [PATCH] sfex RA: revise timeout values

2010-11-15 Thread Dejan Muhamedagic
Hi, On Mon, Nov 15, 2010 at 02:36:57PM +0900, NAKAHIRA Kazutomo wrote: > Hi, all > > I revised timeout values(start action and lock_timeout) and long > description of the lock_timeout of the sfex RA. > > The old start action timeout value(600s) is too long. > It originally considered the executi