Re: [Linux-ha-dev] "bashism" in external/rackpdu stonith plugin

2011-01-03 Thread Raoul Bhatia [IPAX]
On 12/29/2010 05:36 PM, Raoul Bhatia [IPAX] wrote: > On 12/29/2010 04:12 PM, Dejan Muhamedagic wrote: >> What seems to me the best is to simply avoid the issue and do: >> >> local names >> names=`echo "$snmp_result" | cut -f2 -d'"' | tr ' ' '_' | tr '\012' ' '` >> >> Does that work for da

Re: [Linux-ha-dev] ip rule/ip route and ocf:heartbeat:Route

2011-01-03 Thread Raoul Bhatia [IPAX]
On 12/28/2010 07:00 PM, Dejan Muhamedagic wrote: >>> what i'm thinking about: >>> >>> 1. issue "/sbin/ip rule add from a.b.c.0/24 table 12" upon >>>reboot/firewall setup (my current solution); or > > Probably the easiest way right now. Arguably this belongs to the > firewall setup. If we need

Re: [Linux-ha-dev] nginx resource agent

2011-01-03 Thread Keisuke MORI
Hi Alan, 2011/1/2 Alan Robertson : > On 12/14/2010 02:42 AM, Dejan Muhamedagic wrote: >>>    # >>>    # I'm not convinced this is a wonderful idea (AlanR) >>>    # >>>    for sig in SIGTERM SIGHUP SIGKILL >>>    do >>>      if >>>        pgrep -f "$NGINXD.*$CONFIGFILE">/dev/null >>>      then >>>