Pool Host "Needs Attention"

I had a pool host showing in the "Session Host section"  Needs Attentions.

I corrected this by running the MSI "Microsoft.RDInfra.Geneva.Installer: in the folder "C:\program files\Microsoft RDInfra\" .

The installer will has a version number at the end of the name i.e. "\Microsoft.RDInfra.Geneva.Installer-x64-46.5.1.msi"

Once I ran it and waited a few minutes it, the status change from Needs Attention to Available after refreshing  the "Session Hosts" page

3

Comments (7 comments)

Avatar
Carl Long

Great tip Moses!  I'll mention this one to our support team as well!

0
Avatar
Nerdio Whiz

Hi Moses,

This "Needs Assistance" status indicates that the VM failed one of the following non-fatal health checks: the Geneva Monitoring Agent health check, the Azure Instance Metadata Service (IMDS) health check, or the URL health check.

It sounds like it was related to the Geneva agent in your case, but the following Microsoft guidance can be referenced for troubleshooting hosts in this status: Error: Session hosts are stuck in the Needs Assistance state

Furthermore, if you navigate to the VM status in the Azure Portal (Azure Portal > Azure Virtual Desktop > Host Pools > Session Hosts > yoursessionhostname) you can check on all of the session host Health checks and see which checks are successful/failing. This is useful for if the hosts report an "Unavailable" status as well.:

2
Avatar
DStephenson

Very cool find, Moses Hull!

If someone was adventurous enough (a.k.a. had more PowerShell skills than me 😅), they could write a Scripted Action (PowerShell Script) to scan the directory, get the file name, run the installer and then pause for 3-5 minutes. From there, the scripted action could be added to the Run scripted actions after restart attempts of the Auto-Heal Broken Hosts section of the Auto-Scale Settings

1
Avatar
Moses Hull
(Edited )

$path = "C:\program files\Microsoft RDInfra\Microsoft.RDInfra.Geneva.Installer*"
$msifile = Get-childitem $path | select -ExpandProperty Name
$program = '"C:\program files\Microsoft RDInfra\'+ $msifile + '"'
start-process -WAIT -FilePath $program  -ArgumentList "/qn"

3
Avatar
DStephenson

So speedy!

1
Avatar
Moses Hull

Found a bug in the script. Give me a minute to correct it.

 

0
Avatar
Moses Hull

corrected.

0

Please sign in to leave a comment.