[ClusterLabs] logging for pacemaker_remote?

Ken Gaillot kgaillot at redhat.com
Mon Mar 18 14:56:47 EDT 2019


On Mon, 2019-03-18 at 17:57 +0000, Gilbert, Mike wrote:
> Hello all,
> 
> Is there a way to specify in /etc/sysconfig/pacemaker (or some other
> place) a separate logging location for pacemaker_remote? By default, 
> it appears that nodes running pacemaker_remote get logged to the
> location set in the PCMK_logfile variable, which is 
> /var/log/pacemaker/pacemaker.log. I have been unable to find any
> documentation on specifying these types of custom options for
> pacemaker_remote (other than the authkey and port settings). 

pacemaker_remote uses the same config variables as regular pacemaker
for such things. But those values can be different per node.

If you really want a separate config file, you could create a systemd
drop-in to add a custom EnvironmentFile.

> I'm brand new to the list, so please forgive me if this question has
> already been asked.
> 
> Thank you for any help,
> Mike
-- 
Ken Gaillot <kgaillot at redhat.com>



More information about the Users mailing list