Test #5 - Active Server Loses Network Connectivity
This demonstrates mediation behavior when the active server loses network connectivity. Here, we simulate the loss of network connectivity by pulling the network cable from the mediation server while it is actively processing events.
• The standby server should discard events until the active server loses network connectivity.
• The active server should deliver events until it loses network connectivity.
• After losing network connectivity, the standby server should switch to an active mode and deliver any events that it has spooled along with the remaining events that it receives.
• After losing network connectivity the active server should continue operate as an active server attempting to deliver any spooled events that it may have.
• Expect the total number of delivered events to be more then 30,000 since this delivers duplicate events. Since the standby server is at most 15 seconds behind the active server (the timeout period), the maximum number of duplicate events processed is approximately 1500 (15 seconds @ 100 per second).
Actual Results: SUCCESS
• Active Server - The active server delivered 6300 events before being disconnected, with 100 remaining in batch.
• Standby Server - The standby server discarded 5700 events before the active server disconnected, with the difference between this number and the number delivered by the active being 600. Once the standby server switched to active, it delivered 24300 events, bringing its total number of events delivered or discarded to 30000.
The total number of events delivered was 30600, with 600 being duplicates.
After the end of the test, we reconnected the originally active server, and it delivered the 100 remaining in batch, as designed. This is included at the end of the active server log.