Re: [Linux-ha-dev] Restart service on hb_takeover.

2019-03-25 Thread Lars Ellenberg
Everything is possible. Heartbeat is end of life, haresources mode even more so. No need to argue, I'm just stating facts here ;-) Probably the most easy way for you to achieve what you want: use yet an other wrapper script. If you elaborate on the actual problem, with some specific example,

Re: [Linux-ha-dev] [ClusterLabs Developers] moving cluster-glue to github

2016-10-10 Thread Lars Ellenberg
ation, but no one has actually done it yet. ;) > > > > Out of curiosity what needs to be done for this, other than the > > obvious "git push" to github, and maybe updating a README / wiki page > > or two? > > > > The main thing would be to ensure that

Re: [Linux-ha-dev] Some minor patches for cluster-glue

2016-08-30 Thread Lars Ellenberg
;hg export"? Can > > you supply them with "hg export"? > > > > I thought I did.. let me try again. I think what Dejan was expecting is the result of "hg export", which should look more like # HG changeset patch # User Lars Ellenberg &

[Linux-ha-dev] Call for review of undocumented parameters in resource agent meta data

2015-02-11 Thread Lars Ellenberg
On Fri, Jan 30, 2015 at 09:52:49PM +0100, Dejan Muhamedagic wrote: Hello, We've tagged today (Jan 30) a new stable resource-agents release (3.9.6) in the upstream repository. Big thanks go to all contributors! Needless to say, without you this release would not be possible. Big thanks to

[Linux-ha-dev] Announcing the Heartbeat 3.0.6 Release

2015-02-10 Thread Lars Ellenberg
deployments using Heartbeat, upgrading to this Heartbeat version is strongly recommended. Thanks, Lars Ellenberg signature.asc Description: Digital signature ___ Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org http://lists.linux-ha.org

Re: [Linux-ha-dev] RFC: pidfile handling; current worst case: stop failure and node level fencing

2014-10-23 Thread Lars Ellenberg
On Tue, Oct 21, 2014 at 02:06:24PM +0100, Tim Small wrote: On 20/10/14 20:17, Lars Ellenberg wrote: In other OSes, ps may be able to give a good enough equivalent? Debian's start-stop-daemon executable might be worth considering here - it's used extensively in the init script infrastructure

Re: [Linux-ha-dev] RFC: pidfile handling; current worst case: stop failure and node level fencing

2014-10-23 Thread Lars Ellenberg
On Wed, Oct 22, 2014 at 03:09:12PM +0200, Dejan Muhamedagic wrote: On Wed, Oct 22, 2014 at 06:50:37AM -0600, Alan Robertson wrote: On 10/22/2014 03:33 AM, Dejan Muhamedagic wrote: Hi Alan, On Mon, Oct 20, 2014 at 02:52:13PM -0600, Alan Robertson wrote: For the Assimilation code I

Re: [Linux-ha-dev] RFC: pidfile handling; current worst case: stop failure and node level fencing

2014-10-23 Thread Lars Ellenberg
On Wed, Oct 22, 2014 at 02:11:21PM +0100, Tim Small wrote: On 22/10/14 13:50, Alan Robertson wrote: Does anyone know which OSes have either or both of those /proc names? Once again, can I recommend taking a look at the start-stop-daemon source (see earlier posting), which does this stuff,

Re: [Linux-ha-dev] RFC: pidfile handling; current worst case: stop failure and node level fencing

2014-10-21 Thread Lars Ellenberg
On Mon, Oct 20, 2014 at 11:21:36PM +0200, Lars Ellenberg wrote: On Mon, Oct 20, 2014 at 03:04:31PM -0600, Alan Robertson wrote: On 10/20/2014 02:52 PM, Alan Robertson wrote: For the Assimilation code I use the full pathname of the binary from /proc to tell if it's one of mine. That's

[Linux-ha-dev] RFC: pidfile handling; current worst case: stop failure and node level fencing

2014-10-20 Thread Lars Ellenberg
Recent discussions with Dejan made me again more prominently aware of a few issues we probably all know about, but usually dismis as having not much relevance in the real-world. The facts: * a pidfile typically only stores a pid * a pidfile may stale, not properly cleaned up when the pid

Re: [Linux-ha-dev] RFC: pidfile handling; current worst case: stop failure and node level fencing

2014-10-20 Thread Lars Ellenberg
On Mon, Oct 20, 2014 at 03:04:31PM -0600, Alan Robertson wrote: On 10/20/2014 02:52 PM, Alan Robertson wrote: For the Assimilation code I use the full pathname of the binary from /proc to tell if it's one of mine. That's not perfect if you're using an interpreted language. It works quite

Re: [Linux-ha-dev] [PATCH] support LSBs /run directory

