.. _example_service_dhcp-server_failover-split-brain: #################### Failover-Split-Brain #################### Test suite for DHCP Failover split-brain scenarios. Split-brain occurs when both DHCP servers lose communication with each other but both remain operational. Each server thinks the other is down and may enter "communications-interrupted" state. This test suite verifies: - Both servers detect communications-interrupted state - Clients can still obtain IPs during split-brain - Servers recover to normal state when communication is restored ************************** Test Split-Brain Detection ************************** Description =========== This scenario verifies that when communication between primary and secondary DHCP servers is blocked, both servers detect the issue and enter "communications-interrupted" state. The failover protocol uses port 647 for peer communication. By blocking this port, we simulate a network partition. Expected behavior: - Initially both servers are in "normal" state - After blocking port 647, both detect "communications-interrupted" - Servers may also show "partner down" after timeout Scenario ======== .. include:: failover-split-brain/testsplit-braindetection .. raw:: html