Azure Loadbalancer Failover Sessions not handed over

Lukas Müller 0 Reputation points
2024-06-06T08:06:50.15+00:00

We are using a Standard Internal Azure Loadblancer to balance traffic between multiple NVA Appliances.

This works fine normally, during a failover all new connections are sent to the other NVA that is still available.

However the packets that belong to an existing connection are still sent to the appliance that is now down instead of being sent to the still active NVA.

We tried this with different Session Persistance settings (None, Client IP and ClientIP and Protocol) but experienced always the same issue.

Are there any workarounds to this?
Is there maybe a different solution for load balancing all network traffic other than azure load balancer?

Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,509 questions
Azure Load Balancer
Azure Load Balancer
An Azure service that delivers high availability and network performance to applications.
451 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. ChaitanyaNaykodi-MSFT 26,216 Reputation points Microsoft Employee
    2024-06-07T02:00:57.21+00:00

    @Lukas Müller

    Thank you for reaching out.

    Based on your question above I understand that when backend NVA is down, the load balancer directs new connections to NVA which is still available but the existing connections are still sent to the NVA which is down.

    This actually a load balancer behavior by design, as documented here

    A probe failure doesn't affect existing connections. The connection continues until the application:

    • Ends the flow
    • Idle timeout occurs
    • The VM shuts down

    When Single instance's health probe is down the new TCP connections succeed to remaining healthy backend endpoint. Established TCP connections to this backend endpoint continue.

    Currently there are no work around this for Azure Load Balancer

    Based on your statement above.

    Is there maybe a different solution for load balancing all network traffic other than azure load balancer?

    You can take a look at this guide on various architectures possible for deploying highly available NVA's and Also depending on your requirements take a look at various load balancing options available in Azure.

    Hope this helps! Please let me know if you have nay questions. Thank you!


    ​​Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.