Xendesktop failed to acquire license

I have some Windows 10 Xendesktop hosts running with M10-1B profiles. This all worked fine. Recently I had to rebuild the citrix MCS catalogs and now my hosts can’t acquire a license. At the same time, I rebuilt Azure AD Connect which is co-hosted on the Grid license server.

The license server appears to be working fine however I am not sure how to test connectivity to the license port remotely. I cannot access http://licenseserver:7070. I am still running with the trial license and have 40 vDWS licenses available.

TIA

Mat.

Thanks for the extra info. I have tried disabling the local firewalls on the client and license server and I have moved them to be on the same subnet to avoid an cross subnet firewall all with no difference.

I have tested all the URLs and they all respond with responses to the client suggesting the license server is indeed working. I have also used currports to check 7070 is listening on the server.

Is there a log somewhere on the license server which might show the communication with the client and why it isn’t getting a license?

Sorry - I can’t find that dir on either server or client? I am using Windows for both client and server if that makes a difference. I can only find a bunch of tomcat, Catalina, host-manager, and localhost log files. No access logs?

I have also tried provisioning a new set of VDI hosts but the issue persists although it does try a lot to get a license constantly cycling between acquiring and failing.

I found in another post there can be problems if you acquire a license in the original image before imaging. Are you aware of any issues and is there a clean way of removing the license from the image?

Check out this blog post which has some good workarounds if the user session is begin established prior to the NVIDIA license being applied:

Path: HKLM\SOFTWARE\NVIDIA Corporation\Global\GridLicensing
Type: DWORD
Name: IgnoreSP
Value: 1

KB Article(s) here:
http://nvidia.custhelp.com/app/answers/detail/a_id/4638/~/grid-license-not-acquired-in-time-for-first-user-logon%2C-or-i-log-in-and-screen

http://nvidia.custhelp.com/app/answers/detail/a_id/4643/~/issues-in-remote-desktop-sessions-if-a-license-is-acquired-after-a-session-is

Thanks for the new info. I have already applied that registry key though. My issue now is that I am not able to acquire a license at all. It just reports Failed to acquire license in a popup notification. Then cycles around to acquiring license…

OK - I found the log files on a Windows server are located at C:\Windows\ServiceProfiles\NetworkService\flexnetls\nvidia\logs and from this I found that there is an error -

16:37:26,626 WARN Unable to handle request for feature GRID-Virtual-PC 2.0 count=1. Reason: FEATURE_NOT_AVAILABLE.
16:37:29,416 WARN Unable to handle request for feature GRID-Virtual-WS 2.0 count=1. Reason: FEATURE_NOT_AVAILABLE.
16:37:32,158 WARN Unable to handle request for feature Quadro-Virtual-DWS 5.0 count=1. Reason: FEATURE_SERVER_HOST_ID_MISMATCH.
16:37:34,884 WARN Unable to handle request for feature GRID-Virtual-WS-Ext 2.0 count=1. Reason: FEATURE_NOT_AVAILABLE.

This is repeated over and over.

Hi Matman,

from the message HOST_ID mismatch I would first of all check your licserver. Seems there is something changed (MAC or IP for example) so that the lic file is not valid any more.

Regards

Simon

Thanks Simon. That’s what I was figuring. Found that I had to set the MAC address to static as the license server had live migrated to a new host and received a new MAC address.

Set it to static with the one used on the license and all is back to normal.