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

2011-04-21 Thread Dominik Klein
Am I too paranoid? I don't think you are. Some non-root pratically being able to remove any file is certainly a valid concern. Thing is: I needed an RA that configured a cronjob. Florian suggested writing the symlink RA instead, that could manage symlink. Apparently there was an IRC discussion

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

2011-04-21 Thread Nhan Ngo Dinh
Hi, On Tue, 2011-04-19 at 14:21 +0200, Dejan Muhamedagic wrote: longdesc lang=en The VMware vCenter address (default: localhost) The defaults should go into the content element (see other stonith plugins, e.g. external/ipmi). These defaults come from the vSphere Perl SDK, they are not

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

2011-04-21 Thread Florian Haas
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. Cheers, Florian signature.asc Description: OpenPGP digital signature

[Linux-HA] Pacemaker installation errors

2011-04-21 Thread Amit Jathar
Hi , I tried to install pacemaker. While installing 'Resource Agents', I run make command and got attached errors. I tried twice (did make clean also) and on both occasions, error was bit different (as attached). The steps I was performing was :- wget -O resource-agents.tar.bz2

[Linux-HA] Comparison opterators in location constraints

2011-04-21 Thread Stallmann, Andreas
Hi! I tried to compare a value returned by ping(d) to a value given in a location contrain: location only-if-connected nag_grp \ rule $id=only-if-connected-rule -inf: not_defined pingd or pingd lte 2000 I thought, lte stands for [l]ess [t]h[e]n. That's obviously wrong, because when I

Re: [Linux-HA] Comparison opterators in location constraints

2011-04-21 Thread Dejan Muhamedagic
Hi, On Thu, Apr 21, 2011 at 01:38:01PM +, Stallmann, Andreas wrote: Hi! I tried to compare a value returned by ping(d) to a value given in a location contrain: location only-if-connected nag_grp \ rule $id=only-if-connected-rule -inf: not_defined pingd or pingd lte 2000

[Linux-HA] pacemaker not reconnecting

2011-04-21 Thread Jean-Baptiste GIRARD
Hi, I have a two node cluster with pacemaker (heartbeat). Regularly after a cluster partition there is a problem with the membership. Both nodes see the other one offline and you can see the following log: Apr 20 14:13:18 ACSDUPLI-M heartbeat: [13151]: CRIT: Cluster node acsdupli-s

[Linux-HA] JAVA sun.jnu.encoding ignored when process started from BP. Not when started manually

2011-04-21 Thread Mike Toler
I have a java process that I am started by Linux HA. I have create an OCF script called BillingProcessor. That script calls an outside script (pm.pl) which starts the process. The JAVA command is shown here. Note, I am including the -Dsun.jnu.encoding=UTF-8 directive. java