[Pacemaker] Why Pacemaker 1.1.8 starts Apache service?

Lars Marowsky-Bree lmb at suse.com
Wed Jun 12 14:15:41 UTC 2013


On 2013-06-12T17:08:22, Michael Furman <michael_furman at 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





More information about the Pacemaker mailing list