Re: [Csync2] lock-timeout

2014-07-22 Thread Samba
As far as i remember, you should put lock-timeout config option out of
group or action scopes. as i said earlier, i guess its scope spans the
entire config file


On Tue, Jul 22, 2014 at 9:55 AM, Slava Bendersky 
wrote:

> Hello Lars,
> I created rpm from 2.0RC2 last available download and it complain about
> this option as syntax error.
>
> Near line 17: syntax error
> Near line 17: syntax error
>
> [root@ca01srv00 ~]# rpm -qa | grep csync2
> csync2-2.0-10.fc16.x86_64
>
> action
> {
> #pattern /etc/apache/httpd.conf;
> #pattern /etc/apache/sites-available/*;
> #exec "/usr/sbin/apache2ctl graceful";
> #lock-timeout 60;---> line 17
> logfile "/var/log/csync2/csync2_action.log";
> do-local;
> }
>
>
> Slava
> --
> *From: *"Lars Ellenberg" 
> *To: *csync2@lists.linbit.com
> *Sent: *Friday, July 18, 2014 11:49:10 AM
> *Subject: *Re: [Csync2] lock-timeout
>
> On Wed, Jul 16, 2014 at 07:53:23PM -0400, Slava Bendersky wrote:
> > Hello Everyone,
> > Is possible provide patch for lock-timeout option ?
> > I created rpm from 2.0R2, but I see that patch never being committed ?
>
>
> I'm not sure where you are looking,
> but the current csync2 git knows about,
> and documents the "lock-timeout" configuration option.
>
>
> Lars
>
>
> http://git.linbit.com/gitweb.cgi?p=csync2.git;a=blob;f=cfgfile_scanner.l#l69
>
> http://git.linbit.com/gitweb.cgi?p=csync2.git;a=blob;f=doc/csync2_paper.tex#l451
>
> Oops, typo there, s/wor/for/ ;-)
>
>
> --
> : Lars Ellenberg
> : LINBIT | Your Way to High Availability
> : DRBD/HA support and consulting http://www.linbit.com
>
> DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.
> ___
> Csync2 mailing list
> Csync2@lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/csync2
>
>
> ___
> Csync2 mailing list
> Csync2@lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/csync2
>
>
___
Csync2 mailing list
Csync2@lists.linbit.com
http://lists.linbit.com/mailman/listinfo/csync2


Re: [Csync2] lock-timeout

2014-07-21 Thread Slava Bendersky
Hello Lars, 
I created rpm from 2.0RC2 last available download and it complain about this 
option as syntax error. 

Near line 17: syntax error 
Near line 17: syntax error 

[root@ca01srv00 ~]# rpm -qa | grep csync2 
csync2-2.0-10.fc16.x86_64 

action 
{ 
#pattern /etc/apache/httpd.conf; 
#pattern /etc/apache/sites-available/*; 
#exec "/usr/sbin/apache2ctl graceful"; 
#lock-timeout 60; ---> line 17 
logfile "/var/log/csync2/csync2_action.log"; 
do-local; 
} 


Slava 
- Original Message -

From: "Lars Ellenberg"  
To: csync2@lists.linbit.com 
Sent: Friday, July 18, 2014 11:49:10 AM 
Subject: Re: [Csync2] lock-timeout 

On Wed, Jul 16, 2014 at 07:53:23PM -0400, Slava Bendersky wrote: 
> Hello Everyone, 
> Is possible provide patch for lock-timeout option ? 
> I created rpm from 2.0R2, but I see that patch never being committed ? 


I'm not sure where you are looking, 
but the current csync2 git knows about, 
and documents the "lock-timeout" configuration option. 


Lars 

http://git.linbit.com/gitweb.cgi?p=csync2.git;a=blob;f=cfgfile_scanner.l#l69 
http://git.linbit.com/gitweb.cgi?p=csync2.git;a=blob;f=doc/csync2_paper.tex#l451
 

Oops, typo there, s/wor/for/ ;-) 


