Re: [Linux-ha-dev] Review request: fixes to IPaddr2

2011-11-22 Thread Florian Haas
On 11/21/11 16:51, Dejan Muhamedagic wrote: Hi Florian, On Fri, Nov 11, 2011 at 10:28:00AM +0100, Florian Haas wrote: Dejan/Lars, I noticed I've had a bunch of minor changes to IPaddr2 sitting in a branch since July, and never got around to asking for a review or merging them. I've just

[Linux-ha-dev] Patches to Virtualdomain RA

2011-11-22 Thread Matthew Richardson
I've recently discovered some issues with the VirtualDomain RA if libvitd isn't running - the script makes several calls to virsh, all of which will fail if the daemon isn't listening. This can be a common occurrence during probes, depending on how/when libvirtd is started in pacemaker. I've

[Linux-ha-dev] [PATCH] ldirectord: Remove dependence on shellfuncs from /etc/init.d/ldirectord

2011-11-22 Thread TATEISHI Katsuyuki
Hi All, Please consider applying the attached patch to remove dependence on shellfuncs from /etc/init.d/ldirectord. It allows ldirectord-RPM users to run /etc/init.d/ldirectord without resource-agents RPM installed. It is quite harmless, because /etc/init.d/ldirectord does not use any functions

Re: [Linux-ha-dev] [PATCH] ldirectord: Remove dependence on shellfuncs from /etc/init.d/ldirectord

2011-11-22 Thread Simon Horman
On Wed, Nov 23, 2011 at 04:10:46PM +0900, TATEISHI Katsuyuki wrote: Hi All, Please consider applying the attached patch to remove dependence on shellfuncs from /etc/init.d/ldirectord. It allows ldirectord-RPM users to run /etc/init.d/ldirectord without resource-agents RPM installed. It

[Linux-HA] Antw: Re: ocf_heartbeat:Xinetd: bad status report

2011-11-22 Thread Ulrich Windl
Dejan Muhamedagic deja...@fastmail.fm schrieb am 21.11.2011 um 16:11 in Nachricht 2021151134.GB3600@squib: [...] This RA could certainly be improved. Patches welcome! OK, I tried a little, removing a lot. IMHO the new version is better than the previous one, but scores may vary. Anyway,

Re: [Linux-HA] Antw: What about start-delay attribute status ?

2011-11-22 Thread Dejan Muhamedagic
Hi, On Tue, Nov 22, 2011 at 08:17:28AM +0100, alain.mou...@bull.net wrote: Hi By the way, is there a description somewhere of parameters from /etc/sysconfig/pacemaker ? To the best of my knowledge, there is only LRMD_MAX_CHILDREN. Thanks, Dejan Thanks Alain De :Dejan

Re: [Linux-HA] Antw: What about start-delay attribute status ?

2011-11-22 Thread alain . moulle
Hi, on RHEL6, I have : cat /etc/sysconfig/pacemaker # Variables for running child daemons under valgrind and/or checking for memory problems #export G_SLICE=always-malloc #export MALLOC_PERTURB_=221 # or 0 #export MALLOC_CHECK_=3 # or 0,1,2 #export HA_valgrind_enabled=yes #export

Re: [Linux-HA] Antw: What about start-delay attribute status ?

2011-11-22 Thread alain . moulle
Hi again, that's strange because I did tests around this parameter LRMD_MAX_CHILDREN, with 24 Dummy resources, therefore resources which do quite nothing and so Pacemaker should start all resources at quite the same time one after the other. Then monitor op should also be quite at the same

Re: [Linux-HA] Antw: What about start-delay attribute status ?

2011-11-22 Thread Dejan Muhamedagic
On Tue, Nov 22, 2011 at 04:44:50PM +0100, alain.mou...@bull.net wrote: Hi again, that's strange because I did tests around this parameter LRMD_MAX_CHILDREN, with 24 Dummy resources, therefore resources which do quite nothing and so Pacemaker should start all resources at quite the same

Re: [Linux-HA] Antw: What about start-delay attribute status ?

