A security engineer is configuring an automated failover workflow for an active-passive high-availability database cluster to prevent split-brain conditions and ensure data integrity during an ungraceful primary node failure. Arrange the operational steps in the correct chronological order from initial failure detection to full service restoration on the standby node.
- 1Detect primary node heartbeat loss and confirm the failure threshold timeout.
- 2Execute a STONITH (Shoot The Other Node In The Head) fencing command against the failed primary node.
- 3Verify cluster quorum consensus and formally promote the standby node to the active role.
- 4Promote the underlying storage volume to read-write mode and replay uncommitted transaction logs.
- 5Rebind the cluster Virtual IP (VIP) address to the secondary node's network interface controller.
Cevap
The correct chronological failover sequence is: 1) Detect primary node heartbeat loss and confirm the failure threshold timeout, 2) Execute a STONITH fencing command against the failed primary node, 3) Verify cluster quorum consensus and formally promote the standby node to the active role, 4) Promote the underlying storage volume to read-write mode and replay uncommitted transaction logs, and 5) Rebind the cluster Virtual IP (VIP) address to the secondary node's network interface controller.
In high-availability failover architectures, maintaining data integrity during ungraceful failures requires a strict order of operations: first, health monitors confirm heartbeat loss beyond the tolerance threshold; second, node fencing (STONITH) forcefully isolates the unresponsive primary to prevent split-brain scenario; third, surviving nodes verify quorum and promote the standby server; fourth, storage volumes are transitioned to read-write state and logs are replayed for crash recovery; fifth, the Virtual IP (VIP) is reassigned to the new primary so application traffic resumes transparently.
Adım Adım Çözüm
Anahtar Kavram
High Availability Cluster Automated Failover and Fencing (STONITH) Sequence
Tahmini Süre:2m 30s