Hi Kristoffer,
Thanks for the prompt answer.
Result of kill -9 is a dead process. Restart is not being performed.
Can you tell me what logs to attach, so I can add them?

-----Original Message-----
From: Kristoffer Grönlund [mailto:kgronl...@suse.com] 
Sent: Monday, September 05, 2016 9:35 AM
To: Nurit Vilosny <nur...@mellanox.com>; users@clusterlabs.org
Subject: Re: [ClusterLabs] pacemaker doesn't failover when httpd killed

Nurit Vilosny <nur...@mellanox.com> writes:

> Hi everyone,
> I tried the IRC for that, but I get disconnected and cannot see the reply...
> So I try again:
> I have a cluster with 3 nodes and 2 services: apache and application service 
> - grouped together.
> Debugging the cluster I used kill -9 to kill the httpd process, assuming the 
> services will migrate to another node, but they didn't.
> Log didn't show anything, and I remember reading that pacemaker check httpd 
> status somewhere else that at service httpd status - but couldn't find where.
> Any idea what can I do ?

Without any attached logs or before/after status information, it's difficult to 
know what exactly happened in your case. But by default, Pacemaker tries to 
restart the service on the same node before migrating to another node. So 
running kill -9 on httpd should result in a restart on the same node, not a 
migration.

Cheers,
Kristoffer

>
> Thanks.
> Nurit
>
>
>
> _______________________________________________
> Users mailing list: Users@clusterlabs.org 
> http://clusterlabs.org/mailman/listinfo/users
>
> Project Home: http://www.clusterlabs.org Getting started: 
> http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org

--
// Kristoffer Grönlund
// kgronl...@suse.com
_______________________________________________
Users mailing list: Users@clusterlabs.org
http://clusterlabs.org/mailman/listinfo/users

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