[ClusterLabs] pacemaker doesn't failover when httpd killed
nuritv at mellanox.com
Mon Sep 5 06:53:19 EDT 2016
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?
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
More information about the Users