[Pacemaker] Behavior when crm_mon is a daemon

Andrew Beekhof andrew at beekhof.net
Wed May 1 01:27:11 UTC 2013


On 19/04/2013, at 11:05 AM, Yuichi SEINO <seino.cluster2 at gmail.com> wrote:

> HI,
> 
> 2013/4/16 Andrew Beekhof <andrew at beekhof.net>:
>> 
>> On 15/04/2013, at 7:42 PM, Yuichi SEINO <seino.cluster2 at gmail.com> wrote:
>> 
>>> Hi All,
>>> 
>>> I look at the daemon of tools to make a new daemon. So, I have a question.
>>> 
>>> When the old pid file existed, crm_mon is start as a daemon. Then,
>>> crm_mon don't update this old pid file. And, crm_mon doesn't stop.
>>> I would like to know if this behavior is correct.
>> 
>> Some of it is, but the part about crm_mon not updating the pid file (which is probably also preventing it from stopping) is bad.
> I understood that it is a negative behavior.
> If we figure out a problem, I think that we want to fix it.

Done:

   https://github.com/beekhof/pacemaker/commit/e549770

Plus an extra bonus:

   https://github.com/beekhof/pacemaker/commit/479c5cc





More information about the Pacemaker mailing list