Go to main content

Oracle® Solaris Cluster 4.3 Geographic Edition System Administration Guide

Exit Print View

Updated: June 2017
 
 

Detecting Cluster Failure

This section describes the internal processes that occur when failure is detected on a primary or a secondary cluster.

Detecting Primary Cluster Failure

When the primary cluster for a protection group fails, the secondary cluster in the partnership detects the failure. The cluster that fails might be a member of more than one partnership, resulting in multiple failure detections.

During a failure, the appropriate protection groups are in the Unknown state on the cluster that failed. The following actions take place when a primary cluster failure occurs:

  • Heartbeat failure is detected by a partner cluster.

  • The heartbeat is activated in emergency mode to verify that the heartbeat loss is not transient and that the primary cluster has failed. The heartbeat remains in the Online state during this default timeout interval, while the heartbeat mechanism continues to retry the primary cluster.

    This query interval is set by using the Query_interval heartbeat property. If the heartbeat still fails after the interval you configured, a heartbeat-lost event is generated and logged in the system log. When you use the default interval, the emergency-mode retry behavior might delay heartbeat-loss notification for about nine minutes. Messages are displayed in the Oracle Solaris Cluster Manager browser interface and in the output of the geoadm status command.

    For more information about logging, see Viewing the Geographic Edition Log Messages.

  • If the partnership is configured for heartbeat-loss notification, then one or both of the following actions occurs:

    • An email is sent to the address specified in the Notification_emailaddrs property.

    • The script defined in Notification_actioncmd is executed.

    For more information about configuring heartbeat-loss notification, see Configuring Heartbeat-Loss Notification.

Detecting Secondary Cluster Failure

When a secondary cluster for a protection group fails, a cluster in the same partnership detects the failure. The cluster that failed might be a member of more than one partnership, resulting in multiple failure detections.

During failure detection, the following actions take place:

  • Heartbeat failure is detected by a partner cluster.

  • The heartbeat is activated in emergency mode to verify that the secondary cluster is dead.

  • When a failure is confirmed by the Geographic Edition framework, the cluster notifies the administrator. The system detects all protection groups for which the cluster that failed was acting as secondary. The state of the appropriate protection groups is marked Unknown.