Azure VM shutdown

て烟熏妆下的殇ゞ 提交于 2019-12-10 20:36:19

问题


I have 2 VM machines on Azure. One suddenly stopped responding. It was down for around 30 minutes, until I just browsed into the Azure portal, and then I saw it was in the Starting state, and then it was up & running again.

How can I tell why my VM was shutdown?


回答1:


EDIT: I'm assuming you're talking about Virtual Machines (IaaS), and not Cloud Services (PaaS).

Virtual Machines can, and will, restart, for several reasons. For example:

  • Hardware failure, where your Virtual Machine will then be restarted on another server.
  • Host OS refresh. This is the operating system running the physical server.
  • Some type of OS crash

Also keep in mind: Virtual Machines are in Preview with no SLA today. So there wouldn't be any information readily available to you for determining why your Virtual Machine became unavailable.

If it was unavailable for 30 minutes, then this hints at something akin to a host OS update or your virtual machine being moved. If it was down for, say, 5 minutes, then I'd guess it was an OS crash.

UPDATE I just looked at the Azure Dashboard which is showing degraded Compute with Virtual Machines (see RSS feed with problem description). Perhaps this is the root cause of your particular outage...




回答2:


there are several things that might cause this to happen, your VM may have been crashed due to bad coding or bad development, the second reason I think is that the number of VM you created is not enough to the incoming traffic. this could cause your VM to restart if the number of incoming traffic is more than the number of VMs can handle.



来源:https://stackoverflow.com/questions/15280890/azure-vm-shutdown

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!