Hi Andrew, >> Is my understanding wrong? > > Without the above commit, the lrmd logs as 'paceamker_remoted' and > pacemaker_remoted logs as 'lrmd'. > We just needed to swap the two cases. Which is what the commit achieves.
Okay! We use it with the thing which invalidated the commit mentioned above for a while. Many Thanks, Hideo Yamauchi. ----- Original Message ----- > From: Andrew Beekhof <and...@beekhof.net> > To: renayama19661...@ybb.ne.jp > Cc: The Pacemaker cluster resource manager <pacemaker@oss.clusterlabs.org> > Date: 2014/9/22, Mon 10:05 > Subject: Re: [Pacemaker] About a process name to output in log. > > > On 22 Sep 2014, at 10:54 am, renayama19661...@ybb.ne.jp wrote: > >> Hi Andrew, >> >> Thank you for comments. >> >>>> In the log of latest Pacemaker, the name of the lrmd process is > output by >>> the name of the pacemaker_remoted process. >>>> We like that log is output by default as lrmd. >>> >>> I think you just need: > https://github.com/beekhof/pacemaker/commit/ad083a8 >> >> >> But, I did not understand the meaning of your answer. >> >> >> It is SUPPORT_REMOTE macro to cause the macro of ENABLE_PCMK_REMOTE. >> If I cannot change SUPPORT_REMOTE by "configure" command, it is > necessary to change Makefile.am every time. >> >> Is my understanding wrong? > > Without the above commit, the lrmd logs as 'paceamker_remoted' and > pacemaker_remoted logs as 'lrmd'. > We just needed to swap the two cases. Which is what the commit achieves. > >> >> >> Best Regards, >> Hideo Yamauchi. >> >> >> >> ----- Original Message ----- >>> From: Andrew Beekhof <and...@beekhof.net> >>> To: renayama19661...@ybb.ne.jp; The Pacemaker cluster resource manager > <pacemaker@oss.clusterlabs.org> >>> Cc: >>> Date: 2014/9/19, Fri 20:50 >>> Subject: Re: [Pacemaker] About a process name to output in log. >>> >>> >>> On 19 Sep 2014, at 5:04 pm, renayama19661...@ybb.ne.jp wrote: >>> >>>> Hi All, >>>> >>>> In the log of latest Pacemaker, the name of the lrmd process is > output by >>> the name of the pacemaker_remoted process. >>>> We like that log is output by default as lrmd. >>> >>> I think you just need: > https://github.com/beekhof/pacemaker/commit/ad083a8 >>> >>>> These names seem to be changed on a macro. >>>> However, the option which even "configure" command > changes this >>> macro to does not seem to exist. >>>> >>>> * lrmd/Makefile.am >>>> (snip) >>>> pacemaker_remoted_CFLAGS= -DSUPPORT_REMOTE >>>> (snip) >>>> * lrmd/main.c >>>> (snip) >>>> #if defined(HAVE_GNUTLS_GNUTLS_H) && > defined(SUPPORT_REMOTE) >>>> # define ENABLE_PCMK_REMOTE >>>> #endif >>>> (snip) >>>> #ifndef ENABLE_PCMK_REMOTE >>>> crm_log_preinit("lrmd", argc, argv); >>>> crm_set_options(NULL, "[options]", long_options, >>>> "Daemon for controlling services > confirming to >>> different standards"); >>>> #else >>>> crm_log_preinit("pacemaker_remoted", argc, argv); >>>> crm_set_options(NULL, "[options]", long_options, >>>> "Pacemaker Remote daemon for extending > pacemaker >>> functionality to remote nodes."); >>>> #endif >>>> (snip) >>>> >>>> >>>> Please examine the option of the "configure" command to > give >>> macro. >>>> >>>> Best Regards, >>>> Hideo Yamauchi. >>>> >>>> >>>> _______________________________________________ >>>> 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://bugs.clusterlabs.org >>> > _______________________________________________ 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://bugs.clusterlabs.org