2011-11-22 Thread Dejan Muhamedagic
On Tue, Nov 22, 2011 at 01:36:18PM +0100, alain.mou...@bull.net wrote: Hi, on RHEL6, I have : cat /etc/sysconfig/pacemaker # Variables for running child daemons under valgrind and/or checking for memory problems #export G_SLICE=always-malloc #export MALLOC_PERTURB_=221 # or 0 #export

[Linux-HA] The master server of HA system suddently roll over

2011-11-22 Thread tyoyou
Dear sirs: This is Yang. I set up 2 database server using heartbeat (heartbeat-2.1.3-3.el5.centos.rpm). They are running for over 40 days very well. But suddently master Datebase server roll over to slave Database server. When I check the master server, everything is good. and I copy the

[Linux-HA] failover questions

2011-11-22 Thread Willi Fehler
Hi, I'm trying to setup a database cluster with MySQL/Redis. My problem is, the failover is working if I shutdown/reboot one node. If I shutdown the network on one node(ifdown eth0 or ifdown eth1), the failover isn't working. If I shutdown eth0 and eth1 the failover is working but if I reboot

Re: [Linux-HA] failover questions

2011-11-22 Thread Florian Haas
On 11/22/11 20:18, Willi Fehler wrote: Hi, I'm trying to setup a database cluster with MySQL/Redis. My problem is, the failover is working if I shutdown/reboot one node. I take it that _that_ part isn't really a problem. :) If I shutdown the network on one node(ifdown eth0 or ifdown

Re: [Linux-HA] The master server of HA system suddently roll over

2011-11-22 Thread Andreas Kurz
On 11/22/2011 01:27 AM, tyo...@globalchoice.us wrote: Dear sirs: This is Yang. I set up 2 database server using heartbeat (heartbeat-2.1.3-3.el5.centos.rpm). They are running for over 40 days Please consider an update to Corosync Pacemaker ... very well. But suddently master Datebase

Re: [Linux-HA] The master server of HA system suddently roll over

2011-11-22 Thread Andrew Beekhof
On Wed, Nov 23, 2011 at 8:31 AM, Andreas Kurz andr...@hastexo.com wrote: On 11/22/2011 01:27 AM, tyo...@globalchoice.us wrote: Dear sirs:     This is Yang. I set up 2 database server using heartbeat (heartbeat-2.1.3-3.el5.centos.rpm). They are running for over 40 days /me falls over

Re: [Linux-HA] Antw: What about start-delay attribute status ?

2011-11-22 Thread Andrew Beekhof
On Wed, Nov 23, 2011 at 4:05 AM, Dejan Muhamedagic deja...@fastmail.fm wrote: On Tue, Nov 22, 2011 at 04:44:50PM +0100, alain.mou...@bull.net wrote: Hi again, that's strange because I did tests around this parameter LRMD_MAX_CHILDREN, with 24 Dummy resources, therefore resources which do

Re: [Linux-HA] Antw: What about start-delay attribute status ?

2011-11-22 Thread Andrew Beekhof
On Tue, Nov 22, 2011 at 11:36 PM, alain.mou...@bull.net wrote: Hi, on RHEL6, I have :  cat /etc/sysconfig/pacemaker # Variables for running child daemons under valgrind and/or checking for memory problems #export G_SLICE=always-malloc #export MALLOC_PERTURB_=221 # or 0 #export

Re: [Linux-HA] failover questions

2011-11-22 Thread Willi Fehler
Am 22.11.11 20:35, schrieb Florian Haas: On 11/22/11 20:18, Willi Fehler wrote: Hi, I'm trying to setup a database cluster with MySQL/Redis. My problem is, the failover is working if I shutdown/reboot one node. I take it that _that_ part isn't really a problem. :) If I shutdown the network

Re: [Linux-HA] failover questions

2011-11-22 Thread Florian Haas
On 11/23/11 07:51, Willi Fehler wrote: Hi Florian, thank you so much for your feedback. My goal is, if the cluster communication eth0 get's failed on the active node, a failover should be triggered by pacemaker, because if eth0 is down, the application can't talk to the cluster.