Test #7-Active Server Loses then Re-establishes Network Connectivity
This demonstrates mediation behavior when the active server loses network connectivity temporarily. Here, we simulate the temporary loss of network connectivity by pulling the network cable from the mediation server while it is actively processing events, waiting two minutes and then plugging the network cable back in.
• The standby server should discard events until the active server loses network connectivity.
• The active server should deliver events before losing network connectivity.
• When the active server loses connectivity it should remain active and should continue to attempt to deliver any events it may have spooled at that point.
• After the active server loses network connectivity the standby server should switch to an active mode and begin delivering any events that is has spooled and continues to receive.
• Once network connectivity is re-established both servers are active. Both should be attempting to deliver traps while they re-negotiate roles.
• Once negotiation is complete one of the servers reverts to standby mode and begins discarding events.
• The total number of delivered events may be more then 30,000 since this process 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 will be approximately 1500 (15 seconds @ 100 per second).
Actual Results: SUCCESS
• Active Server - The active server delivered 6500 events, with 200 remaining in batch, before losing network connectivity. Once reconnected, it delivered and additional 1300 events, bringing the total delivered to 7800, before switching to a standby role. It then dropped 8600 events, with 300 remaining in batch at the end of the test.
• Standby Server - The standby server dropped 5500 events, with 1500 remaining in batch, before the active server losing connectivity. It then switched to active mode and delivered the remaining 24500 events.
The total number of events delivered was 32300, with 2300 being duplicates.