-- 
: Lars Ellenberg 
: LINBIT | Your Way to High Availability 
: DRBD/HA support and consulting http://www.linbit.com 

DRBD® and LINBIT® are registered trademarks of LINBIT, Austria. 
___ 
Csync2 mailing list 
Csync2@lists.linbit.com 
http://lists.linbit.com/mailman/listinfo/csync2 

___
Csync2 mailing list
Csync2@lists.linbit.com
http://lists.linbit.com/mailman/listinfo/csync2


Re: [Csync2] lock-timeout

2014-07-19 Thread Slava Bendersky
Hello Lars, 
Thank you for info. I built rpm from last available download which 2.0 R2. 
And when I add this option it complain about it. 

Near line 17: syntax error 
Near line 17: syntax error 

[root@ca01srv ~]# rpm -qa | grep csync2 
csync2-2.0-10.fc16.x86_64 

action 
{ 
#pattern /etc/apache/httpd.conf; 
#pattern /etc/apache/sites-available/*; 
#exec "/usr/sbin/apache2ctl graceful"; 
lock-timeout 60; --> line 17 
logfile "/var/log/csync2/csync2_action.log"; 
do-local; 
} 


Slava. 

- Original Message -

From: "Lars Ellenberg"  
To: csync2@lists.linbit.com 
Sent: Friday, July 18, 2014 11:49:10 AM 
Subject: Re: [Csync2] lock-timeout 

On Wed, Jul 16, 2014 at 07:53:23PM -0400, Slava Bendersky wrote: 
> Hello Everyone, 
> Is possible provide patch for lock-timeout option ? 
> I created rpm from 2.0R2, but I see that patch never being committed ? 


I'm not sure where you are looking, 
but the current csync2 git knows about, 
and documents the "lock-timeout" configuration option. 


Lars 

http://git.linbit.com/gitweb.cgi?p=csync2.git;a=blob;f=cfgfile_scanner.l#l69 
http://git.linbit.com/gitweb.cgi?p=csync2.git;a=blob;f=doc/csync2_paper.tex#l451
 

Oops, typo there, s/wor/for/ ;-) 


-- 
: Lars Ellenberg 
: LINBIT | Your Way to High Availability 
: DRBD/HA support and consulting http://www.linbit.com 

DRBD® and LINBIT® are registered trademarks of LINBIT, Austria. 
___ 
Csync2 mailing list 
Csync2@lists.linbit.com 
http://lists.linbit.com/mailman/listinfo/csync2 

___
Csync2 mailing list
Csync2@lists.linbit.com
http://lists.linbit.com/mailman/listinfo/csync2


Re: [Csync2] lock-timeout

2014-07-18 Thread Gary E. Miller
Yo Lars!

On Fri, 18 Jul 2014 17:49:10 +0200
Lars Ellenberg  wrote:

> On Wed, Jul 16, 2014 at 07:53:23PM -0400, Slava Bendersky wrote:
> > Hello Everyone, 
> > Is possible provide patch for lock-timeout option ? 
> > I created rpm from 2.0R2, but I see that patch never being
> > committed ? 
> 
> 
> I'm not sure where you are looking,
> but the current csync2 git knows about,
> and documents the "lock-timeout" configuration option.

That is part of the patch.  Was the part of the patch that decreased the
frequency of lock checking also applied?

> http://git.linbit.com/gitweb.cgi?p=csync2.git;a=blob;f=cfgfile_scanner.l#l69
> http://git.linbit.com/gitweb.cgi?p=csync2.git;a=blob;f=doc/csync2_paper.tex#l451

Those links are to the option, got links to the patch that implements it?

RGDS
GARY
---
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97701
g...@rellim.com  Tel:+1(541)382-8588
___
Csync2 mailing list
Csync2@lists.linbit.com
http://lists.linbit.com/mailman/listinfo/csync2


Re: [Csync2] lock-timeout

2014-07-18 Thread Lars Ellenberg
On Wed, Jul 16, 2014 at 07:53:23PM -0400, Slava Bendersky wrote:
> Hello Everyone, 
> Is possible provide patch for lock-timeout option ? 
> I created rpm from 2.0R2, but I see that patch never being committed ? 


