none
Always-on "session timeout" vs "SameSubnetThreshold" RRS feed

  • Question

  • What's the relationship between always-on config "session timeout " (default 30) and windows cluster config

    SameSubnetDelay     : 1000   (default)
    SameSubnetThreshold : 10   (default)

    Monday, August 19, 2019 5:36 PM

Answers

  • So for example . If I have two nodes in the same subnet.

    Session time out: 5s

    SameSubnetDelay     : 1000   (default) SameSubnetThreshold : 10   (default)  (5s)

    So if there is disconnection between the two machine for 5s, the replica will show disconnected state first ?

    • Marked as answer by sakurai_db Wednesday, August 21, 2019 1:45 AM
    Wednesday, August 21, 2019 1:27 AM
  • yes, you are right.

    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com

    Wednesday, August 21, 2019 1:30 AM

All replies

  • Hi sakurai_db,

     

    >>SameSubnetDelay     : 1000   (default) SameSubnetThreshold : 10   (default)

     

    These two properties are in WSFC and verify that each node in the cluster is normal. For more details, please refer to https://www.edwinmsarmiento.com/the-windows-server-failover-cluster-properties-that-we-almost-always-ignore/

     

    Session Timeout: It is the property in alwayson. The primary replica and all secondary replicas will send ping at regular intervals to determine that the communication between all replica are fine.  receiving the ping request for more than this time, the secondary copy will enter the disconnected state. Once the time to receive the ping request exceeds Session Timeout time, the secondary replica will enter the disconnected state.

     

    Best regards,

    Dedmon Da


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com

    Tuesday, August 20, 2019 7:34 AM
  • So for example . If I have two nodes in the same subnet.

    Session time out: 5s

    SameSubnetDelay     : 1000   (default) SameSubnetThreshold : 10   (default)  (5s)

    So if there is disconnection between the two machine for 5s, the replica will show disconnected state first ?

    • Marked as answer by sakurai_db Wednesday, August 21, 2019 1:45 AM
    Wednesday, August 21, 2019 1:27 AM
  • yes, you are right.

    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com

    Wednesday, August 21, 2019 1:30 AM