Re: [Linux-ha-dev] RA trace facility

2013-01-24 Thread Dejan Muhamedagic
Hi, On Tue, Nov 27, 2012 at 08:28:04AM +0100, Dejan Muhamedagic wrote: > On Wed, Nov 21, 2012 at 07:06:35PM +0100, Lars Marowsky-Bree wrote: > > On 2012-11-21T18:02:49, Dejan Muhamedagic wrote: > > > > > > What would you think of OCF_RESKEY_RA_TRACE ? > > > A meta attribute perhaps? That wouldn'

Re: [Linux-ha-dev] RA trace facility

2012-11-28 Thread Keisuke MORI
Hi, 2012/11/27 Dejan Muhamedagic : (...) >> It might be also helpful if it has a kind of 'hook' functionality that >> allows you to execute an arbitrary script for collecting the runtime >> information such as CPU usage, memory status, I/O status or the list >> of running processes etc. for diagno

Re: [Linux-ha-dev] RA trace facility

2012-11-26 Thread Dejan Muhamedagic
Hi Keisuke-san, On Thu, Nov 22, 2012 at 06:27:59PM +0900, Keisuke MORI wrote: > Hi, > > 2012/11/22 Dejan Muhamedagic : > > Hi Lars, > > > > On Wed, Nov 21, 2012 at 04:43:08PM +0100, Lars Marowsky-Bree wrote: > >> On 2012-11-21T16:33:18, Dejan Muhamedagic wrote: > >> > >> > Hi, > >> > > >> > This

Re: [Linux-ha-dev] RA trace facility

2012-11-26 Thread Dejan Muhamedagic
On Wed, Nov 21, 2012 at 07:06:35PM +0100, Lars Marowsky-Bree wrote: > On 2012-11-21T18:02:49, Dejan Muhamedagic wrote: > > > > What would you think of OCF_RESKEY_RA_TRACE ? > > A meta attribute perhaps? That wouldn't cause a resource > > restart. > > Point, but - meta attributes so far were most

Re: [Linux-ha-dev] RA trace facility

2012-11-22 Thread Keisuke MORI
Hi, 2012/11/22 Dejan Muhamedagic : > Hi Lars, > > On Wed, Nov 21, 2012 at 04:43:08PM +0100, Lars Marowsky-Bree wrote: >> On 2012-11-21T16:33:18, Dejan Muhamedagic wrote: >> >> > Hi, >> > >> > This is little something which could help while debugging >> > resource agents. Setting the environment v

Re: [Linux-ha-dev] RA trace facility

2012-11-21 Thread Lars Marowsky-Bree
On 2012-11-21T18:02:49, Dejan Muhamedagic wrote: > > What would you think of OCF_RESKEY_RA_TRACE ? > A meta attribute perhaps? That wouldn't cause a resource > restart. Point, but - meta attributes so far were mostly for the PE/pacemaker, this would be for the RA. Would a changed definition for

Re: [Linux-ha-dev] RA trace facility

2012-11-21 Thread Dejan Muhamedagic
Hi Lars, On Wed, Nov 21, 2012 at 04:43:08PM +0100, Lars Marowsky-Bree wrote: > On 2012-11-21T16:33:18, Dejan Muhamedagic wrote: > > > Hi, > > > > This is little something which could help while debugging > > resource agents. Setting the environment variable __OCF_TRACE_RA > > would cause the re

Re: [Linux-ha-dev] RA trace facility

2012-11-21 Thread Lars Marowsky-Bree
On 2012-11-21T16:33:18, Dejan Muhamedagic wrote: > Hi, > > This is little something which could help while debugging > resource agents. Setting the environment variable __OCF_TRACE_RA > would cause the resource agent run to be traced (as in set -x). > PS4 is set accordingly (that's a bash featur

[Linux-ha-dev] RA trace facility

2012-11-21 Thread Dejan Muhamedagic
Hi, This is little something which could help while debugging resource agents. Setting the environment variable __OCF_TRACE_RA would cause the resource agent run to be traced (as in set -x). PS4 is set accordingly (that's a bash feature, don't know if other shells support it). ocf-tester got an op