You are here: LifeKeeper > Introduction > Fault Detection Recovery Scenarios > Server Failure Recovery Scenario

Server Failure Recovery Scenario

The LifeKeeper Communications Manager (LCM) has two functions:

LifeKeeper has a built-in heartbeat signal that periodically notifies each server in the configuration that its paired server is operating. If a server fails to receive the heartbeat message through one of the communications paths, LifeKeeper marks that path DEAD.

The following figure illustrates the recovery tasks when the LCM heartbeat mechanism detects a server failure.

 

LCM1.gif

 

The following steps describe the recovery scenario, illustrated above, if LifeKeeper marks all communications connections to a server DEAD.

  1. LCM activates eventslcm. When LifeKeeper marks all communications paths dead, the LCM initiates the eventslcm process.

Only one activity stops the eventslcm process:

It is critical that you configure two or more physically independent, redundant communication paths between each pair of servers to prevent failovers and possible system panics due to communication failures.

  1. Message to sendevent. eventslcm sends the system failure alarm by calling sendevent with the event type machfail.

  2. sendevent initiates failover recovery. The sendevent program determines that LifeKeeper can handle the system failure event and executes the LifeKeeper failover recovery process lcdmachfail.

  3. lcdmachfail checks. The lcdmachfail process first checks to ensure that the non-responding server was not shut down. Failovers are inhibited if the other system was shut down gracefully before system failure. Then lcdmachfail determines all resources that have a shared equivalency with the failed system. This is the commit point for the recovery.

  4. lcdmachfail restores resources. lcdmachfail determines all resources on the backup server that have shared equivalencies with the failed primary server.  It also determines whether the backup server is the highest priority alive server for which a given resource is configured. All backup servers perform this check, so that only one server will attempt to recover a given hierarchy.  For each equivalent resource that passes this check, lcdmachfail invokes the associated restore program. Then, lcdmachfail also restores each resource dependent on a restored resource, until it brings the entire hierarchy into service on the backup server.

of

© 2016 SIOS Technology Corp., the industry's leading provider of business continuity solutions, data replication for continuous data protection.