2013-12-23 Thread Lars Ellenberg
17, 2013 at 1:43 PM, Lars Ellenberg lars.ellenb...@linbit.com wrote: On Tue, Dec 17, 2013 at 02:39:52AM +0100, Timur I. Bakeyev wrote: Hi, guys! Any reaction, please? Probably best to add a helper to ocf-functions, say, # require_run_dir mode user:group path require_run_dir

Re: [Linux-ha-dev] Fwd: ldirectord fails to test HTTPS real servers.

2013-12-23 Thread Lars Ellenberg
On Fri, Dec 20, 2013 at 12:31:05PM +0100, Timur I. Bakeyev wrote: So maybe exporting PERL_LWP_SSL_VERIFY_HOSTNAME=0 somewhere is the more elegant solution? That was my original idea, but playing with ENV variables within ldirectord sounds a bit dangerous. We can play with $ua-ssl_opts(

Re: [Linux-ha-dev] [PATCH] support LSBs /run directory

2013-12-20 Thread Lars Ellenberg
! On Tue, Dec 17, 2013 at 1:43 PM, Lars Ellenberg lars.ellenb...@linbit.com wrote: On Tue, Dec 17, 2013 at 02:39:52AM +0100, Timur I. Bakeyev wrote: Hi, guys! Any reaction, please? Probably best to add a helper to ocf-functions, say, # require_run_dir mode user:group path

Re: [Linux-ha-dev] Fwd: ldirectord fails to test HTTPS real servers.

2013-12-13 Thread Lars Ellenberg
On Tue, Dec 03, 2013 at 12:57:24PM +0100, Timur I. Bakeyev wrote: Hi guys! I've posted bug report regarding ldirectord, can you please review it and commit, if possible? https://github.com/ClusterLabs/resource-agents/issues/361 Ldirectord is using LWP for it's negotiate checks for the

Re: [Linux-ha-dev] [Linux-HA] announcement: planning resource-agents release 3.9.6

2013-09-30 Thread Lars Ellenberg
On Mon, Sep 30, 2013 at 03:33:35PM +0200, Dejan Muhamedagic wrote: Hello, We released resource-agents v3.9.5 back in February. In the meantime there have been quite a few fixes and new features pushed to the repository and it is high time for another release. Lars Ellenberg will run

Re: [Linux-ha-dev] [PATCH] High: ccm: fix a memory leak when a client exits

2013-09-06 Thread Lars Ellenberg
. Double checks are welcome. Thanks, -- Keisuke MORI Cheers, Lars -- : 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

Re: [Linux-ha-dev] [PATCH] Patch to make Route RA IPv6 ready

2013-06-03 Thread Lars Ellenberg
On Thu, May 30, 2013 at 09:36:34AM +0200, Robert Sander wrote: This little patch makes the Route RA IPv6 ready. Sorry for the huge delay. Will make sure this is merged right away. Thanks, Lars -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support

Re: [Linux-ha-dev] [Linux-HA] LVM Resource agent, exclusive activation - implementation bugs

2013-05-14 Thread Lars Ellenberg
On Tue, May 14, 2013 at 01:22:08PM +0200, Lars Ellenberg wrote: [ on linux-ha, a lot of stuff about why I think we don't even want that feature, or at least not how it is implemented ] This post is related, but about the implementation bugs in the current implementation as I spotted them

Re: [Linux-ha-dev] [PATCH] cluster-glue memory leak

2013-05-07 Thread Lars Ellenberg
) -- Yuichi SEINO METROSYSTEMS CORPORATION E-mail:seino.clust...@gmail.com -- : 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

Re: [Linux-ha-dev] [Linux-HA] Announcing release 0.1.0 of the Assimilation Monitoring Project!

2013-04-24 Thread Lars Ellenberg
://linux-ha.org/ReportingProblems -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http://www.linbit.com ___ Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha

Re: [Linux-ha-dev] [PATCH][crmsh] deal with the case-insentive hostname

2013-04-23 Thread Lars Ellenberg
On Wed, Apr 10, 2013 at 06:13:45PM +0900, Junko IKEDA wrote: Hi, I set upper-case hostname (GUEST03/GUEST4) and run Pacemaker 1.1.9 + Corosync 2.3.0. [root@GUEST04 ~]# crm_mon -1 Last updated: Wed Apr 10 15:12:48 2013 Last change: Wed Apr 10 14:02:36 2013 via crmd on GUEST04 Stack:

Re: [Linux-ha-dev] ManageVE prints bogus errors to the syslog

2013-04-09 Thread Lars Ellenberg
On Fri, Apr 05, 2013 at 12:39:46PM +0200, Dejan Muhamedagic wrote: Hi Lars, On Thu, Apr 04, 2013 at 09:28:00PM +0200, Lars Ellenberg wrote: On Wed, Apr 03, 2013 at 06:25:58PM +0200, Dejan Muhamedagic wrote: Hi, On Fri, Mar 22, 2013 at 08:41:30AM +0100, Roman Haefeli wrote: Hi

Re: [Linux-ha-dev] ManageVE prints bogus errors to the syslog

2013-04-04 Thread Lars Ellenberg
On Wed, Apr 03, 2013 at 06:25:58PM +0200, Dejan Muhamedagic wrote: Hi, On Fri, Mar 22, 2013 at 08:41:30AM +0100, Roman Haefeli wrote: Hi, When stopping a node of our cluster managing a bunch of OpenVZ CTs, I get a lot of such messages in the syslog: Mar 20 17:20:44 localhost

Re: [Linux-ha-dev] ocft updated (test tool of resource-agnets)

2013-01-21 Thread Lars Ellenberg
the agent should cleanup those childs as well. Why did you change that? Did it not work? Break something? Thanks, -- : 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

Re: [Linux-ha-dev] [resource-agents] Low: pgsql: check existence of instance number in replication mode (#159)

2012-10-25 Thread Lars Ellenberg
) -- Patch Links -- https://github.com/ClusterLabs/resource-agents/pull/159.patch https://github.com/ClusterLabs/resource-agents/pull/159.diff --- Reply to this email directly or view it on GitHub: https://github.com/ClusterLabs/resource-agents/pull/159 -- : Lars Ellenberg : LINBIT

Re: [Linux-ha-dev] [resource-agents] [RFC] IPaddr2: Proposal patch to support the dual stack of IPv4 and IPv6. (#97)

2012-10-17 Thread Lars Ellenberg
continue to use it for the backward compatibility. ## Acknowledgement Thanks to Tomo Nozawa-san for his hard work for writing and testing this patch. Thanks to Lars Ellenberg for the first findif.sh implementation. You can merge this Pull Request by running: git pull https

Re: [Linux-ha-dev] Using /etc/ha.d/nodeinfo--supported?

2012-09-24 Thread Lars Ellenberg
reason why this is difficult or sub-optimal? -- : 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. ___ Linux-HA-Dev

Re: [Linux-ha-dev] Probable sub-optimal behavior in ucast

2012-07-31 Thread Lars Ellenberg
on all sockets, and not on just one of them? -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http://www.linbit.com ___ Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org http://lists.linux-ha.org/mailman

Re: [Linux-ha-dev] [PATCH] Fix ha.cf node parsing in ha_propagate

2012-06-26 Thread Lars Ellenberg
On Tue, Jun 26, 2012 at 05:46:44PM +0700, Philippe Alcoy wrote: On 22 June 2012 17:20, Lars Ellenberg lars.ellenb...@linbit.com wrote: On Wed, Jun 20, 2012 at 06:29:43PM +0700, Philippe Alcoy wrote: # HG changeset patch # User Philippe Alcoy phili...@alcoy.co.uk # Date 1340188944

Re: [Linux-ha-dev] [PATCH] Fix ha.cf node parsing in ha_propagate

2012-06-22 Thread Lars Ellenberg
= os.uname()[1] -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http://www.linbit.com ___ Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http

Re: [Linux-ha-dev] [PATCH] Fix chkconfig heartbeat on flag missing in ha_propagate

2012-06-22 Thread Lars Ellenberg
to scp config files and runlevel settings themselves, really... -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http://www.linbit.com ___ Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org http://lists.linux

Re: [Linux-ha-dev] exportfs RA patch

2012-06-06 Thread Lars Ellenberg
:]]\+\([^[:space:]]\+\)\(\n\|$\)/ \1\2/;' \ -e 's/ world\(\n\|$\)/ *\1/;' \ -e 'P;D;' Again, please, everybody: try to break this with any output exportfs may produce. If only ... I mean, well, it is 2012, right? ah well, never mind :-/ -- : Lars Ellenberg : LINBIT | Your Way to High Availability

