Hi,

We confirmed the log output by the next combination.

 * Reusable-Cluster-Components-11d5eda4c7f0.tar.gz
 * Cluster-Resource-Agents-6f02f8ad7fd4.tar.gz
 * Pacemaker-1-0-17fe0022afda.tar.gz
 * corosync-1.1.2

We added the log output to monitor processing for a test.

The name of the tag of the output of the log of normal RA is changed when I use 
a stonith module of
the external.(IPaddr && external/ssh)

---------------------------------------------------------------------------------------------
Dec 21 12:52:01 rh54-1 external/ssh: INFO: TEST monotor log
Dec 21 12:52:01 rh54-1 lrmd: [14612]: info: RA output: (vip01:monitor:stderr) 
logd is not
running2009/12/21_12:52:01 INFO: TEST monotor log
Dec 21 12:52:11 rh54-1 external/ssh: INFO: TEST monotor log
Dec 21 12:52:11 rh54-1 lrmd: [14612]: info: RA output: (vip01:monitor:stderr) 
logd is not
running2009/12/21_12:52:11 INFO: TEST monotor log
Dec 21 12:52:17 rh54-1 stonithd: [661]: info: external_run_cmd: 
'/usr/lib/stonith/plugins/external/ssh
status' output: ssh STONITH monitor
---------------------------------------------------------------------------------------------

There seems to be the problem for an omission of reset of HA_LOGTAG somehow or 
other.

I attach the sample of the patch.

diff -r 0c2d988d1e47 heartbeat/.ocf-shellfuncs.in
--- a/heartbeat/.ocf-shellfuncs.in      Mon Dec 21 14:46:24 2009 +0900
+++ b/heartbeat/.ocf-shellfuncs.in      Mon Dec 21 14:47:14 2009 +0900
@@ -40,6 +40,7 @@
 # This was common throughout all legacy Heartbeat agents
 unset LC_ALL; export LC_ALL
 unset LANGUAGE; export LANGUAGE
+unset HA_LOGTAG
 
 __SCRIPT_NAME=`basename $0`
 

Best Regards,
Hideo Yamauchi.

_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to