[Pacemaker] Pacemaker and Apache recourse configuration problem

Gianluca Cecchi gianluca.cecchi at gmail.com
Mon Jun 14 10:35:07 UTC 2010


2010/6/12 Julio Gómez <julio at openinside.es>

>
> There is the error. Thanks.
>
>

Marco was meaning about uncommenting these lines in your
/etc/apache2/apache2.conf

<Location /server-status>
    SetHandler server-status
    Order deny,allow
    Deny from all
    Allow from 127.0.0.1
</Location>

and to have this uncommented (default for rh el 5 based httpd rpm) too:

LoadModule status_module modules/mod_status.so

Note that you also need to setup monitoring for the resource then.

The command "crm configure show" would return something like this for your
Apache resource:

primitive apache ocf:heartbeat:apache \
    params configfile="/etc/httpd/conf/httpd.conf" \
    op monitor interval="1min" \
    op start interval="0" timeout="40" \
    op stop interval="0" timeout="60"

HIH,
Gianluca
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20100614/ff55726c/attachment-0001.htm>


More information about the Pacemaker mailing list