RE: [Linux-ha-dev] Shared disk file Exclusiveness control program forHB2

2007-08-09 Thread Junko IKEDA
Hi, You know that could be true... but if it's called from RA, 2 nodes wouldn't reach that part at the same time, right? One node will be able to reach there according to the score rule. Thanks, Junko > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of

[Linux-ha-dev] Patch for ipmilan STONITH plugin.

2007-08-09 Thread Sean Reifschneider
Attached is a patch for the ipmilan STONITH plugin. The good news is that it does now properly parse the arguments as described in the documentation. the "auth" now properly takes "admin" or "operator", and "priv" takes "none", "md5", "md2"... Previously it was just doing an atoi on these strings

Re: [Linux-ha-dev] an improvement in hbagent...

2007-08-09 Thread Horms
On Tue, Aug 07, 2007 at 07:25:13AM -0600, Alan Robertson wrote: > Alan Robertson wrote: > > Horms wrote: > >> On Sat, Aug 04, 2007 at 07:08:59AM -0600, Alan Robertson wrote: > >>> Yoshiyuki Yoshida wrote: > Hello, all > > I'm trying the improvement of SNMP responce in hbagent... > >>

RE: [Linux-ha-dev] Shared disk file Exclusiveness control programforHB2

2007-08-09 Thread Junko IKEDA
Hi, sorry, my previous answer was off the mark... When 2 nodes reach there at the same time, node A notices that the other node want to lock too, so give up lock itself. node B is ready to lock. Thanks, Junko > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On

Re: [Linux-ha-dev] Re: Shared disk file Exclusiveness control program for HB2

2007-08-09 Thread OKADA Satoshi
Hi Alan and all, Hi Alan, Thank you for your comment. This program isn't considered as a quorum module for now. It was developed as RA, I mean, it provides an independent function without some effects to Heartbeat's internal behavior. since we don't have familiar with a quorum module, what are

[Linux-ha-dev] [PATCH] [STONITH] ipmilan: fix potential segvfault in options parsing

2007-08-09 Thread Simon Horman
Andrew Beekhof suggseted that namestocopy[x].s_value might be NULL. Can it be? If so this patch fixes a potential segfault. Cc: Sean Reifschneider <[EMAIL PROTECTED]> Cc: Andrew Beekhof <[EMAIL PROTECTED]> Signed-off-by: Simon Horman <[EMAIL PROTECTED]> Index: heartbeat/lib/plugins/stonith/ipmil

[Linux-ha-dev] [PATCH] [STONITH] Disable ipmilan by default

2007-08-09 Thread Simon Horman
According to Sean Reifschneider the ipmilan stonith module seems to be in cronically bad health. This patch provides a configure option to enable compiling ipmilan, which is now disabled by default. Cc: Sean Reifschneider <[EMAIL PROTECTED]> Signed-off-by: Simon Horman <[EMAIL PROTECTED]> Index:

[Linux-ha-dev] [PATCH] [DEBIAN] Disable ipmilan

2007-08-09 Thread Simon Horman
According to Sean Reifschneider the ipmilan stonith module seems to be in cronically bad health. Remove it from Debian accordingly. Cc: Sean Reifschneider <[EMAIL PROTECTED]> Signed-off-by: Simon Horman <[EMAIL PROTECTED]> Index: heartbeat/debian/changelog ===

Re: [Linux-ha-dev] Patch for ipmilan STONITH plugin.

2007-08-09 Thread Horms
On Wed, Aug 08, 2007 at 11:44:37PM -0600, Sean Reifschneider wrote: > Attached is a patch for the ipmilan STONITH plugin. The good news is that > it does now properly parse the arguments as described in the documentation. > the "auth" now properly takes "admin" or "operator", and "priv" takes > "n

Re: [Linux-ha-dev] Shared disk file Exclusiveness control programforHB2

2007-08-09 Thread Xinwei Hu
2007/8/9, Junko IKEDA <[EMAIL PROTECTED]>: > Hi, > > sorry, my previous answer was off the mark... > When 2 nodes reach there at the same time, > node A notices that the other node want to lock too, so give up lock itself. I only see that you sleep a period of collision_timeout. This will not prev

Re: [Linux-ha-dev] Re: Shared disk file Exclusiveness control program for HB2

2007-08-09 Thread Alan Robertson
OKADA Satoshi wrote: > Hi Alan and all, >> Hi Alan, >> >> Thank you for your comment. >> This program isn't considered as a quorum module for now. >> It was developed as RA, I mean, it provides an independent function >> without >> some effects to Heartbeat's internal behavior. >> >> since we don't

Re: [Linux-ha-dev] Re: Shared disk file Exclusiveness control program for HB2

2007-08-09 Thread Alan Robertson
Junko IKEDA wrote: > Hi Alan, > > Thank you for your comment. > This program isn't considered as a quorum module for now. > It was developed as RA, I mean, it provides an independent function without > some effects to Heartbeat's internal behavior. I understand. Also, this particular kind of mod

Re: [Linux-ha-dev] Shared disk file Exclusiveness control program forHB2

2007-08-09 Thread Alan Robertson
Junko IKEDA wrote: > Hi, > > You know that could be true... > but if it's called from RA, 2 nodes wouldn't reach that part at the same > time, right? > One node will be able to reach there according to the score rule. Not necessarily. When this module would be used, it would be important in the

Re: [Linux-ha-dev] Shared disk file Exclusiveness control programforHB2

2007-08-09 Thread Alan Robertson
Xinwei Hu wrote: > 2007/8/9, Junko IKEDA <[EMAIL PROTECTED]>: >> Hi, >> >> sorry, my previous answer was off the mark... >> When 2 nodes reach there at the same time, >> node A notices that the other node want to lock too, so give up lock itself. > > I only see that you sleep a period of collision

Re: [Linux-ha-dev] Dynamic Modify the timeout values

2007-08-09 Thread DAIKI MATSUDA
> >>> Hi, All > >>> > >>> I add the new function for heartbeat-2.0.8 and attached its patch file. > >>> > >>> The function is to apply the new timeout parameters ( keepalive, > >>> deadtime, deadping, warntime ) without stopping the heartbeat services. > >>> Currently heartbeat boot scripts supply