2010/6/12 Julio Gómez <ju...@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
_______________________________________________
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker

Reply via email to