Re: [Linux-ha-dev] exportfs RA patch

2012-06-05 Thread Lars Ellenberg
Ok. So we forgot about exportfs *:/path, which is shown as /path world. I'd like to have it anchored. oes this still work for you? + sed -e '$! N; s/\n[[:space:]]\+/ /; t; s/[[:space:]]\+\([^[:space:]]\+\)\(\n\|$\)/ \1\2/g; s/ world$/ */g; P;D;' | -- : Lars Ellenberg : LINBIT

Re: [Linux-ha-dev] Request to everybody adding tag

2012-05-30 Thread Lars Ellenberg
as well (afaics), given the timing, I assume you refer to the recent resource-agents v3.9.3 release. Signed tag has been added for that one. Did you know git describe --tags ? Thanks, -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http

Re: [Linux-ha-dev] [Patch] The patch which revises memory leak.

2012-05-16 Thread Lars Ellenberg
On Wed, May 16, 2012 at 09:33:48AM +0900, renayama19661...@ybb.ne.jp wrote: Hi Lars, In the environment where we confirmed leak, I confirm your patch. Pushed to http://hg.linux-ha.org/glue Thanks, -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting

Re: [Linux-ha-dev] [Patch] The patch which revises memory leak.

2012-05-15 Thread Lars Ellenberg
On Mon, May 14, 2012 at 05:44:55PM +0200, Lars Ellenberg wrote: By the way, I suspect Lars' suggestion would work fine. I would certainly explain what the better patch is in the comments when you apply this one. My suggestion would be: diff --git a/lib/clplumbing/GSource.c b/lib

