All of lore.kernel.org
 help / color / mirror / Atom feed
* [Drbd-dev] crm_attribute --quiet (was Fwd: [Linux-HA] Should This Worry Me?)
@ 2011-11-13  8:30 Florian Haas
  2011-11-13 11:34 ` Robinson, Eric
  2011-11-13 22:51 ` [Drbd-dev] [Pacemaker] " Andrew Beekhof
  0 siblings, 2 replies; 8+ messages in thread
From: Florian Haas @ 2011-11-13  8:30 UTC (permalink / raw)
  To: drbd-dev, The Pacemaker cluster resource manager; +Cc: Robinson, Eric

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@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@psmnv.com>
Reply-To: General Linux-HA mailing list <linux-ha@lists.linux-ha.org>
To: <linux-ha@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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Drbd-dev] crm_attribute --quiet (was Fwd: [Linux-HA] Should This Worry Me?)
  2011-11-13  8:30 [Drbd-dev] crm_attribute --quiet (was Fwd: [Linux-HA] Should This Worry Me?) Florian Haas
@ 2011-11-13 11:34 ` Robinson, Eric
  2011-11-13 16:01   ` Florian Haas
  2011-11-13 22:51 ` [Drbd-dev] [Pacemaker] " Andrew Beekhof
  1 sibling, 1 reply; 8+ messages in thread
From: Robinson, Eric @ 2011-11-13 11:34 UTC (permalink / raw)
  To: Florian Haas, drbd-dev, The Pacemaker cluster resource manager

> 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:
> 

FYI, this particular cluster is running DRBD 8.3.2.

--Eric





Disclaimer - November 13, 2011 
This email and any files transmitted with it are confidential and intended solely for Florian Haas,drbd-dev@lists.linbit.com,The Pacemaker cluster resource manager. If you are not the named addressee you should not disseminate, distribute, copy or alter this email. Any views or opinions presented in this email are solely those of the author and might not represent those of Physicians' Managed Care or Physician Select Management. Warning: Although Physicians' Managed Care or Physician Select Management has taken reasonable precautions to ensure no viruses are present in this email, the company cannot accept responsibility for any loss or damage arising from the use of this email or attachments. 
This disclaimer was added by Policy Patrol: http://www.policypatrol.com/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Drbd-dev] crm_attribute --quiet (was Fwd: [Linux-HA] Should This Worry Me?)
  2011-11-13 11:34 ` Robinson, Eric
@ 2011-11-13 16:01   ` Florian Haas
  2011-11-13 16:27     ` Robinson, Eric
  0 siblings, 1 reply; 8+ messages in thread
From: Florian Haas @ 2011-11-13 16:01 UTC (permalink / raw)
  To: Robinson, Eric; +Cc: The Pacemaker cluster resource manager, drbd-dev

On 2011-11-13 12:34, Robinson, Eric wrote:
> FYI, this particular cluster is running DRBD 8.3.2.

Right, and this changeset:

commit e71e95975f2c4231a240ad856a5ac37d65685061
Author: Florian Haas <florian.haas@linbit.com>
Date:   Fri Sep 18 15:18:31 2009 +0200

    OCF RA: use crm_master in quiet mode in set_master_score()

... was committed during the 8.3.3 development cycle. So the fact that
you are getting this message (which is benign, though admittedly
annoying) is expected in your version.

What I'm wondering is merely whether the -Q flag is still correct.

Cheers,
Florian

-- 
Need help with High Availability?
http://www.hastexo.com/now

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Drbd-dev] crm_attribute --quiet (was Fwd: [Linux-HA] Should This Worry Me?)
  2011-11-13 16:01   ` Florian Haas
@ 2011-11-13 16:27     ` Robinson, Eric
  2011-11-13 16:54       ` Florian Haas
  0 siblings, 1 reply; 8+ messages in thread
From: Robinson, Eric @ 2011-11-13 16:27 UTC (permalink / raw)
  To: Florian Haas; +Cc: The Pacemaker cluster resource manager, drbd-dev

> ... was committed during the 8.3.3 development cycle. So the 
> fact that you are getting this message (which is benign, 
> though admittedly
> annoying) is expected in your version.
> 

Fair enough. I was only concerned because of that --reboot switch in
there.

--Eric






Disclaimer - November 13, 2011 
This email and any files transmitted with it are confidential and intended solely for Florian Haas,drbd-dev@lists.linbit.com,The Pacemaker cluster resource manager. If you are not the named addressee you should not disseminate, distribute, copy or alter this email. Any views or opinions presented in this email are solely those of the author and might not represent those of Physicians' Managed Care or Physician Select Management. Warning: Although Physicians' Managed Care or Physician Select Management has taken reasonable precautions to ensure no viruses are present in this email, the company cannot accept responsibility for any loss or damage arising from the use of this email or attachments. 
This disclaimer was added by Policy Patrol: http://www.policypatrol.com/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Drbd-dev] crm_attribute --quiet (was Fwd: [Linux-HA] Should This Worry Me?)
  2011-11-13 16:27     ` Robinson, Eric
