[ClusterLabs] pacemaker doesn't failover when httpd killed

Kristoffer Grönlund kgronlund at suse.com
Mon Sep 5 02:35:00 EDT 2016


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.

Cheers,
Kristoffer

>
> Thanks.
> Nurit
>
>
>
> _______________________________________________
> Users mailing list: Users at 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
// kgronlund at suse.com




More information about the Users mailing list