This site best when viewed with a modern standards-compliant browser. We recommend Firefox Get Firefox!.

Linux-HA project logo
Providing Open Source High-Availability Software for Linux and other OSes since 1999.

USA Flag UK Flag

Japanese Flag


About Us

Contact Us

Legal Info

How To Contribute

Security Issues

This web page is no longer maintained. Information presented here exists only to avoid breaking historical links.
The Project stays maintained, and lives on: see the Linux-HA Reference Documentation.
To get rid of this notice, you may want to browse the old wiki instead.

1 February 2010 Hearbeat 3.0.2 released see the Release Notes

18 January 2009 Pacemaker 1.0.7 released see the Release Notes

16 November 2009 LINBIT new Heartbeat Steward see the Announcement

Last site update:
2019-12-12 20:03:20

How to redirect linux-HA logging the way CTS wants it using syslog

  • Tell each cluster machine to log to (at least) syslog local7. Change /etc/ha.d/ on each test machine to say this:

      logfacility local7

    In addition, you can also log to a dedicated local file with the logfile directive if you want to.

  • Change /etc/syslog.conf to redirect local7 on each of your cluster machines to redirect to your testmonitor-machine by adding this line somewhere near the top of /etc/syslog.conf

      local7.*                          @testmonitor-machine
  • Change syslog on the testmonitor-machine to accept remote logging requests. You do this by making sure it gets invoked with the -r option. On SuSE Linux or United Linux you need to change /etc/rc.config or /etc/sysconfig/syslog to have this line for SYSLOGD_PARAMS:

    You'll have to restart syslog after putting these parameters into effect.
  • Change on the testmonitor-machine to redirect messages from local7 into /var/log/ha-log-local7 by adding this line to /etc/syslog.conf:

      local7.*                      -/var/log/ha-log-local7
    and then restart syslog. On SuSE (and others) run this command:
      /etc/init.d/syslog restart
    Use the corresponding function for your distro.