@ 2011-11-13 16:54       ` Florian Haas
  2011-11-14 10:43         ` Robinson, Eric
  0 siblings, 1 reply; 8+ messages in thread
From: Florian Haas @ 2011-11-13 16:54 UTC (permalink / raw)
  To: Robinson, Eric; +Cc: The Pacemaker cluster resource manager, drbd-dev

On 2011-11-13 17:27, Robinson, Eric wrote:
>> ... was committed during the 8.3.3 development cycle. So the 
>> fact that you are getting this message (which is benign, 
>> though admittedly
>> annoying) is expected in your version.
>>
> 
> Fair enough. I was only concerned because of that --reboot switch in
> there.

No, that only means that the node attribute being set has a lifetime of
"until the next cluster reboot", meaning it's only stored in the
volatile "status" section of the CIB.

Cheers,
Florian

-- 
Need help with High Availability?
http://www.hastexo.com/now

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Drbd-dev] [Pacemaker] crm_attribute --quiet (was Fwd: [Linux-HA] Should This Worry Me?)
  2011-11-13  8:30 [Drbd-dev] crm_attribute --quiet (was Fwd: [Linux-HA] Should This Worry Me?) Florian Haas
  2011-11-13 11:34 ` Robinson, Eric
@ 2011-11-13 22:51 ` Andrew Beekhof
  2011-11-14 10:56   ` Lars Ellenberg
  1 sibling, 1 reply; 8+ messages in thread
From: Andrew Beekhof @ 2011-11-13 22:51 UTC (permalink / raw)
  To: The Pacemaker cluster resource manager; +Cc: Robinson, Eric, drbd-dev

On Sun, Nov 13, 2011 at 7:30 PM, Florian Haas <florian@hastexo.com> wrote:
> 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@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"?

Correct.  Sorry about that.

>
> 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@psmnv.com>
> Reply-To: General Linux-HA mailing list <linux-ha@lists.linux-ha.org>
> To: <linux-ha@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
>
> _______________________________________________
> Pacemaker mailing list: Pacemaker@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
>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Drbd-dev] crm_attribute --quiet (was Fwd: [Linux-HA] Should This Worry Me?)
  2011-11-13 16:54       ` Florian Haas
@ 2011-11-14 10:43         ` Robinson, Eric
  0 siblings, 0 replies; 8+ messages in thread
From: Robinson, Eric @ 2011-11-14 10:43 UTC (permalink / raw)
  To: Florian Haas; +Cc: The Pacemaker cluster resource manager, drbd-dev

> > Fair enough. I was only concerned because of that --reboot 
> switch in 
> > there.
> 
> No, that only means that the node attribute being set has a 
> lifetime of "until the next cluster reboot", meaning it's 
> only stored in the volatile "status" section of the CIB.
> 


Good to know. Thanks. :-)

--Eric



Disclaimer - November 14, 2011 
This email and any files transmitted with it are confidential and intended solely for Florian Haas,drbd-dev@lists.linbit.com,The Pacemaker cluster resource manager. If you are not the named addressee you should not disseminate, distribute, copy or alter this email. Any views or opinions presented in this email are solely those of the author and might not represent those of Physicians' Managed Care or Physician Select Management. Warning: Although Physicians' Managed Care or Physician Select Management has taken reasonable precautions to ensure no viruses are present in this email, the company cannot accept responsibility for any loss or damage arising from the use of this email or attachments. 
This disclaimer was added by Policy Patrol: http://www.policypatrol.com/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Drbd-dev] [Pacemaker] crm_attribute --quiet (was Fwd: [Linux-HA] Should This Worry Me?)
  2011-11-13 22:51 ` [Drbd-dev] [Pacemaker] " Andrew Beekhof
@ 2011-11-14 10:56   ` Lars Ellenberg
  0 siblings, 0 replies; 8+ messages in thread
From: Lars Ellenberg @ 2011-11-14 10:56 UTC (permalink / raw)
  To: The Pacemaker cluster resource manager, drbd-dev

On Mon, Nov 14, 2011 at 09:51:46AM +1100, Andrew Beekhof wrote:
> > 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@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"?
> 
> Correct.  Sorry about that.


-Q is still accepted, though.
As it is accepted for a larger range of crm_attribute versions,
I'll keep it for now.

-- 
: Lars Ellenberg
: LINBIT | Your Way to High Availability
: DRBD/HA support and consulting http://www.linbit.com

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-11-14 10:56 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-13  8:30 [Drbd-dev] crm_attribute --quiet (was Fwd: [Linux-HA] Should This Worry Me?) Florian Haas
2011-11-13 11:34 ` Robinson, Eric
2011-11-13 16:01   ` Florian Haas
2011-11-13 16:27     ` Robinson, Eric
2011-11-13 16:54       ` Florian Haas
2011-11-14 10:43         ` Robinson, Eric
2011-11-13 22:51 ` [Drbd-dev] [Pacemaker] " Andrew Beekhof
2011-11-14 10:56   ` Lars Ellenberg

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.