码迷,mamicode.com
首页 > 其他好文 > 详细

"the hypervisor is not running" 故障

时间:2017-02-27 11:07:54      阅读:202      评论:0      收藏:0      [点我收藏+]

标签:故障   虚拟化   hyper-v   

在我们日常服务器管理中,常常会遇到创建虚拟机,如果在一台新部署的 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 默认开启)。

技术分享

技术分享

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

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

技术分享  

技术分享  

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

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

技术分享

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

技术分享

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

技术分享

其次,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

技术分享

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

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>

本文出自 “Albert Dongjie Tech Blog” 博客,请务必保留此出处http://djclouds.blog.51cto.com/7223084/1901516

"the hypervisor is not running" 故障

标签:故障   虚拟化   hyper-v   

原文地址:http://djclouds.blog.51cto.com/7223084/1901516

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!