[Pacemaker] add resource name after $__SCRIPT_NAME[$$] in .ocf-directories

Dejan Muhamedagic dejanmm at fastmail.fm
Mon Nov 7 12:06:53 EST 2011


Hi,

On Wed, Nov 02, 2011 at 01:48:59PM +0000, Janec, Jozef wrote:
> Hello All,
> 
> Is possible configure or modify .ocf-directories file to get lines with:
> 
> Nov 01 12:58:10 node1 SAPInstance[30355]: [30399]: INFO:  message
> 
> To:
> 
> Nov 01 12:58:10 node1 SAPInstance[30355][resource_name]: [30399]: INFO:  message
> 
> ?
> 
> When there are more resources with SAPInstance it is difficult to identify which resource put which info, it would be better for identify it by resource name

The next resource agents release will have this feature. It is
actually going to look like this:

Nov 01 12:58:10 node1 SAPInstance(resource_name)[30355]: [30399]: INFO:  message

Thanks,

Dejan



> Thanks
> 
> Best regards, 
> 
> Jozef
> 
> _______________________________________________
> 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