Re: [Linux-ha-dev] [Linux-HA] OCF resource for conntrack

2010-10-27 Thread Dominik Klein
> Maybe I just don't understand it, but isn't that broken? Jon and I just talked on IRC and my misunderstanding was that he intended to _start_ conntrackd via an init script and have the cluster only do the cache commiting/flushing and monitoring work. So from a cluster configuration point of vie

Re: [Linux-ha-dev] New stateful RA: conntrackd

2010-10-27 Thread Dominik Klein
Please don't hate me, here's another update. Some more -ne instead of != Dominik #!/bin/bash # # # An OCF RA for conntrackd # http://conntrack-tools.netfilter.org/ # # Copyright (c) 2010 Dominik Klein # # This program is free software; you can redistribute it and/or modify # it under t

Re: [Linux-ha-dev] [Linux-HA] OCF resource for conntrack

2010-10-27 Thread Dominik Klein
> can you please consult with Dominik Klein, who (unaware of your effort) > incidentally also wrote an RA for conntrackd and posted it on this list > a few days ago? It would be nice if the two of you could consolidate > your efforts and come up with an updated patch. Maybe you guys could get > tog

Re: [Linux-ha-dev] New stateful RA: conntrackd

2010-10-27 Thread Dominik Klein
Hi everybody So I updated my RA according to Florian's comments on Jonathan Petersson's conntrackd RA. I also contacted him in order to merge our RAs, no reply there yet. Once we talked, you will get an update by one of us. Regards Dominik #!/bin/bash # # # An OCF RA for conntrackd #

Re: [Linux-ha-dev] [PATCH 4 of 4] High: exportfs: cleanup

2010-10-27 Thread Lars Ellenberg
On Tue, Oct 19, 2010 at 09:34:30PM +0200, Florian Haas wrote: > # HG changeset patch > # User Florian Haas > # Date 1287154687 -7200 > # Node ID 50a340003ffe0310c08425b73c141e96c42b468f > # Parent 80aa4855038042b7f263df775d281138a1ba658b > High: exportfs: cleanup > > Give the exportfs RA a heart

Re: [Linux-ha-dev] [PATCH 2 of 4] Medium: exportfs: ensure graceful failover with NFSv4 clients

2010-10-27 Thread Florian Haas
On 2010-10-27 11:39, Lars Ellenberg wrote: > On Tue, Oct 19, 2010 at 09:34:28PM +0200, Florian Haas wrote: >> +if ocf_is_true ${OCF_RESKEY_wait_for_leasetime_on_stop}; then >> +local leasetimefile >> +local sleeptime >> +leasetimefile=/proc/fs/nfsd/nfsv4lease

Re: [Linux-ha-dev] [PATCH 2 of 4] Medium: exportfs: ensure graceful failover with NFSv4 clients

2010-10-27 Thread Lars Ellenberg
On Tue, Oct 19, 2010 at 09:34:28PM +0200, Florian Haas wrote: > + if ocf_is_true ${OCF_RESKEY_wait_for_leasetime_on_stop}; then > + local leasetimefile > + local sleeptime > + leasetimefile=/proc/fs/nfsd/nfsv4leasetime > + if [ -r ${unlockfile} ];

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

2010-10-27 Thread Lars Ellenberg
On Mon, Oct 25, 2010 at 08:21:26PM +0900, Keisuke MORI wrote: > Hi, > > The recent heartbeat on the tip would cause an assertion fail in > pacemaker-1.0 and generate a core: > {{{ > Oct 25 17:15:08 srv02 cib: [31333]: ERROR: crm_abort: > crm_glib_handler: Forked child 31338 to record non-fatal ass