Re: [Linux-ha-dev] wrong variable name in pgsql

2011-10-31 Thread Dejan Muhamedagic
Hi, On Thu, Oct 27, 2011 at 11:08:07PM +0900, Fujii Masao wrote: Hi, In get_pgsql_param() of pgsql, the local variable config_file is defined, but not used. OTOH, the variable config is used but not defined as a local variable. Obviously we should correct the variable name from config_file

Re: [Linux-ha-dev] Patch for the tomcat old version

2011-10-31 Thread Dejan Muhamedagic
Hi, On Tue, Oct 25, 2011 at 11:41:01AM +0900, nozawat wrote: Hi This patch is a patch for the malfunction that occurred at the time of tomat6.0.29 use. Because Tomcat does not start this when PID file is left, I delete the PID file. Handling of the PID file is like the transition

Re: [Linux-ha-dev] change of process check in tomcat-ra

2011-10-31 Thread Dejan Muhamedagic
Hi, On Thu, Oct 27, 2011 at 11:36:10AM +0900, nozawat wrote: Hi I changed the method of the process check in tomcat-ra. SEARCH_STR does not function when I set tomcat parameter in catalina.sh. This is the same one like the other to remove the pid file. Wrong patch attached? Thanks,

[Linux-ha-dev] Administrivia