I'm not sure where you are looking,
but the current csync2 git knows about,
and documents the "lock-timeout" configuration option.


Lars

http://git.linbit.com/gitweb.cgi?p=csync2.git;a=blob;f=cfgfile_scanner.l#l69
http://git.linbit.com/gitweb.cgi?p=csync2.git;a=blob;f=doc/csync2_paper.tex#l451

Oops, typo there, s/wor/for/ ;-)


-- 
: Lars Ellenberg
: LINBIT | Your Way to High Availability
: DRBD/HA support and consulting http://www.linbit.com

DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.
___
Csync2 mailing list
Csync2@lists.linbit.com
http://lists.linbit.com/mailman/listinfo/csync2


Re: [Csync2] lock-timeout

2014-07-17 Thread Gary E. Miller
Yo Samba!

On Thu, 17 Jul 2014 15:09:33 +0530
Samba  wrote:

> i remember there was already a configurable option to specify
> lock-time-out in each config file. please check the config options in
> the source code, as i remember that it was implemented but not
> documented.

Nope, not that one.

RGDS
GARY
---
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97701
g...@rellim.com  Tel:+1(541)382-8588

> 
> Regards,
> Samba
> 
> 
> On Thu, Jul 17, 2014 at 8:47 AM, Gary E. Miller 
> wrote:
> 
> > Yo Slava!
> >
> > On Wed, 16 Jul 2014 19:53:23 -0400 (EDT)
> > Slava Bendersky  wrote:
> >
> > > Is possible provide patch for lock-timeout option ?
> >
> > +1
> >
> > I have found that patch essential.
> >
> > RGDS
> > GARY
> > ---
> > Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR
> > 97701 g...@rellim.com  Tel:+1(541)382-8588
> > ___
> > Csync2 mailing list
> > Csync2@lists.linbit.com
> > http://lists.linbit.com/mailman/listinfo/csync2
> >



___
Csync2 mailing list
Csync2@lists.linbit.com
http://lists.linbit.com/mailman/listinfo/csync2


Re: [Csync2] lock-timeout

2014-07-17 Thread Samba
i remember there was already a configurable option to specify lock-time-out
in each config file. please check the config options in the source code, as
i remember that it was implemented but not documented.

Regards,
Samba


On Thu, Jul 17, 2014 at 8:47 AM, Gary E. Miller  wrote:

> Yo Slava!
>
> On Wed, 16 Jul 2014 19:53:23 -0400 (EDT)
> Slava Bendersky  wrote:
>
> > Is possible provide patch for lock-timeout option ?
>
> +1
>
> I have found that patch essential.
>
> RGDS
> GARY
> ---
> Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97701
> g...@rellim.com  Tel:+1(541)382-8588
> ___
> Csync2 mailing list
> Csync2@lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/csync2
>
___
Csync2 mailing list
Csync2@lists.linbit.com
http://lists.linbit.com/mailman/listinfo/csync2


Re: [Csync2] lock-timeout

2014-07-16 Thread Gary E. Miller
Yo Slava!

On Wed, 16 Jul 2014 19:53:23 -0400 (EDT)
Slava Bendersky  wrote:

> Is possible provide patch for lock-timeout option ? 

+1

I have found that patch essential.

RGDS
GARY
---
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97701
g...@rellim.com  Tel:+1(541)382-8588
___
Csync2 mailing list
Csync2@lists.linbit.com
http://lists.linbit.com/mailman/listinfo/csync2


[Csync2] lock-timeout

2014-07-16 Thread Slava Bendersky
Hello Everyone, 
Is possible provide patch for lock-timeout option ? 
I created rpm from 2.0R2, but I see that patch never being committed ? 

Any help thank you. 

P.S. In my case I need because it going trough wan link and long distance. 

Slava. 
___
Csync2 mailing list
Csync2@lists.linbit.com
http://lists.linbit.com/mailman/listinfo/csync2