On 2013-06-12T17:08:22, Michael Furman <michael_fur...@hotmail.com> wrote:

> 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?

Well, yes, you configured it as a managed and monitored resource.

> 2) Why Pacemaker starts Apache service?

Well, yes, you configured it as a managed and monitored resource.

I'm not sure I see the issue?


Regards,
    Lars

-- 
Architect Storage/HA
SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 
21284 (AG Nürnberg)
"Experience is the name everyone gives to their mistakes." -- Oscar Wilde


_______________________________________________
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