Re: [Linux-HA] pacemaker+drbd promotion delay

2012-04-12 Thread Lars Ellenberg
On Wed, Apr 11, 2012 at 08:22:59AM +1000, Andrew Beekhof wrote: It looks like the drbd RA is calling crm_master during the monitor action. That wouldn't seem like a good idea as the value isn't counted until the resource is started and if the transition is interrupted (as it is here) then the

Re: [Linux-HA] Problem with stonith RA using external/ipmi over lan or lanplus interface

2012-04-12 Thread emmanuel segura
If i rember well, for use Ilo 3 card you sould use the cluster agent ipmilan Il giorno 11 aprile 2012 23:00, Pham, Tom tom.p...@viasat.com ha scritto: Hi everyone, I try to test a 2 nodes cluster with stonith resource using external/ipmi ( I tried external/riloe first but it does not seem

Re: [Linux-HA] ocf:heartbeat:apache resource agent and timeouts

2012-04-12 Thread Lars Ellenberg
On Sun, Apr 08, 2012 at 03:03:58PM +0200, David Gubler wrote: On 05.04.2012 17:14, Dejan Muhamedagic wrote: Hmm, the process running the monitor operation should be removed (killed) by lrmd on timeout. If that doesn't happen, then you just hit a jackpot bug! Ok, that's crucial

Re: [Linux-HA] ocf:heartbeat:apache resource agent and timeouts

2012-04-12 Thread Lars Ellenberg
On Sun, Apr 08, 2012 at 03:16:17PM +0200, David Gubler wrote: Hi Lars, On 05.04.2012 18:53, Lars Ellenberg wrote: Uhm, invalid test case. rather try: iptables -I INPUT -p tcp --dport 80 -i lo -j REJECT or even iptables -I INPUT -p tcp --dport 80 -i lo -j REJECT --reject-with

Re: [Linux-HA] ocf:heartbeat:apache resource agent and timeouts

2012-04-12 Thread Lars Ellenberg
On Thu, Apr 12, 2012 at 12:06:54PM +0200, Lars Ellenberg wrote: On Sun, Apr 08, 2012 at 03:16:17PM +0200, David Gubler wrote: Hi Lars, On 05.04.2012 18:53, Lars Ellenberg wrote: Uhm, invalid test case. rather try: iptables -I INPUT -p tcp --dport 80 -i lo -j REJECT or even

Re: [Linux-HA] Problem with stonith RA using external/ipmi over lan or lanplus interface

2012-04-12 Thread Nikita Michalko
Hi, did you properly configure BOTH ipmi with ipmitool? And ipmi started? /etc/init.d/ipmi start What says the command: ipmitool -I lan -H IP_OF_OTHER_NODE -U SOMEUSER -A MD5 -P SOMEPASSWORD power status HTH Nikita Michalko Am Mittwoch, 11. April 2012 23:00:41 schrieb Pham, Tom: Hi

[Linux-HA] problem with pind

2012-04-12 Thread Trujillo Carmona, Antonio
I'm try to configure a cluster and I have problem with pingd. my config is crm(live)configure# show node proxy-00 node proxy-01 primitive ip-segura ocf:heartbeat:IPaddr2 \ params ip=10.104.16.123 nic=lan cidr_netmask=19 \ op monitor interval=10 \ meta target-role=Started

[Linux-HA] grep -zqs in ocf:heartbeat:exportfs

2012-04-12 Thread Ulrich Windl
Hi, in ocf:heartbeat:exportfs (as found in SLES11 SP1) there is a problem with grep -zqs: The -z is expected to fix the problem where exportfs splits a lenghty name into two lines. Unfortunately exportfs does not output any binary zeros that grep -z is looking for. Thus effectively -z makes

Re: [Linux-HA] grep -zqs in ocf:heartbeat:exportfs

2012-04-12 Thread Lars Ellenberg
On Thu, Apr 12, 2012 at 03:20:08PM +0200, Ulrich Windl wrote: Hi, in ocf:heartbeat:exportfs (as found in SLES11 SP1) there is a problem with grep -zqs: The -z is expected to fix the problem where exportfs splits a lenghty name into two lines. Unfortunately exportfs does not output any

Re: [Linux-HA] grep -zqs in ocf:heartbeat:exportfs

2012-04-12 Thread Lars Ellenberg
On Thu, Apr 12, 2012 at 03:30:06PM +0200, Lars Ellenberg wrote: On Thu, Apr 12, 2012 at 03:20:08PM +0200, Ulrich Windl wrote: Hi, in ocf:heartbeat:exportfs (as found in SLES11 SP1) there is a problem with grep -zqs: The -z is expected to fix the problem where exportfs splits a lenghty

[Linux-HA] Problem with stonith RA using external/ipmi over lan or lanplus interface

2012-04-12 Thread Pham, Tom
-Original Message- From: linux-ha-boun...@lists.linux-ha.org [mailto:linux-ha-boun...@lists.linux-ha.org] On Behalf Of linux-ha-requ...@lists.linux-ha.org Sent: Thursday, April 12, 2012 4:04 AM To: linux-ha@lists.linux-ha.org Subject: Linux-HA Digest, Vol 101, Issue 11 Send Linux-HA

Re: [Linux-HA] pacemaker+drbd promotion delay

2012-04-12 Thread Andrew Beekhof
On Thu, Apr 12, 2012 at 5:26 PM, Lars Ellenberg lars.ellenb...@linbit.com wrote: On Wed, Apr 11, 2012 at 08:22:59AM +1000, Andrew Beekhof wrote: It looks like the drbd RA is calling crm_master during the monitor action. That wouldn't seem like a good idea as the value isn't counted until the

Re: [Linux-HA] pacemaker+drbd promotion delay

2012-04-12 Thread Andrew Beekhof
On Fri, Apr 13, 2012 at 11:47 AM, Andrew Beekhof and...@beekhof.net wrote: On Thu, Apr 12, 2012 at 5:26 PM, Lars Ellenberg lars.ellenb...@linbit.com wrote: On Wed, Apr 11, 2012 at 08:22:59AM +1000, Andrew Beekhof wrote: It looks like the drbd RA is calling crm_master during the monitor action.

[Linux-HA] IPaddr stop is broken

2012-04-12 Thread Andrew Beekhof
Looks like someone forgot to strip off the trailing colon from the ifname +++ find_interface_generic 192.168.122.110 +++ ipaddr=192.168.122.110 +++ read ifname linkstuff +++ ifconfig +++ : Read gave us ifname = eth0: +++ read inet addr junk +++ : Read gave us inet = inet addr = 192.168.122.103