使用我的 Google Fu,我没有找到任何有关如何对损坏的 Azure 虚拟机进行故障排除的信息。它已经运行良好近 8 个月了,之前我不得不重新部署 1-2 次,因为它无法启动。
请提供任何有用的指示或向我指出一些故障排除步骤。
最佳答案
我重新部署了我的 Azure 虚拟机,也许没有等待足够长的时间就发出了支持请求并创建了这篇文章,因为我能够再次访问我的虚拟机。我从 Azure 支持专业人员那里收到了以下故障排除步骤,因此我在此分享,以防其他人遇到这些问题:
To over come this issue we can proceed to run a series of PowerShell scripts to force update the actual status of the VM on Azure backend, please follow this process:
- To easily complete this, we can launch Azure PowerShell, please go to: https://github.com/Azure/azure-powershell
- Click on “Launch Cloud Shell” button:
- On the newly open window, click on “PowerShell” link:
- Then you can run the script, as is, line per line:
$vmName = "(Your VM NAME)"
$rgName = "(Your resource Group)"
$vm = Get-AzureRmVM -ResourceGroupName $rgName -Name $vmName
update-AzureRmVM -ResourceGroupName $rgName -VM $vm
- This should bring the VM to healthy or ready state.
- Please let me know the outcome of the PS command, if successful try to start the VM.
- If it still shows as “corrupted” please share with support a screenshot of the error.
关于azure - Azure 虚拟机损坏,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54113250/