Hi all!
We are working according to this documents:

http://clusterlabs.org/doc/en-US/Pacemaker/1.1-plugin/html-single/Clusters_from_Scratch/index.html#_update_the_configuration

https://github.com/ClusterLabs/pacemaker/blob/master/doc/pcs-crmsh-quick-ref.md

We have added Apache using the following command:

pcs
resource create WebSite ocf:heartbeat:apache params
configfile=/etc/httpd/conf/httpd.conf op monitor interval=20s

Then, to
test the failover we stop Apache using the following command:

service httpd stop



We see that Apache service is started again.



We suppose that Pacemaker starts it, since if we do not add
it to the Pacemaker resources it will not start.

Questions:

1) Is it Pacemaker starts Apache service?

2) Why Pacemaker starts Apache service?

Thanks for your help!

    Michael

                                          
_______________________________________________
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://bugs.clusterlabs.org

Reply via email to