Azure Migrate Appliance - Unable to Validate HyperV Cluster - WinRM error
Dale
5
Reputation points
I am running into an error where the Azure Migration appliance will not validate a HyperV cluster with 2 servers.
Worked through: https://learn.microsoft.com/en-us/azure/migrate/tutorial-discover-hyper-v
- Ran the Hyper-V prep script "MicrosoftAzureMigrate-Hyper-V.ps1" as described in the documentation, finished without errors.
- Created the project and generated keys
- Downloaded the VHD and set up the appliance
- Connected to the web interface
- Followed all the Setup Prerequisites by running the script on both hosts, all finished successfully.
- Registered the appliance successfully - was able to confirm in Azure Portal and see the appliance
- Set up domain admin credentials in the domain\username format with password
- Added the cluster as a discovery source
- Validation fails with error "Server '[ClusterName]' WinRM cannot complete the operation - Verify that the specified computer name is valid, that the computer is accessible over the network, and that a firewall exception for the WinRM service is enabled and allows Access from this computer"
- Modified firewall of each cluster host server to ensure WinRM was allowed from public
- Tried pointing to an individual server, appliance detected cluster and changed to the cluster automatically.
- Re-Validation same failure
- Tried "enforce SSL" same failure.
- Verified the time on the migration appliance, time and time zone are correct
- Ran the "#Needs client/Appliance side settings change" from the "MicrosoftAzureMigrate-Hyper-V.ps1" script, validation still failed.
Screenshot of the error:
Additional troubleshooting performed:
From the Hyper-V host servers (both):
- Verified time was correct
- Verified they are on the domain
- Verified they are using a supported OS (Server 2016)
- Verified we can log in using the same username and password as was being used by the appliance
- Ran “winrm quickconfig” finished out saying it was already installed.
From the migration appliance:
- Enter-PSSession -ComputerName "[cluster address]" -Credential $Creds
- Same credentials as is being used on the appliance
- Able to access Cluster with same creds used by appliance from the appliance.
- Test-wsman -computerName "[Host1]" -Credential $creds -Authentication Default
- Same credentials as is being used on the appliance
- Get a positive response
- Test-wsman -computerName "[Host2]" -Credential $creds -Authentication Default
- Same credentials as is being used on the appliance
- Get a positive response
- Test-wsman -computerName "[cluster]" -Credential $creds -Authentication Default
- Same credentials as is being used on the appliance
- Get a positive response
- Get-Item WSMan:\localhost\Client\TrustedHosts
- Returns "*", so all should be good.
- Dug through Event logs with nothing really standing out.
After looking through the communities and Google, I am not finding a lot on this error. Any help would be appreciated.
Azure Migrate
Azure Migrate
A central hub of Azure cloud migration services and tools to discover, assess, and migrate workloads to the cloud.
Sign in to answer