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