Cloud Insights 中的Hyper-V数据收集器失败清单、并显示错误:"General Error"
适用场景
- Cloud Insights (CI)
- Microsoft Hyper-V数据收集器
问题描述
- Cloud Insights中的Microsoft Hyper-V数据收集器无法收集清单、并显示一条一般错误:
General Error
通过查看
log_sample.log
清单记录文件中的、可以了解有关此错误的更多信息:
[DEBUG] Remote Host - ComputerNameSwitch - IP : 10.10.10.10 [10.10.10.10] Connecting to remote server 10.10.10.10 failed with the following error message : The client cannot connect to the destination specified in the request.
Verify that the service on the destination is running and is accepting requests. Consult the logs and documentation for the WS-Management service running on the destination, most commonly IIS or WinRM. If the destination is the WinRM service, run the following command on the destination to analyze and configure the WinRM service: "winrm quickconfig". For more information, see the about_Remote_Troubleshooting Help topic. + CategoryInfo : OpenError: (10.10.10.10:String) [], PSRemotingTransportException + FullyQualifiedErrorId : CannotConnect,PSSessionStateBroken- 检查Hyper-V节点上的WinRM服务显示该服务正在运行:
此
netstat
命令不会显示正在侦听端口5985或5986的任何内容
netstat -an | findstr /i "listen" | findstr "5985 5986"
示例:
C:\Users\Administrator> netstat -an | findstr /i "listen" | findstr "5985 5986"
C:\Users\Administrator>运行以下PowerShell命令会显示未为远程WinRM连接配置任何侦听器:
winrm enumerate winrm/config/listener