Re: [Linux-HA] Heartbeat question about multiple services

2012-05-09 Thread David Gersic
On 4/20/2012 at 05:42 AM, sgm sgm...@yahoo.com.cn wrote: Hi, I have a question about heartbeat, if I have three services, apache, mysql and sendmail,if apache is down, heartbeat will switch all the services to the standby server, right? Maybe. It depends on how you have built and

Re: [Linux-HA] Active-passive cluster, best practice question

2012-02-08 Thread David Gersic
On 2/8/2012 at 01:46 AM, Jonathan Schaeffer jonathan.schaef...@univ-brest.fr wrote: I wanted to know if it is good practice (or common enough) to build a filesystem containing configuration data for the clustered services. Yes. Pretty much all of my clustered resource groups contain a

Re: [Linux-HA] Active-passive cluster, best practice question

2012-02-08 Thread David Gersic
On 2/8/2012 at 03:18 AM, Florian Haas flor...@hastexo.com wrote: On Wed, Feb 8, 2012 at 8:46 AM, Jonathan Schaeffer jonathan.schaef...@univ-brest.fr wrote: Hi, I'm designing a cluster with N nodes plugged to a SAN device. There will be no shared storage on the cluster. That seems like

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

2012-01-31 Thread David Gersic
A minor suggestion on the tomcat RA. It uses wget -O ... to verify that tomcat is running. If the URL is an https://... type, and wget can't verify the certificate being used by the server, it errors out. Using wget --no-check-certificate -O ... would be better, given that this is only being

[Linux-HA] RA manipulation of iptables firewall?

2012-01-27 Thread David Gersic
I have an application that must simultaneously run as a non-root user and listen on a port below 1024. I can do this, by hand, by making some iptables rules forwarding the traffic from the low port on a public ip address to a high port on a private ip address. Now I'm trying to find a way to

Re: [Linux-HA] RA manipulation of iptables firewall?

2012-01-27 Thread David Gersic
On 1/27/2012 at 02:37 PM, Dimitri Maziuk dmaz...@bmrb.wisc.edu wrote: On 01/27/2012 02:22 PM, David Gersic wrote: I have an application that must simultaneously run as a non-root user and listen on a port below 1024. I can do this, by hand, by making some iptables rules forwarding

Re: [Linux-HA] RA manipulation of iptables firewall?

2012-01-27 Thread David Gersic
On 1/27/2012 at 03:18 PM, Dimitri Maziuk dmaz...@bmrb.wisc.edu wrote: On 01/27/2012 02:48 PM, David Gersic wrote: On 1/27/2012 at 02:37 PM, Dimitri Maziuk dmaz...@bmrb.wisc.edu wrote: Why not make it static? Yeah, I could, but I didn't want to. I wanted to make it part of the resource

Re: [Linux-HA] a simple question

2011-11-28 Thread David Gersic
What heartbeat version are you running? With HA, there is no master nor slave, there are peers. You may think of them however you like, and may build your preferences in to the configuration, but they are still peer nodes in the HA cluster. You may find more by reading up on the need to

Re: [Linux-ha-dev] Patch to JBoss RA

2011-11-04 Thread David Gersic
On 11/3/2011 at 11:20 AM, Dejan Muhamedagic de...@suse.de wrote: Hunks 2 and 3 fail, don't know if it's due to space being mangled or the jboss RA version you worked on is old: I started with the newest JBoss RA I could find, but that was a while ago. Where can I get the current one?

[Linux-ha-dev] Patch to JBoss RA

2011-11-02 Thread David Gersic
I've added an option to the JBoss RA to allow specifying the JVM options. I needed this to be able to increase the memory and stack size from the JVM's defaults. --- jboss-original 2011-05-02 14:08:37.0 -0500 +++ jboss 2011-05-09 09:47:08.0 -0500 @@ -33,6 +33,7 @@

[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] custom jboss init script on pacemaker

2011-08-31 Thread David Gersic
Note: I know that I'm following up on an old list message here... On 11/30/2010 at 04:55 AM, Michael Kromer michael.kro...@millenux.com wrote: right, for reference: http://www.linux-ha.org/doc/re-ra-jboss.html Which is now moved to:

Re: [Linux-HA] Solution for Auto-Mount/Unmount an Ext3 Filesystem

2010-05-29 Thread David Gersic
On 5/29/2010 at 04:54 AM, Mozafar Roshany mzfrosh...@gmail.com wrote: I've a mail system with two active/passive nodes using Heartbeat; these two servers use an ext3 partition on SAN storage for mailboxes. I want that partition always be mounted on the active node. I mean when node switch

Re: [Linux-HA] Help needed with JBoss (OCF) and Heartbeat2

2010-05-14 Thread David Gersic
On 5/11/2010 at 04:36 AM, Dejan Muhamedagic deja...@fastmail.fm wrote: It doesn't look like you're missing anything. If the lrmd considers the operation timed out in spite of a different timeout specified for the operation, then there seems to be a bug. Though I think that timeouts did work

Re: [Linux-HA] Help needed with JBoss (OCF) and Heartbeat2

2010-05-11 Thread David Gersic
On 5/11/2010 at 04:36 AM, Dejan Muhamedagic deja...@fastmail.fm wrote: Linux sles10-3 2.6.16.60-0.34-default #1 Fri Jan 16 14:59:01 UTC 2009 i686 i686 i386 GNU/Linux heartbeat-2.1.4-0.11 Did you consider upgrading to SLE11? Sigh. Yes. I'm working on getting there, but first I need

[Linux-HA] Help needed with JBoss (OCF) and Heartbeat2

2010-05-10 Thread David Gersic
I'm not entirely new to Heartbeat2, but I've run in to something here that I have not been able to figure out. What I'm trying to do is create a JBoss resource, as part of a resource group (disk, ip, mysql, jboss), for an application. I have the disk, ip, and MySQL resources working, it's just