- Microsoft windows hyper v vmms admin
- Общие обсуждения
- Все ответы
- The Hyper-V Virtual Machine Management service must be running
- Issue
- Impact
- Resolution
- To reconfigure the service to start automatically using the Services desktop app
- To reconfigure the service to start automatically using SC Config
- To restart the service from Hyper-V Manager
- Установка Hyper-V в Windows 10 Install Hyper-V on Windows 10
- Проверьте следующие требования Check Requirements
- Включение Hyper-V с помощью PowerShell Enable Hyper-V using PowerShell
- Включение Hyper-V с помощью CMD и DISM Enable Hyper-V with CMD and DISM
- Включение роли Hyper-V с помощью раздела «Параметры» Enable the Hyper-V role through Settings
- Архитектура Hyper-V Hyper-V Architecture
Microsoft windows hyper v vmms admin
Общие обсуждения
Имеется сервер Windows Server 2012 с ролью Hyper-V. Периодически в журнале событий регистрируется ошибка:
Не удается загрузить конфигурацию виртуальной машины: Не удается найти указанный файл. (0x80070002). (ИД виртуальной машины: F76AC026-2E77-4BEB-BEA8-4503E9BB8148)
Что это за проблема?
- Изменен тип Petko Krushev Microsoft contingent staff, Moderator 7 июля 2015 г. 12:35
Все ответы
Еще одна подобная ошибка.
Не удается загрузить конфигурацию виртуальной машины: Невозможно создать файл, так как он уже существует. (0x800700B7). (ИД виртуальной машины: AD0B907D-92DC-4F95-AFF3-58E69C027AF9)
Конфигурация виртуальной машины — это файл на жестком диске. По какой-то причине Hyper-V не может нормально с ним работать.
Где ВМ лежит — в директории Hyper-V по умолчанию или где-то в другом месте? Права доступа там перенастраивали?
Evgeniy Lotosh // MCSE: Server infrastructure, MCSE: Messaging
Файлы лежат на общем дисковом пространстве. Используется технология CSV. Сам сервер является членом кластера Hyper-V.
Если такие ошибки возникают на томе CSV, и вы не меняли права доступа, то вам следует исследовать журнал системы на хостах на предмет ошибок и задержек ввода-вывода на кластерных томах.
Что у вас за СХД? Тип подключения — FC, iSCSI. MPIO используется, и если да, то виндовый или от вендора?
Evgeniy Lotosh // MCSE: Server infrastructure, MCSE: Messaging
СХД: Dell MD3220i. Подключение iSCSI. MPIO используется. Установлено программное обеспечение поддержки от Dell.
Еще в журнале событий я периодически вижу ошибку:
Инициатору не удалось отправить PDU iSCSI. Состояние ошибки содержится в данных дампа.
Но если я попробую попинговать интерфейсы дисковой подсистемы, то они всегда отвечают. Пропущенных пакетов не вижу.
Еще одна похожая ошибка.
Не удается найти описание для идентификатора события 16300 из источника Microsoft-Windows-Hyper-V-VMMS. Вызывающий данное событие компонент не установлен на этом локальном компьютере или поврежден. Установите или восстановите компонент на локальном компьютере.
Если событие возникло на другом компьютере, возможно, потребуется сохранить отображаемые сведения вместе с событием.
К событию были добавлены следующие сведения:
21AC0ECA-453D-4215-9DB0-08F3F844C298
%%2147942402
0x80070002
Отсутствует специальный ресурс языкового стандарта для нужного сообщения
The Hyper-V Virtual Machine Management service must be running
Applies To: Windows Server 2016
For more information about best practices and scans, see Best Practices Analyzer.
Property | Details |
---|---|
Operating System | Windows Server 2016 |
Product/Feature | Hyper-V |
Severity | Error |
Category | Prerequisites |
In the following sections, italics indicates UI text that appears in the Best Practices Analyzer tool for this issue.
Issue
The service required to manage virtual machines is not running.
Impact
No virtual machine management operations can be performed.
Virtual machines that are running will continue to run. However, you won’t be able to manage virtual machines, or create or delete them until the service is running.
Resolution
Use the Services snap-in or Sc config command-line tool to reconfigure the service to start automatically.
If you can’t find the service in the desktop app or the command-line tool reports that the service doesn’t exist, the Hyper-V Management tools probably aren’t installed. And if you are not able to see the Hyper-V MMC console from the Start menu, you should install the Hyper-V Management Tools.
To install the Hyper-V Management tools:
- On Windows Server, open Server Manager and use the Add Roles and Features wizard. For more details, see Install the Hyper-V role on Windows Server 2016. You can also use PowerShell to install the tools ( Install-WindowsFeature -Name Hyper-V-Tools, Hyper-V-PowerShell )
- On Windows, from the Desktop, begin typing programs, click Programs and Features (Control panel) >Turn Windows features on or off >Hyper-V >Hyper-V Management Tools. Then, click OK.
To reconfigure the service to start automatically using the Services desktop app
Open the Services desktop app. (Click Start, click in the Start Search box, type services.msc, and then press ENTER.)
In the details pane, right-click Hyper-V Virtual Machine Management, and then click Properties.
On the General tab, in Startup type, click Automatic.
To start the service, click Start.
To reconfigure the service to start automatically using SC Config
Open Windows PowerShell. (From the desktop, click Start and start typing Windows PowerShell.)
Right-click Windows PowerShell and click Run as administrator.
To reconfigure the service, type:
To start the service, type:
If the service is already configured to start automatically and you just need to restart the service, you can do that from Hyper-V Manager, or from the sc start vmms command shown above.
To restart the service from Hyper-V Manager
Open Hyper-V Manager. Click Start, point to Administrative Tools, and then click Hyper-V Manager.
In the navigation pane, click the name of the server if it’s not already selected.
In the Actions pane, click Start Service.
Установка Hyper-V в Windows 10 Install Hyper-V on Windows 10
Включение Hyper-V для создания виртуальных машин в Windows 10. Enable Hyper-V to create virtual machines on Windows 10.
Hyper-V можно включить разными способами, в том числе используя панель управления Windows 10, PowerShell или с помощью средства обслуживания образов развертывания и управления ими (DISM). Hyper-V can be enabled in many ways including using the Windows 10 control panel, PowerShell or using the Deployment Imaging Servicing and Management tool (DISM). В этом документе последовательно описан каждый из указанных способов. This documents walks through each option.
Примечание. Механизм Hyper-V встроен в Windows в качестве дополнительной функции. Скачать Hyper-V нельзя. Note: Hyper-V is built into Windows as an optional feature — there is no Hyper-V download.
Проверьте следующие требования Check Requirements
- Windows 10 Корпоративная, Pro или для образовательных учреждений Windows 10 Enterprise, Pro, or Education
- 64-разрядный процессор с поддержкой преобразования адресов второго уровня (SLAT). 64-bit Processor with Second Level Address Translation (SLAT).
- Поддержка расширения режима мониторинга виртуальной машины (технология VT-c на компьютерах с процессорами Intel). CPU support for VM Monitor Mode Extension (VT-c on Intel CPUs).
- Не менее 4 ГБ оперативной памяти. Minimum of 4 GB memory.
Роль Hyper-V невозможно установить в Windows 10 Домашняя. The Hyper-V role cannot be installed on Windows 10 Home.
Выполните обновление с выпуска Windows 10 Домашняя до выпуска Windows 10 Pro, открыв раздел Параметры > Обновление и безопасность > Активация. Upgrade from Windows 10 Home edition to Windows 10 Pro by opening up Settings > Update and Security > Activation.
Дополнительные сведения и советы по устранению неполадок см. в статье Требования к системе для Hyper-V в Windows 10. For more information and troubleshooting, see Windows 10 Hyper-V System Requirements.
Включение Hyper-V с помощью PowerShell Enable Hyper-V using PowerShell
Откройте консоль PowerShell от имени администратора. Open a PowerShell console as Administrator.
Выполните следующую команду. Run the following command:
Если не удается найти команду, убедитесь, что вы используете PowerShell от имени администратора. If the command couldn’t be found, make sure you’re running PowerShell as Administrator.
По завершения установки выполните перезагрузку. When the installation has completed, reboot.
Включение Hyper-V с помощью CMD и DISM Enable Hyper-V with CMD and DISM
Система обслуживания образов развертывания и управления ими (DISM) позволяет настраивать ОС Windows и образы Windows. The Deployment Image Servicing and Management tool (DISM) helps configure Windows and Windows images. Помимо всего прочего? средство DISM может включать функции Windows во время выполнения операционной системы. Among its many applications, DISM can enable Windows features while the operating system is running.
Чтобы включить роль Hyper-V с помощью DISM, выполните указанные ниже действия. To enable the Hyper-V role using DISM:
Запустите PowerShell или сеанс CMD от имени администратора. Open up a PowerShell or CMD session as Administrator.
Введите следующую команду: Type the following command:
Дополнительные сведения о DISM см. в разделе Техническое руководство по DISM. For more information about DISM, see the DISM Technical Reference.
Включение роли Hyper-V с помощью раздела «Параметры» Enable the Hyper-V role through Settings
Щелкните правой кнопкой мыши кнопку Windows и выберите пункт «Приложения и компоненты». Right click on the Windows button and select ‘Apps and Features’.
Выберите Программы и компоненты справа в разделе связанные параметры. Select Programs and Features on the right under related settings.
Выберите пункт Включение или отключение компонентов Windows. Select Turn Windows Features on or off.
Выберите Hyper-V и нажмите кнопку ОК. Select Hyper-V and click OK.
После завершения установки вам будет предложено перезапустить компьютер. When the installation has completed you are prompted to restart your computer.
Архитектура Hyper-V Hyper-V Architecture
Hyper-V — это технология виртуализации на базе низкоуровневой оболочки (или по-другому «гипервизора») для отдельных 64-разрядных версий Windows. Hyper-V is a hypervisor-based virtualization technology for certain x64 versions of Windows. Гипервизор ключевым компонентом технологии виртуализации. The hypervisor is core to virtualization. Это процессор-зависимая платформа виртуализации, позволяющая нескольким изолированным операционным системам использовать общую аппаратную платформу. It is the processor-specific virtualization platform that allows multiple isolated operating systems to share a single hardware platform.
Hyper-V поддерживает изоляцию по разделам. Hyper-V supports isolation in terms of a partition. Раздел — это логическая единица изоляции, поддерживаемая гипервизором, в котором работают операционные системы. A partition is a logical unit of isolation, supported by the hypervisor, in which operating systems execute. У гипервизора Майкрософт должен быть по крайней мере один корневой (или по-другому «родительский») раздел под управлением Windows. The Microsoft hypervisor must have at least one parent, or root, partition, running Windows. Стек виртуализации запускается в родительском разделе и обладает прямым доступом к аппаратным устройствам. The virtualization management stack runs in the parent partition and has direct access to hardware devices. Затем корневой раздел порождает дочерние разделы, в которых и располагаются гостевые ОС. The root partition then creates the child partitions which host the guest operating systems. Корневой раздел создает дочерние с помощью API-интерфейса гипервызова. A root partition creates child partitions using the hypercall application programming interface (API).
У разделов нет доступа к физическому процессору и они не обрабатывают прерывания процессора. Partitions do not have access to the physical processor, nor do they handle the processor interrupts. Вместо этого у них есть виртуальное представление процессора и они выполняются в виртуальном адресном пространстве, которое является частным для каждого гостевого раздела. Instead, they have a virtual view of the processor and run in a virtual memory address region that is private to each guest partition. Гипервизор управляет прерываниями процессора и перенаправляет их в соответствующий раздел. The hypervisor handles the interrupts to the processor, and redirects them to the respective partition. Кроме того, Hyper-V может аппаратным образом ускорять преобразование адресов между различными гостевыми виртуальными адресными пространствами с помощью модуля управления вводом/выводом памяти (IOMMU, Input Output Memory Management Unit), который работает независимо от аппаратного управления памятью, используемого процессором. Hyper-V can also hardware accelerate the address translation between various guest virtual address spaces by using an Input Output Memory Management Unit (IOMMU) which operates independent of the memory management hardware used by the CPU. Модуль IOMMU используется для изменения сопоставления адресов физической памяти с адресами, которые используют дочерние разделы. An IOMMU is used to remap physical memory addresses to the addresses that are used by the child partitions.
У дочерних разделов также отсутствует прямой доступ к другим аппаратным ресурсам оборудования и есть виртуальное представление ресурсов в виде виртуальных устройств (VDev). Child partitions also do not have direct access to other hardware resources and are presented a virtual view of the resources, as virtual devices (VDevs). Запросы к виртуальным устройствам перенаправляются через шину VMBus или через гипервизор к устройствам, находящимся в родительском разделе, который обрабатывает эти запросы. Requests to the virtual devices are redirected either via the VMBus or the hypervisor to the devices in the parent partition, which handles the requests. VMBus — это логический канал, по которому осуществляется взаимодействие между разделами. The VMBus is a logical inter-partition communication channel. В родительских разделах находятся поставщики служб виртуализации (VSP, Virtualization Service Provider), которые подключаются к шине VMBus и обрабатывают запросы на доступ к устройствам от дочерних разделов. The parent partition hosts Virtualization Service Providers (VSPs) which communicate over the VMBus to handle device access requests from child partitions. В дочерних разделах находятся клиенты служб виртуализации (VSC, Virtualization Service Client), которые перенаправляют запросы устройств через шину VMBus к поставщикам VSP родительского раздела. Child partitions host Virtualization Service Consumers (VSCs) which redirect device requests to VSPs in the parent partition via the VMBus. Этот процесс прозрачен для гостевой ОС. This entire process is transparent to the guest operating system.
Виртуальные устройства также могут использовать функцию виртуализации Windows Server под названием Enlightened I/O для подсистем хранения, сети, графической подсистемы и подсистемы ввода. Virtual Devices can also take advantage of a Windows Server Virtualization feature, named Enlightened I/O, for storage, networking, graphics, and input subsystems. Enlightened I/O — это специализированная, ориентированная на виртуализацию реализация протоколов связи высокого уровня (например SCSI), которые используют шину VMBus напрямую, в обход уровня эмуляции устройств. Enlightened I/O is a specialized virtualization-aware implementation of high level communication protocols (such as SCSI) that utilize the VMBus directly, bypassing any device emulation layer. Это обеспечивает более эффективное взаимодействие, но требует наличия гостевой системы с поддержкой Enlightened I/O, которая знает о гипервизоре и VMBus This makes the communication more efficient but requires an enlightened guest that is hypervisor and VMBus aware. Технология Hyper-V Еnlightened I/O и ядро с поддержкой определения гипервизора предоставляются при установке компонентов интеграции Hyper-V. Hyper-V enlightened I/O and a hypervisor aware kernel is provided via installation of Hyper-V integration services. Компоненты интеграции, к которым относятся драйверы клиента виртуальных серверов (VSC), также доступны для других клиентских операционных систем. Integration components, which include virtual server client (VSC) drivers, are also available for other client operating systems. Для Hyper-V необходим процессор с поддержкой аппаратной виртуализации, реализованной в таких технологиях, как Intel VT или AMD Virtualization (AMD-V). Hyper-V requires a processor that includes hardware assisted virtualization, such as is provided with Intel VT or AMD Virtualization (AMD-V) technology.
На следующей схеме представлен общий обзор архитектуры среды Hyper-V. The following diagram provides a high-level overview of the architecture of a Hyper-V environment.