Re: [Linux-ha-dev] [Patch] The patch which revises memory leak.

2012-05-15 Thread Lars Ellenberg
On Tue, May 15, 2012 at 11:14:53AM +0200, Lars Ellenberg wrote: On Mon, May 14, 2012 at 05:44:55PM +0200, Lars Ellenberg wrote: By the way, I suspect Lars' suggestion would work fine. I would certainly explain what the better patch is in the comments when you apply this one. Hm

Re: [Linux-ha-dev] [Patch] The patch which revises memory leak.

2012-05-14 Thread Lars Ellenberg
not explode). Note: that is *instead* of your patch, not in addition to. Thanks, Lars -- : 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

Re: [Linux-ha-dev] [Patch] The patch which revises memory leak.

2012-05-02 Thread Lars Ellenberg
to be necessary to release gsource somehow or other. The similar liberation seems to be carried out in lrmd. Best Regards, Hideo Yamauchi. --- On Fri, 2012/4/27, Lars Ellenberg lars.ellenb...@linbit.com wrote: On Thu, Apr 26, 2012 at 10:56:30AM +0900, renayama19661

Re: [Linux-ha-dev] heartbeat gmain source priority inversion with rexmit and dead node detection

2012-04-30 Thread Lars Ellenberg
On Mon, Apr 30, 2012 at 12:23:56PM +1000, Andrew Beekhof wrote: On Sat, Apr 28, 2012 at 12:11 AM, Lars Ellenberg lars.ellenb...@linbit.com wrote: On Thu, Apr 26, 2012 at 10:56:30AM +0900, renayama19661...@ybb.ne.jp wrote: Hi All, We gave test that assumed remote cluster environment

Re: [Linux-ha-dev] [Patch] The patch which revises memory leak.

2012-04-27 Thread Lars Ellenberg
; + } } schedule_rexmit_request(node, seq, max_rexmit_delay); -- : 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

[Linux-ha-dev] heartbeat gmain source priority inversion with rexmit and dead node detection

2012-04-27 Thread Lars Ellenberg
On Thu, Apr 26, 2012 at 10:56:30AM +0900, renayama19661...@ybb.ne.jp wrote: Hi All, We gave test that assumed remote cluster environment. And we tested packet lost. You may be interested in this patch I have lying around for ages. It may be incomplete for one corner case: On a seriously

Re: [Linux-ha-dev] Occasionally heartbeat doesn't start...

2012-03-12 Thread Lars Ellenberg
. include -o and -p options for rpc.statd, and similar. This really is a fix, as long as you know all services that are started before heartbeat, and can tell them to use specific ports. -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http

Re: [Linux-ha-dev] [PATCH 2/2] nfsserver: Support of multiple IP addresses

2012-02-27 Thread Lars Ellenberg
to #!/bin/bash. Other than that: :-) Cheers, -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http://www.linbit.com ___ Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org http://lists.linux-ha.org/mailman

