[Pacemaker] crm_attribute --quiet (was Fwd: [Linux-HA] Should This Worry Me?)

Florian Haas florian at hastexo.com
Sun Nov 13 09:30:26 CET 2011


Lars/Andrew,

While Eric is evidently on a DRBD version whose ocf:linbit:drbd does not
invoke crm_attribute with the flag to suppress logging, I'm mildly
confused as to what the correct flag actually is. ocf:linbit:drbd (in
both 8.3 and 8.4) uses "-Q" whereas Pacemaker expects "-q" as of this
commit:

commit c11ce5e9b0b13ead02b5fc4add928d7e7f95092e
Author: Andrew Beekhof <andrew at beekhof.net>
Date:   Tue Sep 22 17:29:38 2009 +0200

    Medium: Tools: Use -q as the short form for --quiet (for consistency)

    Mercurial revision: 7289e661e4923beee4b7b45bc85592564ccdc438

Should ocf:linbit:drbd be using "-q"?

Cheers,
Florian

-------- Original Message --------
Subject: [Linux-HA] Should This Worry  Me?
Date: Sat, 12 Nov 2011 18:02:51 -0800
From: Robinson, Eric <eric.robinson at psmnv.com>
Reply-To: General Linux-HA mailing list <linux-ha at lists.linux-ha.org>
To: <linux-ha at lists.linux-ha.org>

Should I be concerned that the standby node of a 2-node cluster is
logging these messages about every 15 seconds? This cluster has been up
and running apparently fine for a year.

Nov 12 17:53:59 ha05 crm_attribute: [2420]: info: Invoked: crm_attribute
-N ha05.mycharts.md -n master-p_DRBD:1 -l reboot -v 100
Nov 12 17:54:14 ha05 crm_attribute: [2455]: info: Invoked: crm_attribute
-N ha05.mycharts.md -n master-p_DRBD:1 -l reboot -v 100
Nov 12 17:54:29 ha05 crm_attribute: [2482]: info: Invoked: crm_attribute
-N ha05.mycharts.md -n master-p_DRBD:1 -l reboot -v 100
Nov 12 17:54:44 ha05 crm_attribute: [2510]: info: Invoked: crm_attribute
-N ha05.mycharts.md -n master-p_DRBD:1 -l reboot -v 100
Nov 12 17:54:59 ha05 crm_attribute: [2537]: info: Invoked: crm_attribute
-N ha05.mycharts.md -n master-p_DRBD:1 -l reboot -v 100
Nov 12 17:55:14 ha05 crm_attribute: [2574]: info: Invoked: crm_attribute
-N ha05.mycharts.md -n master-p_DRBD:1 -l reboot -v 100
Nov 12 17:55:29 ha05 crm_attribute: [2603]: info: Invoked: crm_attribute
-N ha05.mycharts.md -n master-p_DRBD:1 -l reboot -v 100
Nov 12 17:55:44 ha05 crm_attribute: [2633]: info: Invoked: crm_attribute
-N ha05.mycharts.md -n master-p_DRBD:1 -l reboot -v 100

--
Eric Robinson



More information about the Pacemaker mailing list