gpt4 book ai didi

azure - Azure 虚拟机损坏

转载 作者:行者123 更新时间:2023-12-03 01:04:02 25 4
gpt4 key购买 nike

使用我的 Google Fu,我没有找到任何有关如何对损坏的 Azure 虚拟机进行故障排除的信息。它已经运行良好近 8 个月了,之前我不得不重新部署 1-2 次,因为它无法启动。

请提供任何有用的指示或向我指出一些故障排除步骤。

enter image description here

最佳答案

我重新部署了我的 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:

Launch Cloud Shell

  • On the newly open window, click on “PowerShell” link:

Powershell

  • 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/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com