Re: [Linux-ha-dev] [resource-agents] `findif` could be rewritten in shell (#53)

2012-02-07 Thread Lars Ellenberg
. But I'm not sure if that is feasable. Cheers, -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http://www.linbit.com ___ Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org http://lists.linux

Re: [Linux-ha-dev] [PATCH]Monitor failure and IPv6 support of apache-ra

2012-02-01 Thread Lars Ellenberg
patches as the pull request below: https://github.com/ClusterLabs/resource-agents/pull/54 We can do that anyways, but why? -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http://www.linbit.com

Re: [Linux-ha-dev] [PATCH]Monitor failure and IPv6 support of apache-ra

2012-01-31 Thread Lars Ellenberg
like it may have something to do with html output, that should be fine. -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http://www.linbit.com ___ Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org http

Re: [Linux-ha-dev] [resource-agents] `findif` could be rewritten in shell (#53)

2012-01-31 Thread Lars Ellenberg
: == DEBUG == brd $BRDCAST == return 0 } # try it: set -vx OCF_RESKEY_ip=10.9.9.99 findif OCF_RESKEY_ip=127.1.2.3/27 findif -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http://www.linbit.com

Re: [Linux-ha-dev] new resource agents release

2012-01-29 Thread Lars Ellenberg
/listinfo/linux-ha-dev Home Page: http://linux-ha.org/ -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http://www.linbit.com ___ Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org http://lists.linux-ha.org

Re: [Linux-ha-dev] [resource-agents] exportfs change to support wildcard exports (#45)

2012-01-21 Thread Lars Ellenberg
On Fri, Jan 20, 2012 at 04:18:02AM +0100, Dejan Muhamedagic wrote: Hi Lars, On Tue, Dec 13, 2011 at 10:55:57PM +0100, Lars Ellenberg wrote: Taking this to the mailing list to give it a wider audience. On Tue, Dec 13, 2011 at 09:59:11AM -0800, acqant wrote: --- a/heartbeat/exportfs

Re: [Linux-ha-dev] [PATCH]Monitor failure and IPv6 support of apache-ra

2012-01-17 Thread Lars Ellenberg
in 127.0.0.1 ::1 ; do wget ... ret=$? [ $ret = 0 ] break; # recent wget could [ $ret != 4 ] break, # Network error. But older wget return 1... done Dejan? -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http

Re: [Linux-ha-dev] [PATCH]Monitor failure and IPv6 support of apache-ra

2012-01-14 Thread Lars Ellenberg
-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/ -- : 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

Re: [Linux-ha-dev] [resource-agents] exportfs change to support wildcard exports (#45)

2011-12-13 Thread Lars Ellenberg
works? If necessary, we can pull off the unwrap with sed in a more controlled fashion as well. -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http://www.linbit.com ___ Linux-HA-Dev: Linux-HA-Dev

Re: [Linux-ha-dev] Sometimes not in our membership failure in 2-node cluster

2011-11-17 Thread Lars Ellenberg
for heartbeat, though ntp synced time certainly makes correlating logs much easier. -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http://www.linbit.com ___ Linux-HA-Dev: Linux-HA-Dev@lists.linux

Re: [Linux-ha-dev] ocf_run: sanitize output before logging?

2011-11-16 Thread Lars Ellenberg
output=`echo $output | tr -s ' \r' ' '` (\t and \n have been squeezed already by the leaving off the around $output) -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http://www.linbit.com

Re: [Linux-ha-dev] Sometimes not in our membership failure in 2-node cluster

2011-11-14 Thread Lars Ellenberg
heartbeats before you disable, to half a minute minute after you re-enable the network link. (or just crank up debuggin so high that you even see message dumps in the logs...) -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http://www.linbit.com

Re: [Linux-ha-dev] [Linux-HA] [RfC] Review request for ocf:heartbeat:asterisk (Asterisk OCF RA)

2011-11-10 Thread Lars Ellenberg
=$?; if [ $ex -ne 0 ]; then echo exit code: $ex; fi ) Btw, User $OCF_RESKEY_user doesn't exit there is an s missing. -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http://www.linbit.com ___ Linux-HA-Dev

Re: [Linux-ha-dev] Patch to JBoss RA

2011-11-06 Thread Lars Ellenberg
binary named n. Yes, please, remove these bogus \n. -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http://www.linbit.com ___ Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org http://lists.linux-ha.org/mailman

Re: [Linux-ha-dev] Administrivia

2011-11-02 Thread Lars Ellenberg
On Wed, Nov 02, 2011 at 02:27:16PM +0100, Lars Ellenberg wrote: On Wed, Nov 02, 2011 at 08:39:31AM +0100, Dejan Muhamedagic wrote: Hi, On Mon, Oct 31, 2011 at 04:11:53PM -0500, David Gersic wrote: The list info page at (http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev

Re: [Linux-ha-dev] Problem Heartbeat Changing Time Server

2011-10-27 Thread Lars Ellenberg
decided to freeze the VM for as long as it takes, and it just took too long, like, 50 minutes? -- : 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

Re: [Linux-ha-dev] attrd and repeated changes

2011-10-21 Thread Lars Ellenberg
(probably flush message without pending timer), use current value. Send that result to the cib. -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http://www.linbit.com ___ Linux-HA-Dev: Linux-HA-Dev

Re: [Linux-ha-dev] [PATCH] [glue] Fix compilation with GCC 4.6

2011-10-13 Thread Lars Ellenberg
On Thu, Oct 13, 2011 at 01:01:26PM +0900, nozawat wrote: Hi BTW, does this get rid of the compiler warning as well? The warning did not change. I build in gcc4.6.1 of Fedora15. --- apcsmart.c: In function 'apcsmart_hostlist': apcsmart.c:725:34: error: cast discards

Re: [Linux-ha-dev] Patches for named and pgsql

2011-10-13 Thread Lars Ellenberg
On Thu, Oct 13, 2011 at 06:40:50AM -0600, Serge Dubrouski wrote: Hello - Attached are patches for named and pgsql patches that repace == with = when compare strings. Pushed, as well as a similar fix for LVM. /heartbeat/pgsql +++ b/heartbeat/pgsql @@ -644,7 +644,7 @@ esac

[Linux-ha-dev] STONITH plugin vcenter, please check for regression

2011-09-27 Thread Lars Ellenberg
. Thanks, # HG changeset patch # User Lars Ellenberg l...@linbit.com # Date 1316533223 -7200 # Node ID 508dd314f1291bdbd0e01d17b2c487820a79093b # Parent 45b21f952b0fcf5f7ce2d490dd20a01a9ddc194c Medium: fix stonith/external/vcenter to eval { require VMware::VIRuntime } This should log a better error

Re: [Linux-ha-dev] [PATCH 00 of 10] logd improvements v2

2011-08-24 Thread Lars Ellenberg
... -- : 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. ___ Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org http://lists.linux

Re: [Linux-ha-dev] Dovecot OCF Resource Agent

2011-08-22 Thread Lars Ellenberg
. Lars -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http://www.linbit.com ___ Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http

Re: [Linux-ha-dev] [patch] conntrackd RA

2011-08-18 Thread Lars Ellenberg
/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/ -- : 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

Re: [Linux-ha-dev] [patch] conntrackd RA

2011-08-18 Thread Lars Ellenberg
On Thu, Aug 18, 2011 at 12:58:21PM +0200, Lars Ellenberg wrote: On Thu, Aug 18, 2011 at 12:28:44PM +0200, Albéric de Pertat wrote: Hi, While playing with the conntrackd agent on Debian Squeeze, I found out the method used in the monitor action is not accurate and can sometimes yield

Re: [Linux-ha-dev] [patch] conntrackd RA

2011-08-18 Thread Lars Ellenberg
On Thu, Aug 18, 2011 at 01:24:04PM +0200, Lars Ellenberg wrote: On Thu, Aug 18, 2011 at 12:58:21PM +0200, Lars Ellenberg wrote: On Thu, Aug 18, 2011 at 12:28:44PM +0200, Albéric de Pertat wrote: Hi, While playing with the conntrackd agent on Debian Squeeze, I found out

Re: [Linux-ha-dev] OCF RA for named

2011-08-17 Thread Lars Ellenberg
, then repeat trying all the name servers until a maximum number of retries are made.)* options timeout:2 attempts:5 rotate but yes, it is still a valid use case to have a clustered primary name server, and possibly multiple backups. -- : Lars Ellenberg : LINBIT | Your

Re: [Linux-ha-dev] [PATCH] [glue] Fix compilation with GCC 4.6

2011-06-30 Thread Lars Ellenberg
On Wed, Jun 29, 2011 at 12:55:08PM +0100, Pádraig Brady wrote: On 29/06/11 11:56, Lars Ellenberg wrote: On Tue, Jun 28, 2011 at 01:44:23AM +0100, Pádraig Brady wrote: The attached patch fixes compilation -Werrors with GCC 4.6 cheers, Pádraig. Fix compilation with GCC 4.6

Re: [Linux-ha-dev] [PATCH] [glue] Fix compilation with GCC 4.6

2011-06-29 Thread Lars Ellenberg
)...); ___ Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/ -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http

