SUSE Support

Here When You Need Us

heartbeat2 and serial lines (HEARTBEAT)

This document (7000841) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Server 10 Support Pack 2
SUSE Linux Enterprise Server 10 Support Pack 1

Situation

The serial line configuration sometimes does not seem to work, for example a setting of

        serial /dev/ttyS0
        baud 115200

results in a serial setting of

        speed 19200 baud

and the serial connection seems to be unreliable with a lot of errors and warnings in the logfiles.

Jul  2 09:37:44 rumburak heartbeat: base64_to_binary: input length invalid.
Jul  2 09:37:44 rumburak heartbeat: [5108]: WARN: ha_msg_add_nv_depth: line doesn't contain '='
 

Resolution

The reason for this is the parsing of the ha.cf file and the serial lines capacity. First the order in the configuration has to be:

        baud 115200
        serial /dev/ttyS0

so the baud rate is set before the serial.

Second, even 115200 is probably not enough to transmit all the data necessary for heartbeat2. SUSE recommends to use a separate ethernet connection instead. If serial cannot be avoided it should be set to
        baud 230400
or
        baud 460800
if possible.
 

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7000841
  • Creation Date: 04-Jul-2008
  • Modified Date:25-Mar-2021
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

tick icon

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

tick icon

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

tick icon

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.