英伟达
直播中

赖治添

7年用户 212经验值
私信 关注
[问答]

Xendesktop未能获得许可证

我有一些运行M10-1B配置文件的Windows 10 Xendesktop主机。
这一切都很好。
最近我不得不重建citrix MCS目录,现在我的主机无法获得许可证。
与此同时,我重建了Azure AD Connect,它是在Grid许可证服务器上共同托管的。
许可证服务器似乎工作正常,但我不确定如何远程测试与许可证端口的连接。
我无法访问http:// licenseserver:7070。
我仍然使用试用许可证并拥有40个vDWS许可证。
tiA
垫。

以上来自于谷歌翻译


以下为原文

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.

回帖(9)

张静

2018-9-20 11:58:28
您应该检查从guest虚拟机到许可证服务器的所有防火墙。
“http:// licenseserver:7070”正确答案应为“404 Not Found”(许可证流程使用REST API POST“http:// licenseserver:7070 / request”)。
#curl -v http:// licenseserver:7070
*重建URL到:http:// licenseserver:7070 /
*尝试许可证服务器......
* TCP_NODELAY设置
*连接到licenseserver(licenseserver)端口7070(#0)
> GET / HTTP / 1.1
>主持人:licenseserver:7070
> User-Agent:curl / 7.59.0
>接受:* / *
>
更多要测试的网址(标准浏览器GET方法):
HTTP:// LICENSESERVER:7070 / API / 1.0 /健康
HTTP:// LICENSESERVER:7070 / API / 1.0 /配置/元数据
HTTP:// LICENSESERVER:7070 / API / 1.0 /主机标识
HTTP:// LICENSESERVER:7070 / API / 1.0 /实例/〜
HTTP:// LICENSESERVER:7070 / API / 1.0 /实例/〜/客户端
HTTP:// LICENSESERVER:7070 / API / 1.0 /实例/〜/特征

以上来自于谷歌翻译


以下为原文

You should check all firewalls from guest to license server. The "http://licenseserver:7070" correct answer should be "404 Not Found" (license process uses REST API POST "http://licenseserver:7070/request").

# curl -v http://licenseserver:7070
* Rebuilt URL to: http://licenseserver:7070/
*   Trying licenseserver...
* TCP_NODELAY set
* Connected to licenseserver (licenseserver) port 7070 (#0)
> GET / HTTP/1.1
> Host: licenseserver:7070
> User-Agent: curl/7.59.0
> Accept: */*
>
< HTTP/1.1 404 Not Found
< Date: Thu, 28 Jun 2018 09:28:29 GMT
< X-Content-Type-Options: nosniff
< X-XSS-Protection: 1; mode=block
< Cache-Control: no-cache, no-store, max-age=0, must-revalidate
< Pragma: no-cache
< Expires: 0
< X-Frame-Options: DENY
< Content-Type: application/json
< Transfer-Encoding: chunked
<
{
  "arguments" : [ "uri=/", "GET", "(unknown)" ],
  "message" : "No such REST API and METHOD combination supported: uri=/ with GET for user (unknown)",
  "key" : "glsErr.restNoSuchApi"
* Connection #0 to host licenseserver left intact
}

More urls to test (standard browser GET method):

http://licenseserver:7070/api/1.0/health
http://licenseserver:7070/api/1.0/configuration/metadata
http://licenseserver:7070/api/1.0/hostids
http://licenseserver:7070/api/1.0/instances/~
http://licenseserver:7070/api/1.0/instances/~/clients
http://licenseserver:7070/api/1.0/instances/~/features
举报

向芹

2018-9-20 12:14:26
感谢您的额外信息。
我已经尝试禁用客户端和许可证服务器上的本地防火墙,我已将它们移动到同一子网上,以避免交叉子网防火墙全部没有区别。
我已经测试了所有的URL,它们都响应客户端的响应,表明许可证服务器确实在工作。
我还使用currports来检查7070正在服务器上监听。
许可证服务器上是否有某个日志可能显示与客户端的通信以及为什么它没有获得许可证?

以上来自于谷歌翻译


以下为原文

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?
举报

刘军

2018-9-20 12:27:10
/var/opt/flexnetls/nvidia/logs/access*request.log中的许可证请求类似于(检查其他日志):
guest_ip  -   -  [28 / Jun / 2018:10:17:08 +0000]“POST / request HTTP / 1.1”200 889 271

以上来自于谷歌翻译


以下为原文

License request in /var/opt/flexnetls/nvidia/logs/access*request.log is something like (check other logs too):

guest_ip - - [28/Jun/2018:10:17:08 +0000] "POST /request HTTP/1.1" 200 889  271
举报

梁若莲

2018-9-20 12:33:50
对不起 - 我在服务器或客户端都找不到该目录?
如果有所不同,我将Windows用于客户端和服务器。
我只能找到一堆tomcat,Catalina,host-manager和localhost日志文件。
没有访问日志?
我也尝试过配置一组新的VDI主机,但问题仍然存在,尽管它在尝试获取和失败之间不断循环时会尝试很多。
我在另一篇文章中发现,如果您在成像前获得原始图像的许可证可能会出现问题。
您是否了解任何问题,是否有从图像中删除许可证的简洁方法?

以上来自于谷歌翻译


以下为原文

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?
举报

更多回帖

发帖
×
20
完善资料,
赚取积分