Re: [Linux-ha-dev] Uniquness OCF Parameters

2011-06-17 Thread Lars Ellenberg
On Thu, Jun 16, 2011 at 03:52:37PM -0600, Alan Robertson wrote: On 06/16/2011 02:51 AM, Lars Ellenberg wrote: On Thu, Jun 16, 2011 at 09:48:20AM +0200, Florian Haas wrote: On 2011-06-16 09:03, Lars Ellenberg wrote: With the current unique=true/false, you cannot express that. Thanks. You

Re: [Linux-ha-dev] Uniquness OCF Parameters

2011-06-16 Thread Lars Ellenberg
form a unique tuple. Enables us to mark multiple tuples, and individual parameters, at the same time. Question is: do we really want or need that. -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http://www.linbit.com DRBD® and LINBIT® are registered

Re: [Linux-ha-dev] Uniquness OCF Parameters

2011-06-16 Thread Lars Ellenberg
On Thu, Jun 16, 2011 at 09:48:20AM +0200, Florian Haas wrote: On 2011-06-16 09:03, Lars Ellenberg wrote: With the current unique=true/false, you cannot express that. Thanks. You learn something every day. :) Sorry that I left off the As you are well aware of, introductionary phrase. ;-) I

[Linux-ha-dev] [Linux-HA] Announcement for Heartbeat 3.0.5

