"the hypervisor is not running" 故障

简介:

在我们日常服务器管理中,常常会遇到创建虚拟机,如果在一台新部署的 Hyper-V 上新建一个 Virtual Machine 时,出现错误信息:"The virtual machine could not be started because the hypervisor is not running”, 我们会如何处理呢?

在解决这个问题之前,先了解一下 hypervisor ,Hypervisor 是一个存在于操作系统之下的软件层,直接位于硬件之上。它能够处理许多以前在虚拟机管理软件中完成的功能。这种模型非常小并且高效,使得它们以在真实机上运行的速度来运行。当然大家会想到,Hypervisor是否需要自己驱动程序?其实Hypervisor 不需要自己的驱动,利用支持虚拟化的处理器。例如:启动了 AMD-V 或者 Intel VT 的处理器。

在我们运行主机时,尝试启动虚拟机时,可能还会看到以下错误消息。“The virtual machine could not be started because the hypervisor is not running”

要完全实现正常安装并使用Hyper-V,除了需要软件条件,还需要硬件条件才行

安装 "Hyper-V"虚拟化的先决条件:Windows Server 虚拟化需要特定的CPU:

- 基于 x64: Windows Server 虚拟化功能只在 x64 版本的 Windows Server 2008 标准版、企业版和数据中心版中提供。

 硬件辅助虚拟化: 需要具有虚拟化选项的特定CPU,即包含 Intel VT(Vanderpool Technology)或 AMD Virtualization (AMD-V,代号 "Pacifica")功能的CPU。

- 硬件数据执行保护(DEP),而且被开启(如果CPU支持 Server 2008 默认开启)。

clip_image001

clip_image002

在错误提示中,我们也发现,Hyper-V需要硬件支持,包括:x64 CPU; VT(Intel)或AMD-V(AMD)硬件扩展;检查物理计算机的BIOS设置以确保启用了虚拟化功能 。

当然要检查计算机是否满足硬件要求,CPU制造商提供适当的工具去检查

clip_image003  

clip_image003[1]  

通过Intel Processor Identification Utility检查CPU是否支持

a.首先我们从官方网站下载适当工具(如语言包)并安装

clip_image004

b.傻瓜式安装完成之后对CPU 进行检查;

clip_image005

C,确保硬件CPU支持虚拟化扩展

clip_image006

其次,BCD存储包含引导配置参数,控制Windows Vista和Windows Server 2008操作系统中如何启动操作系统。这些参数先前位于Boot.ini文件(基于BIOS的操作系统)或非易失性RAM(NVRAM)条目(基于可扩展固件接口的操作系统)中。

可以使用Bcdedit.exe命令行工具,引用的正确启动选项更新BCD存储,然后重新启动服务器。默认情况下,Bcdedit.exe位于\ Windows \ System32目录中。

需要注意的是:需要管理员权限才能使用bcdedit修改更新BCD存储。且BCD数据存储是注册表配置单元,不正确地编辑注册表可能会严重损坏您的系统。在更改注册表之前,您应该备份任何重要的数据。

有关BCD存储的更多信息,请参阅引导配置数据存储的工作原理

http://technet.microsoft.com/en-us/library/cc770770(WS.10).aspx

clip_image007

最后我们看看看常见事件日志

Product:

Windows Operating System

ID: 3112

Source: Microsoft-Windows-Hyper-V-Worker

Version: 6.0

Symbolic Name: MSVML_WP_INIT_HYPERVISOR_NOT_RUNNING_ERROR

Message:

The virtual machine could not be started because the hypervisor is not running. The following actions may help you resolve the problem:%r

1) Verify that the processor of the physical computer has a supported version of hardware-assisted virtualization.%r

2) Verify that hardware-assisted virtualization and hardware-assisted data execution protection are enabled in the BIOS of the physical computer. (If you edit the BIOS to enable either setting, you must turn off the power to the physical computer and then turn it back on. Restarting the physical computer is not sufficient.)%r

3) If you have made changes to the Boot Configuration Data store, review these changes to ensure that the hypervisor is configured to launch automatically.%r

来自 <https://technet.microsoft.com/zh-cn/library/dd581879(v=ws.10).aspx>






      本文转自惊艳了青春 51CTO博客,原文链接:http://blog.51cto.com/djclouds/1901516,如需转载请自行联系原作者




相关文章
|
关系型数据库 块存储
ceph 故障分析(backfill_toofull)
在执行了 ceph 扩容之前, 发现长时间内都具有下面的状态存在 参考下面信息 # ceph -s cluster dc4f91c1-8792-4948-b68f-2fcea75f53b9 health HEALTH_WARN 13 pgs backfill_toofull; 1 pgs degraded; 1 pgs stuck degraded
6940 0
|
运维 开发工具 虚拟化
【运维排错】ESXI虚拟化主机时启动报错 Error 33 (Inconsistent data)
2202年了,大家应该还在用VMware的vSphere套件吧?不会大家的虚拟化方案都不用VMware了吧?不会吧不会吧W
5221 0
【运维排错】ESXI虚拟化主机时启动报错 Error 33 (Inconsistent data)
|
运维 Unix
aix下盘镜像故障
故障处理步骤
97 0
|
Kubernetes 监控 Perl
k8s 监控程序Metric-server pod运行异常报:it doesn't contain any IP SANs
k8s 监控程序Metric-server pod运行异常:出现 metrics-server error because it doesn't contain any IP SANs 解决方法
5080 0
|
虚拟化
VMware故障案例分享-ESXi 6.7异常重启
一台VSAN环境下的ESXi 6.7异常重启分析
3745 0
|
传感器 虚拟化 网络虚拟化