[Pacemaker] crm_mon doesn't seem to run daemonized upon interval

Phil Hunt Phil.Hunt at orionhealth.com
Wed Apr 27 16:45:43 UTC 2011


So in essence, it rewrites it only if the cluster changes, updates or whatever, so the date showing
is the date/time of the last event.  That makes sense actually
	

PHIL HUNT AMS Consultant 
phil.hunt at orionhealth.com 
P: +1 857 488 4749 
M: +1 508 654 7371 
S: philhu0724 
www.orionhealth.com 

----- Original Message -----
From: "mark - pacemaker list" <m+pacemaker at nerdish.us>
To: "The Pacemaker cluster resource manager" <pacemaker at oss.clusterlabs.org>
Sent: Wednesday, April 27, 2011 11:53:58 AM GMT -05:00 US/Canada Eastern
Subject: Re: [Pacemaker] crm_mon doesn't seem to run daemonized upon interval

Hi Phil,

On Wed, Apr 27, 2011 at 10:18 AM, Phil Hunt <Phil.Hunt at orionhealth.com> wrote:
>
> Using ocf:heartbeat:clustermon starts up a daemonized crm_mon with the follwing command:
>
> /usr/sbin/crm_mon -p /tmp/ClusterMon_ClusterMon.pid -d -i 15 -h /data/apache/www/html/crm_mon.html
>
> And it does, indeed write my crm_mon.html file.  It does not seem to run on the interval at all.  It runs one time and then just sits.  If I do a 'crm resource restart ClusterMon', it does run and update the crm_mon.html file, so it looks like interval is broken?


Your crm_mon.html file will only get re-written if your cluster has
changed, at least that's my experience here with it.  It doesn't
re-write the file with each interval.  Migrate a resource around and
see if your output file's content changes to reflect the changes.

Regards,
Mark

_______________________________________________
Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker




More information about the Pacemaker mailing list