在Azure上强制停止Linux VM [英] Force a stop of Linux VM on Azure

查看:87
本文介绍了在Azure上强制停止Linux VM的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正试图停止Linux VM以便从备份中还原osdisk.

we are trying to stop a Linux VM to restore the osdisk from backup.

但是至少不会超过45分钟.

But it wont since more than 45 Minutes at least.

AZ CLI,门户网站,Powershell-没有重新分配虚拟机的情况.

AZ CLI, Portal, Powershell - nothing does deallocated the VM.

如何强制停止?

推荐答案

如果我正确理解,则您的VM当前处于释放状态.不管使用哪种API,VM都仍在取消分配.

If I am understanding correctly, your VM is currently stuck in a deallocation state. Regardless of what API you use the VM is still deallocating. 

有时,如果您从不同的API发送多个取消分配请求或多次提交相同的请求,则它们可以在后端建立.一次操作的超时时间约为90分钟. 90分钟后,您应该会得到某种更好的解释的错误 这正在发生.

Sometimes if you send multiple deallocate requests from different APIs or submit the same one multiple times they can build up on the backend. The timeout for an operation is about 90 mins. After 90 mins you should get an error of some sort better explaining that is happening. 

门户中VM的状态是什么?它显示取消分配吗?还是过了一段时间才转为失败状态?停止命令是否会超时并产生错误? 

What is the state of the VM in the portal? Does it show Deallocating? Or after a while did it move to a failed state? The the stop commands ever timeout and produce an error? 


这篇关于在Azure上强制停止Linux VM的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