[Linux-HA] Problem with starting Apache and MySQL

Malte Geierhos malte at snapscouts.de
Fri Oct 16 06:36:09 MDT 2009


Hi
> Ok, If I have stopped heartbeat resource on my aps-3 which was as DC.
> All resources were successfully migrated on aps-1.
> Can I think that all work ok.
> Or may be I should perform additional testing?
>
> And can you please explain to me why it was not working with ‘ocf’ resource?
>
> Thanks in advance.
>    
Do you have mod_status enabled or not ?
Do you have wget installed on your server ?

One of the differences between the lsb script and ocf agent for apache 
i.e. is,
that most init scripts simply look if apache is a running process on 
your box
while the ocf:heartbeat:apache agent tries to download the server-status 
page via wget
and validate it (got 200 ok or 404 / 500  whatever ) .
So a monitor action on a ocf agent gets much more into depth then status 
operation from
init scripts.

This will cause problems if your installation doesn't (yet) meet the 
requirements for running
apache via its ocf agent.

>
> Stratos Zolotas wrote:
>    
>> Maybe someone knows better, but i don't think is a good idea to manually
>> start or stop the services controlled by the cluster manager.
>>
>> On Fri, Oct 16, 2009 at 2:22 PM, dembi<dembi at ukr.net>  wrote:
>>
>>      



More information about the Linux-HA mailing list