azure - Azure 虚拟机损坏

标签 azure virtual-machine

使用我的 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/

相关文章:

azure - 有没有办法恢复因长度过长而被截断的完整 Application Insights 消息?

database - Azure 表存储 (NoSQL) 中的单独表与一张大表

linux - 如何通过 SSH 远程连接到我的 Linux VirtualBox?

timezone - 谷歌计算引擎实例时区自动更改为UTC

c++ - piping stockfish 在 fedora 中行为不端

c - 如何从字节码解释器写入标准输出?

sql - 如何获取 Azure SQL 事务日志

azure - 如何在 Azure SSAS 上部署多维数据集(XMLA 格式)

SQL Azure Rest api BeginExport...如何检查导出是否完成

macos - 我可以使用虚拟机代替物理机进行MacOS设备驱动程序开发吗?