How to handle ConnectionFailedOrchestrationFailureOnUnhealthyHost Errors

Brass Contributor

Hi, 

We have have been using the GA version the WVD in our production environment and have also configured ARM based auto-scaling tool that leverages automation account and logic app to turn ON and OFF session hosts based on the peak time and user connections. We also have configured the monitoring in the environment and we are using the workbook released by the engineering team to monitor different details of the environment like session host health, session details etc. 

 

Auto scale configuration: 

Host pool mode - shared

Host pool connection threshold - 5

Each session host instance - 2 vCores

Sessions allowed per core - 4

 

Problem:

Mostly it works fine, however some times we are seeing constant logs appearing in the session details mentioning this and these appear during peak times when auto-scale comes in the action. 

 

Error: 

ConnectionFailedOrchestrationFailureOnUnhealthyHost: Failed orchestration on session host ≤session_host_name≥ id=d4xyus-fap2-av5c-a321-990g58b411c with state Unhealthy.

 

Potential cause:

We suspect that when the allowed connection for session host / session host threshold is hit i.e. 5 connections - auto scale clearly is starting new session host however the WVD load balancer is not really waiting for host to be fully ready and is redirecting new user sessions to this freshly started session host and that is causing the error. 

 

Can someone share insights on this or if our understanding is correct then what could be the potential fix for this issue?

 

Thanks in advance. 

1 Reply

We tried opening a support ticket for this with Azure, however have been informed that this is unsupported and scaling tool itself is not meant to be used in the production environment since wvd engineering team is still working on it?

have reported same issue on the RDS-Templates git https://github.com/Azure/RDS-Templates/issues/552 for further clarification and assistance.

 

If in case anyone has any clue - please respond to this thread.