IBM Support

Improving cluster network heartbeating resiliency for Db2 HADR with Pacemaker

How To


Summary

Corosync Cluster Engine’s main role in the Db2 Automated Failure HADR solution with Pacemaker is to provide the cluster membership information to the cluster manager to carry out the appropriate actions and ensure all managed resources are in their respective wanted states. Corosync employs the concept of heartbeat rings where TCP/IP capable adapters in each cluster host participate in exchanging messages among them. One network interface from each host forms a ring for heart-beating purposes. A host is deemed inaccessible only if all local network interfaces fail to exchange messages in all rings it participates in. The more rings a host participates in, the fewer false positives it generates, and the reliability of this node-liveliness test improves.

Before Db2 V11.5.6.0, the network interface associated with the hostname is the default interface participating in the node liveliness test. This configuration is done automatically during the cluster setup. While instructions are available in the open source Corosync documentation to set up more heartbeat rings, it is not tailored toward the Db2 Automated Failover HADR solution with Pacemaker specifically. This technical document intends to provide validated step-by-step instructions to set up multiple heartbeat rings for a Pacemaker HADR cluster after the initial cluster setup.

Document Location

Worldwide

[{"Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSEPGG","label":"Db2 for Linux, UNIX and Windows"},"ARM Category":[{"code":"a8m500000008PklAAE","label":"HADR"}],"Platform":[{"code":"PF016","label":"Linux"},{"code":"PF055","label":"zLinux"}],"Version":"11.5.5;11.5.6","Type":"MASTER"}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
30 April 2025

UID

ibm16441417