Forum Discussion

yogesh_gaikwad_'s avatar
yogesh_gaikwad_
Icon for Nimbostratus rankNimbostratus
Oct 04, 2015

Existing connections for Priority group activation

I have say two members in PGA as below:

 

PGA set to Less than - 1 NodeA - Priority 2 NodeB - Priority 1

 

LB method - Round Robin

 

Now as per the above config NodeA will be primary, if it fails NodeB will serve the traffic, and when NodeA comes up then it will again serve the traffic

 

My question is what will happen to the existing connections when a failover occurs, like when NodeA fails what will happen to its existing connections, and if NodeA comes back online, then what will happen to NodeB's existing connections?

 

I think someone on this Devcentral forum tried to set source-addr persistence, but it did not worked, as when the primary node came up still the secondary node was serving the traffic.

 

1 Reply

  • nathe's avatar
    nathe
    Icon for Cirrocumulus rankCirrocumulus

    Yogesh, to answer your first query if node A goes down then what happens to existing connections is controlled by the Action on Service Down setting. If it's set to None (the default I think) then the connection will need to timeout before Node B is selected for that client.

     

    When noda A comes back online node B will still serve existing and persistent connections. This will be until the connection closes or the persistence record expires.

     

    Hope this helps.

     

    N