Hi Hideo-san, On Mon, Dec 21, 2009 at 02:49:02PM +0900, [email protected] wrote: > 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 > ---------------------------------------------------------------------------------------------
Looks most funny. I've inserted setting HA_LOGTAG to something appropriate in stonith/external which then seems to affect lrmd and resources. Sorry about that. > 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` Many thanks for the patch. But I decided to save and then reset the value of HA_LOGTAG in stonith/external. The fix is already in the repository. Cheers, Dejan > > 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/ _______________________________________________________ Linux-HA-Dev: [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/
