从终端重启后无法访问虚拟机 [英] VMs not accessible after rebooting from terminal

查看:81
本文介绍了从终端重启后无法访问虚拟机的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

因此,本周在不同的VM上发生了两次.在重新启动之前,一切工作正常:我可以访问正在运行的应用程序的Web界面,托管的Webapp可以正常响应,并且可以进行SSH访问.我重启了 来自终端(SSH)的VM,等待了整整10分钟后,仍然一无所有.我上面列出的任何服务都没有答案.是的,它们是在启动时启用的,这不是我第一次重新启动这些VM.我尝试取消分配虚拟机,然后重新启动它们, 但没有运气.其中一台VM未启用启动诊断程序,因此没有串行控制台,而另一台VM则提示我按ENTER键以获取登录提示,如果没有GRUB配置中的修复程序,则无法读取该登录提示.

So, it happened twice this week on different VMs. Before rebooting everything was working normally : I had access to the web interface for the application I am running, the webapp I am hosting was responding normally and I had SSH access. I rebooted the VM from the terminal (SSH) and after waiting a whole 10 min, still nothing. No answer from any of the services I listed above. And yes they are enabled at boot and it's not the first time I reboot those VMs. I tried deallocating the VMs and then restart them, but no luck. One of the VM doesn't have the Boot Diagnostic enabled so no serial console and the other one is prompting me to press ENTER to get the login prompt which I read wasn't working without a fix in the GRUB config.

 

无论如何,我做错了什么或者我可以做些什么来取回虚拟机?我们目前正在建立一个生产环境,这个问题使人们对是否应该使用Azure产生了极大的疑问.

Anyway, is there anything I'm doing wrong or anything I could do to get back my VMs ? We are currently setting up an production environment and this issue is a raising massive doubt on if we should pursue with Azure...

有关信息,一个虚拟机是标准的CentOS 7.5,在NGINX之后有2个Web应用程序,另一个是FortiWEB设备.

For info, one VM is a standard CentOS 7.5 with 2 webapps behind NGINX and the other one is a FortiWEB appliance.

感谢您的时间.

推荐答案

您可以尝试重新部署选项.这样会将虚拟机移至数据中心中的其他物理主机.

You could try the redeploy option. This moves the VM to a different physical host in the datacentre.

通常可以解决大多数问题.

Often fixes most problems.

Joe


这篇关于从终端重启后无法访问虚拟机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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