2011-06-16 Thread Lars Ellenberg
requests before reset of seqtrack - create HA_RSCTMP on start, if necessary - improve detection of pacemaker clusters in init script Tarball: http://hg.linux-ha.org/heartbeat-STABLE_3_0/archive/STABLE-3.0.5.tar.bz2 Enjoy! -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA

Re: [Linux-ha-dev] postfix's postfix_validate_all and initial monitor action

2011-06-14 Thread Lars Ellenberg
if started returns $OCF_SUCCESS Lars -- : 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. ___ Linux-HA-Dev

[Linux-ha-dev] RC1 announcement for Heartbeat 3.0.5

2011-06-08 Thread Lars Ellenberg
June 15, when we expect to cut the 3.0.5 final. Enjoy! -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http://www.linbit.com ___ Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org http://lists.linux-ha.org

Re: [Linux-ha-dev] [Linux-HA] Hetzner server stonith agent

2011-05-26 Thread Lars Ellenberg
exit 0 ;; *) maybe: echo 2 Don't know what to do for '$1' or display some usage or URL of wiki page or whatever exit 1 ;; esac Thank you! Lars -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http

Re: [Linux-ha-dev] [Linux-HA] Hetzner server stonith agent

2011-05-26 Thread Lars Ellenberg
On Thu, May 26, 2011 at 10:50:52PM +0200, Lars Ellenberg wrote: case $1 in gethosts) echo $hostname exit 0 ;; on) # Can't really be implemented because Hetzner webservice cannot power on a system exit 1 ;; off) # Can't really be implemented

Re: [Linux-ha-dev] [Linux-HA] Hetzner server stonith agent

2011-05-26 Thread Lars Ellenberg
On Thu, May 26, 2011 at 10:58:44PM +0200, Lars Ellenberg wrote: On Thu, May 26, 2011 at 10:50:52PM +0200, Lars Ellenberg wrote: case $1 in gethosts) echo $hostname exit 0 ;; on) # Can't really be implemented because Hetzner webservice cannot power

Re: [Linux-ha-dev] [Linux-HA] Hetzner server stonith agent

2011-05-24 Thread Lars Ellenberg
can try this: exit $((! $?)) That is going to invert the code. the shell has ! for that. ! is_host_up Coffee? ;-) -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http://www.linbit.com DRBD® and LINBIT® are registered

Re: [Linux-ha-dev] New OCF RA: symlink

2011-05-04 Thread Lars Ellenberg
On Wed, May 04, 2011 at 03:06:27PM +0200, Florian Haas wrote: Coming back to this one, as the discussion seems to have died down. On 2011-04-20 19:00, Lars Ellenberg wrote: Oh, well, thinking about non-roots that may have cibadmin karma, they now can configure a resource that will remove

Re: [Linux-ha-dev] Crowd-sourceing request to review RAs for missing input sanitation/missing quotes/missing escapes etc. [Was: New OCF RA: symlink]

2011-04-22 Thread Lars Ellenberg
On Thu, Apr 21, 2011 at 03:19:10PM +0200, Florian Haas wrote: On 2011-04-20 19:00, Lars Ellenberg wrote: On Wed, Apr 20, 2011 at 06:49:48PM +0200, Lars Ellenberg wrote: [a lot] I know I'm paranoid. Am I too paranoid? Patches welcome. That phrase does work as reply to everything you

Re: [Linux-ha-dev] STONITH plugin for VMware vCenter

2011-04-20 Thread Lars Ellenberg
On Tue, Apr 19, 2011 at 02:21:38PM +0200, Dejan Muhamedagic wrote: Hi, On Fri, Apr 08, 2011 at 11:38:23AM +0200, Nhan Ngo Dinh wrote: Logging added Many thanks. Please see below for a few more comments, mainly about the meta-data. Lars, any more comments on from you? No time right

Re: [Linux-ha-dev] New OCF RA: symlink

2011-04-20 Thread Lars Ellenberg
On Wed, Apr 20, 2011 at 02:37:00PM +0200, Florian Haas wrote: On 2011-04-20 11:41, Dominik Klein wrote: Hi I wrote a new RA that can manage a symlink. Configuration: primitive mylink ocf:heartbeat:symlink \ params link=/tmp/link target=/tmp/target \ op monitor

Re: [Linux-ha-dev] New OCF RA: symlink

