Depends on your OS, but generally /var/log/messages. Also, please share your full pacemaker config. Please only obfuscate passwords.
digimer 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: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 > -- Digimer 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? _______________________________________________ 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