Re: [Linux-HA] Clarify Apache failover please?

2010-04-09 Thread Andrew Beekhof
On Thu, Apr 8, 2010 at 9:43 PM, Simpson, John R john_simp...@reyrey.com wrote: I believe what you're looking for is migration-threshold. In the following Pacemaker snippet if Apache is stopped, if the website http://localhost/index.html doesn't respond, or if the HTML body doesn't contain

Re: [Linux-HA] Clarify Apache failover please?

2010-04-08 Thread mike
So thanks to Jakob, I confirmed that the init script is LSB compliant. So my question is: Does anyone have an LSB Apache cluster set up where if they kill httpd and leave it down (by editing out the start portion of the script) that a failover is initiated? I've gone through plenty of web

Re: [Linux-HA] Clarify Apache failover please?

2010-04-08 Thread Simpson, John R
To: General Linux-HA mailing list Subject: Re: [Linux-HA] Clarify Apache failover please? So thanks to Jakob, I confirmed that the init script is LSB compliant. So my question is: Does anyone have an LSB Apache cluster set up where if they kill httpd and leave it down (by editing out the start

[Linux-HA] Clarify Apache failover please?

2010-04-07 Thread mike
I think I must be missing something somewhere. I have configured an Apache and VIP failover EXACTLY as per the instructions on this page: http://www.clusterlabs.org/wiki/Example_configurations#Failover_IP_.2B_One_service Specifically I did this: Failover IP + One service Here we assume

Re: [Linux-HA] Clarify Apache failover please?

2010-04-07 Thread Jakob Curdes
mike schrieb: I think I must be missing something somewhere. I have configured an Apache and VIP failover EXACTLY as per the instructions on this page: However, as a test I stopped httpd on the primary node, removed /etc/init.d/httpd so that it would not restart the service. In my very

Re: [Linux-HA] Clarify Apache failover please?

2010-04-07 Thread mike
Thank you Jakob, I did as you suggested (good idea btw) and what I saw was that LinuxHA continually tried to restart it on the primary node. Is there a setting that I can say After X number of times trying to restart, fail over ? Jakob Curdes wrote: mike schrieb: I think I must be

Re: [Linux-HA] Clarify Apache failover please?

2010-04-07 Thread Jakob Curdes
mike schrieb: Thank you Jakob, I did as you suggested (good idea btw) and what I saw was that LinuxHA continually tried to restart it on the primary node. Is there a setting that I can say After X number of times trying to restart, fail over ? I think you need to read further down that