2011-04-20 Thread Lars Ellenberg
On Wed, Apr 20, 2011 at 06:49:48PM +0200, Lars Ellenberg wrote: On Wed, Apr 20, 2011 at 02:37:00PM +0200, Florian Haas wrote: On 2011-04-20 11:41, Dominik Klein wrote: Hi I wrote a new RA that can manage a symlink. Configuration: primitive mylink ocf:heartbeat:symlink

Re: [Linux-ha-dev] STONITH plugin for VMware vCenter

2011-04-06 Thread Lars Ellenberg
On Tue, Apr 05, 2011 at 06:27:19PM +0200, Nhan Ngo Dinh wrote: VMware perl library allows to use a .vimrc file in the user home, Ouch. I guess they all use emacs, then. Or notepad ;-) -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http

Re: [Linux-ha-dev] STONITH plugin for VMware vCenter

2011-04-04 Thread Lars Ellenberg
/parameter /parameters }; $ret = 0; } else { $ret = 1; } } exit($ret); Enough for today. Thank you for this contribution. If we now can have a few other Reviewed-by: or Tested-by: signatures, that would be great. -- : Lars Ellenberg : LINBIT

Re: [Linux-ha-dev] Patch : ocf/resource.d/heartbeat/Filesystem: Use /proc/mounts if available since /etc/mtab might be outdated

2011-03-23 Thread Lars Ellenberg
are of course free to symlink /etc/mtab to /proc/mounts, if you feel that this is useful for your setup. -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http://www.linbit.com ___ Linux-HA-Dev: Linux

Re: [Linux-ha-dev] new resource agents repository

2011-02-25 Thread Lars Ellenberg
remote: https://github.com/ClusterLabs/resource-agents remote: git://github.com/ClusterLabs/resource-agents.git remote: remote: abort: prechangegroup.superseeded hook exited with status 1 abort: unexpected response: empty string is that ok with everyone? -- : Lars Ellenberg

Re: [Linux-ha-dev] [PATCH] ocf-tester: redirect error messages to stderr

2011-02-16 Thread Lars Ellenberg
Use lrmadmin/lrmd for tests exit $1 } hm. how about [ x$1 = x0 ] || exec 2 leave echo ... in place as is exit $1 -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http://www.linbit.com DRBD® and LINBIT

Re: [Linux-ha-dev] New master/slave resource agent for DB2 databases in HADR (High Availability Disaster Recovery) mode

2011-02-09 Thread Lars Ellenberg
, and add a please fix your config to the thing that remains in staging/, so we will be able to start a further rewrite with the next merge window. * does not break existing setups * new RAs and rewrites are readily available -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD

Re: [Linux-ha-dev] New master/slave resource agent for DB2 databases in HADR (High Availability Disaster Recovery) mode

2011-02-09 Thread Lars Ellenberg
#.} FIRST_ACTIVE_LOG=${3#.} HADR_PEER_WINDOW=${4#.} /me tries to avoid eval wherever possible ;-) -- : 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

Re: [Linux-ha-dev] New master/slave resource agent for DB2 databases in HADR (High Availability Disaster Recovery) mode

2011-02-09 Thread Lars Ellenberg
. This lunch thing sounds very attractive. Aha, so here's that lunch offer :-) Who is cooking? -- : 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

Re: [Linux-ha-dev] slapd ocf resource agent

2011-02-08 Thread Lars Ellenberg
On Tue, Feb 08, 2011 at 01:10:19PM +0100, Dejan Muhamedagic wrote: On Fri, Feb 04, 2011 at 11:14:59PM +0100, Lars Ellenberg wrote: On Fri, Feb 04, 2011 at 04:16:23PM +0100, jer...@intuxicated.org wrote: Hi, I've updated the resource agent so that it tries to establish an LDAP

Re: [Linux-ha-dev] slapd ocf resource agent

2011-02-04 Thread Lars Ellenberg
, when gathering the list of directories to check. -- : 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. ___ Linux-HA

Re: [Linux-ha-dev] Add real monitoring capabilities to IPaddr2 resource agent

2011-02-04 Thread Lars Ellenberg
address from NIC + return $OCF_NOT_RUNNING +} + Enough for today... Thanks again for this valuable contribution. -- : 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

Re: [Linux-ha-dev] Patch: Add master/slave support to RA Dummy

2011-01-28 Thread Lars Ellenberg
On Fri, Jan 28, 2011 at 10:37:52AM +0100, Holger Teutsch wrote: Hi, for exploring master/slave dynamics in pacemaker I augmented RA Dummy accordingly. Others might be interested as well. There is the Stateful RA for that ;-) -- : Lars Ellenberg : LINBIT | Your Way to High Availability

  1   2   3   >