[Pacemaker] About the log output in the V1 mode of pacemaker 1.1

Dejan Muhamedagic dejanmm at fastmail.fm
Fri Nov 19 13:10:36 UTC 2010


Hi,

On Fri, Nov 19, 2010 at 04:48:16PM +0900, nozawat wrote:
> Hi
> 
>  I output log in /var/log/ha.log by the following setting.
>  It is not output by /var/log/ha.log when I operate this with a V1 mode.
>  In the case of a V1 mode, is not setting enough?

V1 mode is Heartbeat only, no pacemaker, no corosync. You need
to setup logging in ha.cf.

Thanks,

Dejan

> --- /etc/corosync/corosync.conf ---
> service {
>     name: pacemaker
>     ver: 0
> }
> logging {
>     fileline: on
>     to_syslog: yes
>     syslog_facility: local1
>     syslog_priority: debug
>     debug: off
>     timestamp: on
> }
> -------------------------------
> 
> --- /etc/syslog.conf ---
> # Corosync + Pacemaker
> local1.*           /var/log/ha.log
> -------------------------------
> 
> Regards,
> Tomo

> _______________________________________________
> 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