2011-10-31 Thread David Gersic
The list info page at (http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev) and the welcome email message both have links to (http://linux-ha.org/HATodo.html). Following this leads to a page that does not contain any actual to do list content. Is there a FAQ for this list? I have a patch

Re: [Linux-ha-dev] change of process check in tomcat-ra

2011-10-31 Thread nozawat
Hi Dejan Sorry,I got a wrong attached file. I send a right file. Regards, Tomo 2011/11/1 Dejan Muhamedagic de...@suse.de: Hi, On Thu, Oct 27, 2011 at 11:36:10AM +0900, nozawat wrote: Hi  I changed the method of the process check in tomcat-ra.  SEARCH_STR does not function when I set

Re: [Linux-HA] IPaddr / ifconfig deprecated

2011-10-31 Thread alain . moulle
Hi Lars, yes, arping is working fine even on IPoIB. I've tested it. Regards Alain De :Lars Marowsky-Bree l...@suse.com A : General Linux-HA mailing list linux-ha@lists.linux-ha.org Date : 29/10/2011 00:12 Objet : Re: [Linux-HA] IPaddr / ifconfig deprecated Envoyé par :

Re: [Linux-HA] PCMK + OCFS2

2011-10-31 Thread Andrew Beekhof
On Thu, Oct 27, 2011 at 12:19 AM, alain.mou...@bull.net wrote: And last thing I forgot to write : as far as I remind, the problem with controld.pcml/ocfs2.pmck and Pacemaker was not on the pacemaker side but in the controld.pcml/ocfs2.pmck stack . You shouldn't need the .pcmk controld

Re: [Linux-HA] [Pacemaker] pcmk + corosync + cman for dlm support?

2011-10-31 Thread Andrew Beekhof
On Sat, Oct 29, 2011 at 3:09 AM, Nick Khamis sym...@gmail.com wrote: Hello Gents, Thank you so much for your response. That being said, what are the plans once the next release of CMAN does not include PCMK and DLM related implementation? From what I can see, libdlm will be separated from

Re: [Linux-HA] Error with pacemaker + cman

2011-10-31 Thread Andrew Beekhof
On Sat, Oct 29, 2011 at 4:57 AM, Nick Khamis sym...@gmail.com wrote: Hello Everyone, I am trying to setup and active/active using: Pacemaker 1.1.6 Cluster3.1.7 When trying to check the cluster using ccs_config_validate, I am recieving the following error:

Re: [Linux-HA] [corosync] crm not connecting with cman/corosync instance

2011-10-31 Thread Andrew Beekhof
On Sat, Oct 29, 2011 at 7:02 AM, Nick Khamis sym...@gmail.com wrote: Hello Everyone, I am trying to configure an active/active cluster. Built from source are: Pacemaker 1.1.6 Cluster3 Corosync 1.4.2 Starting corosync instead of cman, crm works, however when starting cman, I am not able

Re: [Linux-HA] SANs falling over, don't know why!

2011-10-31 Thread James Smith
I think I have discovered the problem. The secondary server, has a degraded array. So it's not in an optimal state. This certainly explains the odd IO drop outs I was encountering, where disk busy would be 100% but with no read or write activity for 20 seconds. But, it is a bit odd slow IO

Re: [Linux-HA] SANs falling over, don't know why!

2011-10-31 Thread Florian Haas
On 2011-10-31 10:26, James Smith wrote: I think I have discovered the problem. The secondary server, has a degraded array. So it's not in an optimal state. That the array is degraded should have no impact on performance. If it's degraded _and rebuilding_, DRBD and the resync process compete

Re: [Linux-HA] SANs falling over, don't know why!

2011-10-31 Thread Andreas Kurz
On 10/31/2011 10:26 AM, James Smith wrote: I think I have discovered the problem. The secondary server, has a degraded array. So it's not in an optimal state. This certainly explains the odd IO drop outs I was encountering, where disk busy would be 100% but with no read or write activity

[Linux-HA] Does ANYTHING Work on RHEL6?

2011-10-31 Thread Robinson, Eric
I can't get a cluster up on RHEL6. First I tried pacemaker+corosync, but corosync complains... Could not get the ring status, the error is: 6 ..and I cannot connect to the cluster. So then I tried pacemaker+heartbeat, only to learn that pacemaker no longer supports the heartbeat cluster

Re: [Linux-HA] Does ANYTHING Work on RHEL6?

2011-10-31 Thread Florian Haas
On 2011-10-31 11:56, Robinson, Eric wrote: I can't get a cluster up on RHEL6. First I tried pacemaker+corosync, but corosync complains... Could not get the ring status, the error is: 6 Error 6 is trying again, and it usually means your bindnetaddr is misconfigured. Sadly my patch

Re: [Linux-HA] Does ANYTHING Work on RHEL6?

2011-10-31 Thread Andrew Beekhof
On Mon, Oct 31, 2011 at 9:56 PM, Robinson, Eric eric.robin...@psmnv.com wrote: I can't get a cluster up on RHEL6. First I tried pacemaker+corosync, but corosync complains...    Could not get the ring status, the error is: 6 ..and I cannot connect to the cluster. So then I tried

Re: [Linux-HA] what if brain split happens

2011-10-31 Thread Lars Ellenberg
On Fri, Oct 28, 2011 at 09:29:28AM -0500, Dimitri Maziuk wrote: On 10/28/2011 6:18 AM, Lars Ellenberg wrote: On Tue, Oct 25, 2011 at 02:29:55PM -0500, Dimitri Maziuk wrote: I guess he's confused or trolling because in v1 there's no way heartbeat can restart itself. No, absolutely not.

Re: [Linux-HA] Does ANYTHING Work on RHEL6?

2011-10-31 Thread mike
On 11-10-31 07:56 AM, Robinson, Eric wrote: I can't get a cluster up on RHEL6. First I tried pacemaker+corosync, but corosync complains... Could not get the ring status, the error is: 6 ..and I cannot connect to the cluster. So then I tried pacemaker+heartbeat, only to learn that

Re: [Linux-HA] what if brain split happens

2011-10-31 Thread Dimitri Maziuk
On 10/31/2011 7:14 AM, Lars Ellenberg wrote: Yes, basically that is what happens: it kills everything it spawned, makes sure it sleeps for at least deadtime, then re-execs the itself as new master control process. Re-exec itself? Cute. I never seen that -- but that again, the only time I

Re: [Linux-HA] [corosync] crm not connecting with cman/corosync instance

2011-10-31 Thread Nick Khamis
Hello Andrew, Thank you so much for your response. Just so I am entirely clear on the bigger flow of events. In an active/passive corosync automatically starts pacemaker? This is working fine, I have loaded the configuration using crm configure... In an active/active we should start pacemaker

[Linux-HA] Trouble with active/active

2011-10-31 Thread Nick Khamis
Hello Everyone, I have the following built from source: Corosync 1.4.2 Pacemaker 1.1.6 Cman 3.1.7 Corosync, with service.d/pcmk works fine pcmk crm is started etc.. I have an existing cib configuration as shown bellow, and the RAs load fine. corosync.conf totem { version: 2

Re: [Linux-HA] Does ANYTHING Work on RHEL6?

2011-10-31 Thread Robinson, Eric
Florian's suggestion sounds like a good start for you. After that, try firewalls and selinux. Well, sheesh, it was selinux. Write that one down, folks. Selinux causes error 6 problem when initializing the ring. And this is all because the RHEL 6 installer does not ask whether selinux should

Re: [Linux-HA] [corosync] crm not connecting with cman/corosync instance

2011-10-31 Thread Nick Khamis
I included /etc/corosync/service.d/pcmk: service { # Load the Pacemaker Cluster Resource Manager name: pacemaker ver: 1 } /etc/init.d/cman start Starting cluster: Checking if cluster has been disabled at boot... [ OK ] Checking Network Manager... [ OK ]