[ClusterLabs] pacemaker doesn't failover when httpd killed
lists at alteeve.ca
Mon Sep 5 07:32:39 EDT 2016
Depends on your OS, but generally /var/log/messages. Also, please share
your full pacemaker config. Please only obfuscate passwords.
On 05/09/16 07:53 PM, Nurit Vilosny wrote:
> 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:kgronlund at suse.com]
> Sent: Monday, September 05, 2016 9:35 AM
> To: Nurit Vilosny <nuritv at mellanox.com>; users at clusterlabs.org
> Subject: Re: [ClusterLabs] pacemaker doesn't failover when httpd killed
> Nurit Vilosny <nuritv at 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.
>> Users mailing list: Users at clusterlabs.org
>> Project Home: http://www.clusterlabs.org Getting started:
>> Bugs: http://bugs.clusterlabs.org
> // Kristoffer Grönlund
> // kgronlund at suse.com
> Users mailing list: Users at clusterlabs.org
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org
Papers and Projects: https://alteeve.ca/w/
What if the cure for cancer is trapped in the mind of a person without
access to education?
More information about the Users