Hyper-V troubleshooting commands

Check WinRM

Relevant information

Get-WSManInstance winrm/config/Listener -Enumerate -ComputerName Localhost winrm quickconfig winrm get winrm/config/service/Auth winrm get winrm/config/winrs

We can also get all the information with

winrm get winrm/config winrm enumerate winrm/config/listener

Check the needed configuration for overthere cifs connection here https://github.com/xebialabs/overthere#cifs

Check firewall

All these ports should be open so these rules need to be enabled for the user profile

netsh advfirewall firewall show rule direction=in name='Windows Remote Management (HTTPS-In)' netsh advfirewall firewall show rule direction=in name='File Server Remote Management (DCOM-In)' netsh advfirewall firewall show rule direction=in name='File and Printer Sharing (SMB-In)' netsh advfirewall firewall show rule direction=in name='Hyper-V (REMOTE_DESKTOP_TCP_IN)'

Also we can dump configuration and check manually the rules/ports enabled

Check Windows version

Versions are explained here: https://docs.microsoft.com/en-us/windows/win32/api/winnt/ns-winnt-osversioninfoexa

Check host discovery commands

  • Check Abiquo scripts are there

  • Check usual commands needed to discover hostinfo, volumes, etc.

References:

https://wiki.abiquo.com/display/doc/Hyper-V
https://wiki.abiquo.com/display/DEVOPS/Hyper-V+Configuration

Copyright © 2006-2024, Abiquo Holdings SL. All rights reserved