SUSE Support

Here When You Need Us

Using persistent name on heartbeat

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

Environment

SUSE Linux Enterprise Server 9


 

Situation

On a system with multiple network devices that have different drivers, it could happen that interface names for these devices switch randomly at every boot. This will confuse heartbeat because the configuration is related to the device names like eth0, eth1, etc.

Resolution

To avoid this problem, the network devices name has to relate to the MAC-Adress of the Network Card. This can be done with the persistent name option.

On a heartbeat system, the following steps are required:
  1. Add the option PERSISTENT_NAME to the file /etc/sysconfig/network/ifcfg-eth-id*
    e.g. PERSISTENT_NAME='nic0'
    (Important: Do not use any default name like eth0, eth1, etc.)
  2. Add the given persistent name also to the file /etc/ha.d/haresourses.
    E.g. "bs1 192.168.0.0/16/nic0 drbddisk::drbd0 ..."
  3. Reboot the system.
    Note: simply restarting the network does not work.
    (for more information see the documentation on SuSE Linux Enterprise Server CD1)

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:3692218
  • Creation Date: 05-Jul-2007
  • Modified Date:25-Mar-2021
    • SUSE Linux Enterprise Point of Service
    • 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.