- Supported Linux and FreeBSD virtual machines for Hyper-V on Windows
- Вики IT-KB
- Инструменты пользователя
- Инструменты сайта
- Боковая панель
- Службы интеграции Hyper-V на гостевой ОС CentOS Linux 7.5
- Дополнительные гостевые службы Hyper-V
- Supported CentOS and Red Hat Enterprise Linux virtual machines on Hyper-V
- Table legend
- RHEL/CentOS 8.x Series
- RHEL/CentOS 7.x Series
- RHEL/CentOS 6.x Series
- RHEL/CentOS 5.x Series
- Notes
Supported Linux and FreeBSD virtual machines for Hyper-V on Windows
Applies to: Windows Server 2022, Azure Stack HCI, version 20H2; Windows Server 2019, Windows Server 2016, Hyper-V Server 2016, Windows Server 2012 R2, Hyper-V Server 2012 R2, Windows Server 2012, Hyper-V Server 2012, Windows Server 2008 R2, Windows 10, Windows 8.1, Windows 8, Windows 7.1, Windows 7
Hyper-V supports both emulated and Hyper-V-specific devices for Linux and FreeBSD virtual machines. When running with emulated devices, no additional software is required to be installed. However emulated devices do not provide high performance and cannot leverage the rich virtual machine management infrastructure that the Hyper-V technology offers. In order to make full use of all benefits that Hyper-V provides, it is best to use Hyper-V-specific devices for Linux and FreeBSD. The collection of drivers that are required to run Hyper-V-specific devices are known as Linux Integration Services (LIS) or FreeBSD Integration Services (BIS).
LIS has been added to the Linux kernel and is updated for new releases. But Linux distributions based on older kernels may not have the latest enhancements or fixes. Microsoft provides a download containing installable LIS drivers for some Linux installations based on these older kernels. Because distribution vendors include versions of Linux Integration Services, it is best to install the latest downloadable version of LIS, if applicable, for your installation.
For other Linux distributions LIS changes are regularly integrated into the operating system kernel and applications so no separate download or installation is required.
For older FreeBSD releases (before 10.0), Microsoft provides ports that contain the installable BIS drivers and corresponding daemons for FreeBSD virtual machines. For newer FreeBSD releases, BIS is built in to the FreeBSD operating system, and no separate download or installation is required except for a KVP ports download that is needed for FreeBSD 10.0.
The goal of this content is to provide information that helps facilitate your Linux or FreeBSD deployment on Hyper-V. Specific details include:
Linux distributions or FreeBSD releases that require the download and installation of LIS or BIS drivers.
Linux distributions or FreeBSD releases that contain built-in LIS or BIS drivers.
Feature distribution maps that indicate the features in major Linux distributions or FreeBSD releases.
Known issues and workarounds for each distribution or release.
Feature description for each LIS or BIS feature.
Want to make a suggestion about features and functionality? Is there something we could do better? You can use the Windows Server User Voice site to suggest new features and capabilities for Linux and FreeBSD Virtual Machines on Hyper-V, and to see what other people are saying.
Источник
Вики IT-KB
Пошаговые руководства, шпаргалки, полезные ссылки.
Инструменты пользователя
Инструменты сайта
Боковая панель
Службы интеграции Hyper-V на гостевой ОС CentOS Linux 7.5
Базовые компоненты интгерации Hyper-V уже есть в базовой поставке CentOS 7.5, поэтому отдельно устанавливать их из образа LIS (Linux Integration Services), распространяемого Microsoft, смысла особого нет.
Информацию о поддержке возможностей виртуальной машины Hyper-V с гостевой ОС CentOS/RHEL можно найти в документе Supported CentOS and Red Hat Enterprise Linux virtual machines on Hyper-V
Дополнительные гостевые службы Hyper-V
Установка пакетов, расширяющих возможности взаимодействия Hyper-V с гостевой ОС CentOS, в частности:
выполняется из базовых репозиториев CentOS:
После установки, желательно перезагрузить гостевую систему и убедиться в том, что службы стартовали в автоматическом режиме. Например для проверки службы поддержки VSS проверим статус работоспособности соответствующей службы hypervvssd:
Проверено на следующих конфигурациях:
Версия ОС |
---|
CentOS Linux release 7.5.1804 (Core) |
Автор первичной редакции:
Алексей Максимов
Время публикации: 21.08.2018 10:35
Источник
Supported CentOS and Red Hat Enterprise Linux virtual machines on Hyper-V
Applies To: Azure Stack HCI, version 20H2; Windows Server 2019, Hyper-V Server 2019, Windows Server 2016, Hyper-V Server 2016, Windows Server 2012 R2, Hyper-V Server 2012 R2, Windows 10, Windows 8.1
The following feature distribution maps indicate the features that are present in built-in and downloadable versions of Linux Integration Services. The known issues and workarounds for each distribution are listed after the tables.
The built-in Red Hat Enterprise Linux Integration Services drivers for Hyper-V (available since Red Hat Enterprise Linux 6.4) are sufficient for Red Hat Enterprise Linux guests to run using the high performance synthetic devices on Hyper-V hosts.These built-in drivers are certified by Red Hat for this use. Certified configurations can be viewed on this Red Hat web page: Red Hat Certification Catalog. It isn’t necessary to download and install Linux Integration Services packages from the Microsoft Download Center, and doing so may limit your Red Hat support as described in Red Hat Knowledgebase article 1067: Red Hat Knowledgebase 1067.
Because of potential conflicts between the built-in LIS support and the downloadable LIS support when you upgrade the kernel, disable automatic updates, uninstall the LIS downloadable packages, update the kernel, reboot, and then install the latest LIS release, and reboot again.
[!NOTE] Official Red Hat Enterprise Linux certification information is available through the Red Hat Customer Portal.
In this section:
Table legend
Built in — LIS are included as part of this Linux distribution. The kernel module version numbers for the built in LIS (as shown by lsmod, for example) are different from the version number on the Microsoft-provided LIS download package. A mismatch does not indicate that the built in LIS is out of date.
вњ” — Feature available
(blank) — Feature not available
RHEL/CentOS 8.x Series
Feature | Windows Server version | 8.3 | 8.2 | 8.1 | 8.0 |
---|---|---|---|---|---|
Availability | |||||
Core | 2019, 2016, 2012 R2 | вњ” | вњ” | вњ” | вњ” |
Windows Server 2016 Accurate Time | 2019, 2016 | вњ” | вњ” | вњ” | вњ” |
>256 vCPUs | |||||
Networking | |||||
Jumbo frames | 2019, 2016, 2012 R2 | вњ” | вњ” | вњ” | вњ” |
VLAN tagging and trunking | 2019, 2016, 2012 R2 | вњ” | вњ” | вњ” | вњ” |
Live Migration | 2019, 2016, 2012 R2 | вњ” | вњ” | вњ” | вњ” |
Static IP Injection | 2019, 2016, 2012 R2 | вњ” Note 2 | вњ” Note 2 | вњ” Note 2 | вњ” Note 2 |
vRSS | 2019, 2016, 2012 R2 | вњ” | вњ” | вњ” | вњ” |
TCP Segmentation and Checksum Offloads | 2019, 2016, 2012 R2 | вњ” | вњ” | вњ” | вњ” |
SR-IOV | 2019, 2016 | вњ” | вњ” | вњ” | вњ” |
Storage | вњ” | вњ” | |||
VHDX resize | 2019, 2016, 2012 R2 | вњ” | вњ” | вњ” | вњ” |
Virtual Fibre Channel | 2019, 2016, 2012 R2 | вњ” Note 3 | вњ” Note 3 | вњ” Note 3 | вњ” Note 3 |
Live virtual machine backup | 2019, 2016, 2012 R2 | вњ” Note 5 | вњ” Note 5 | вњ” Note 5 | вњ” Note 5 |
TRIM support | 2019, 2016, 2012 R2 | вњ” | вњ” | вњ” | вњ” |
SCSI WWN | 2019, 2016, 2012 R2 | вњ” | вњ” | вњ” | вњ” |
Memory | |||||
PAE Kernel Support | 2019, 2016, 2012 R2 | N/A | N/A | ||
Configuration of MMIO gap | 2019, 2016, 2012 R2 | вњ” | вњ” | вњ” | вњ” |
Dynamic Memory — Hot-Add | 2019, 2016, 2012 R2 | вњ” Note 8, 9, 10 | вњ” Note 8, 9, 10 | вњ” Note 8, 9, 10 | вњ” Note 8, 9, 10 |
Dynamic Memory — Ballooning | 2019, 2016, 2012 R2 | вњ” Note 8, 9, 10 | вњ” Note 8, 9, 10 | вњ” Note 8, 9, 10 | вњ” Note 8, 9, 10 |
Runtime Memory Resize | 2019, 2016 | вњ” | вњ” | вњ” | вњ” |
Video | |||||
Hyper-V-specific video device | 2019, 2016, 2012 R2 | вњ” | вњ” | вњ” | вњ” |
Miscellaneous | |||||
Key-Value Pair | 2019, 2016, 2012 R2 | вњ” | вњ” | вњ” | вњ” |
Non-Maskable Interrupt | 2019, 2016, 2012 R2 | вњ” | вњ” | вњ” | вњ” |
File copy from host to guest | 2019, 2016, 2012 R2 | вњ” | вњ” | вњ” | вњ” |
lsvmbus command | 2019, 2016, 2012 R2 | вњ” | вњ” | вњ” | вњ” |
Hyper-V Sockets | 2019, 2016 | вњ” | вњ” | вњ” | вњ” |
PCI Passthrough/DDA | 2019, 2016 | вњ” | вњ” | вњ” | вњ” |
Generation 2 virtual machines | |||||
Boot using UEFI | 2019, 2016, 2012 R2 | вњ” Note 14 | вњ” Note 14 | вњ” Note 14 | вњ” Note 14 |
Secure boot | 2019, 2016 | вњ” | вњ” | вњ” | вњ” |
RHEL/CentOS 7.x Series
This series only has 64-bit kernels.
Feature | Windows Server version | 7.8-7.9 | 7.5-7.7 | 7.3-7.4 | 7.0-7.2 | 7.5-7.8 | 7.4 | 7.3 | 7.2 | 7.1 | 7.0 |
---|---|---|---|---|---|---|---|---|---|---|---|
Availability | LIS 4.3 | LIS 4.3 | LIS 4.3 | Built in | Built in | Built in | Built in | Built in | Built in | ||
Core | 2019, 2016, 2012 R2 | вњ” | вњ” | вњ” | вњ” | вњ” | вњ” | вњ” | вњ” | вњ” | вњ” |
Windows Server 2016 Accurate Time | 2019, 2016 | вњ” | вњ” | вњ” | |||||||
>256 vCPUs | |||||||||||
Networking | |||||||||||
Jumbo frames | 2019, 2016, 2012 R2 | вњ” | вњ” | вњ” | вњ” | вњ” | вњ” | вњ” | вњ” | вњ” | вњ” |
VLAN tagging and trunking | 2019, 2016, 2012 R2 | вњ” | вњ” | вњ” | вњ” | вњ” | вњ” | вњ” | вњ” | вњ” | вњ” |
Live Migration | 2019, 2016, 2012 R2 | вњ” | вњ” | вњ” | вњ” | вњ” | вњ” | вњ” | вњ” | вњ” | вњ” |
Static IP Injection | 2019, 2016, 2012 R2 | вњ” Note 2 | вњ” Note 2 | вњ” Note 2 | вњ” Note 2 | вњ” Note 2 | вњ” Note 2 | вњ” Note 2 | вњ” Note 2 | вњ” Note 2 | вњ” Note 2 |
vRSS | 2019, 2016, 2012 R2 | вњ” | вњ” | вњ” | вњ” | вњ” | вњ” | вњ” | вњ” | вњ” | |
TCP Segmentation and Checksum Offloads | 2019, 2016, 2012 R2 | вњ” | вњ” | вњ” | вњ” | вњ” | вњ” | вњ” | вњ” | вњ” | |
SR-IOV | 2019, 2016 | вњ” | вњ” | вњ” | вњ” | вњ” | вњ” | ||||
Storage | |||||||||||
VHDX resize | 2019, 2016, 2012 R2 | вњ” | вњ” | вњ” | вњ” | вњ” | вњ” | вњ” | вњ” | ||
Virtual Fibre Channel | 2019, 2016, 2012 R2 | вњ” Note 3 | вњ” Note 3 | вњ” Note 3 | вњ” Note 3 | вњ” Note 3 | вњ” Note 3 | вњ” Note 3 | вњ” Note 3 | вњ” Note 3 | вњ” Note 3 |
Live virtual machine backup | 2019, 2016, 2012 R2 | вњ” Note 5 | вњ” Note 5 | вњ” Note 5 | вњ” Note 5 | вњ” Note 4,5 | вњ” Note 4, 5 | вњ” Note 4, 5 | вњ” Note 4, 5 | вњ” Note 4, 5 | вњ” Note 4, 5 |
TRIM support | 2019, 2016, 2012 R2 | вњ” | вњ” | вњ” | вњ” | вњ” | вњ” | вњ” | вњ” | ||
SCSI WWN | 2019, 2016, 2012 R2 | вњ” | вњ” | вњ” | вњ” | вњ” | |||||
Memory | |||||||||||
PAE Kernel Support | 2019, 2016, 2012 R2 | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A |
Configuration of MMIO gap | 2019, 2016, 2012 R2 | вњ” | вњ” | вњ” | вњ” | вњ” | вњ” | вњ” | вњ” | вњ” | вњ” |
Dynamic Memory — Hot-Add | 2019, 2016, 2012 R2 | вњ” Note 8, 9, 10 | вњ” Note 8, 9, 10 | вњ” Note 8, 9, 10 | вњ” Note 8, 9, 10 | вњ” Note 9, 10 | вњ” Note 9, 10 | вњ” Note 9, 10 | вњ” Note 9, 10 | вњ” Note 9, 10 | вњ” Note 8, 9, 10 |
Dynamic Memory — Ballooning | 2019, 2016, 2012 R2 | вњ” Note 8, 9, 10 | вњ” Note 8, 9, 10 | вњ” Note 8, 9, 10 | вњ” Note 8, 9, 10 | вњ” Note 9, 10 | вњ” Note 9, 10 | вњ” Note 9, 10 | вњ” Note 9, 10 | вњ” Note 9, 10 | вњ” Note 8, 9, 10 |
Runtime Memory Resize | 2019, 2016 | вњ” | вњ” | вњ” | вњ” | ||||||
Video | |||||||||||
Hyper-V-specific video device | 2019, 2016, 2012 R2 | вњ” | вњ” | вњ” | вњ” | вњ” | вњ” | вњ” | вњ” | вњ” | вњ” |
Miscellaneous | |||||||||||
Key-Value Pair | 2019, 2016, 2012 R2 | вњ” | вњ” | вњ” | вњ” | вњ” | вњ” | вњ” | вњ” | вњ” | вњ” |
Non-Maskable Interrupt | 2019, 2016, 2012 R2 | вњ” | вњ” | вњ” | вњ” | вњ” | вњ” | вњ” | вњ” | вњ” | вњ” |
File copy from host to guest | 2019, 2016, 2012 R2 | вњ” | вњ” | вњ” | вњ” | вњ” | вњ” | вњ” | вњ” | вњ” | |
lsvmbus command | 2019, 2016, 2012 R2 | вњ” | вњ” | вњ” | вњ” | ||||||
Hyper-V Sockets | 2019, 2016 | вњ” | вњ” | вњ” | вњ” | ||||||
PCI Passthrough/DDA | 2019, 2016 | вњ” | вњ” | вњ” | вњ” | вњ” | вњ” | ||||
Generation 2 virtual machines | |||||||||||
Boot using UEFI | 2019, 2016, 2012 R2 | вњ” Note 14 | вњ” Note 14 | вњ” Note 14 | вњ” Note 14 | вњ” Note 14 | вњ” Note 14 | вњ” Note 14 | вњ” Note 14 | вњ” Note 14 | вњ” Note 14 |
Secure boot | 2019, 2016 | вњ” | вњ” | вњ” | вњ” | вњ” | вњ” | вњ” | вњ” | вњ” | вњ” |
RHEL/CentOS 6.x Series
The 32-bit kernel for this series is PAE enabled. There is no built-in LIS support for RHEL/CentOS 6.0-6.3.
Feature | Windows Server version | 6.7-6.10 | 6.4-6.6 | 6.0-6.3 | 6.10, 6.9, 6.8 | 6.6, 6.7 | 6.5 | 6.4 |
---|---|---|---|---|---|---|---|---|
Availability | LIS 4.3 | LIS 4.3 | LIS 4.3 | Built in | Built in | Built in | Built in | |
Core | 2019, 2016, 2012 R2 | вњ” | вњ” | вњ” | вњ” | вњ” | вњ” | вњ” |
Windows Server 2016 Accurate Time | 2019, 2016 | |||||||
>256 vCPUs | ||||||||
Networking | ||||||||
Jumbo frames | 2019, 2016, 2012 R2 | вњ” | вњ” | вњ” | вњ” | вњ” | вњ” | вњ” |
VLAN tagging and trunking | 2019, 2016, 2012 R2 | вњ” Note 1 | вњ” Note 1 | вњ” Note 1 | вњ” Note 1 | вњ” Note 1 | вњ” Note 1 | вњ” Note 1 |
Live Migration | 2019, 2016, 2012 R2 | вњ” | вњ” | вњ” | вњ” | вњ” | вњ” | вњ” |
Static IP Injection | 2019, 2016, 2012 R2 | вњ” Note 2 | вњ” Note 2 | вњ” Note 2 | вњ” Note 2 | вњ” Note 2 | вњ” Note 2 | вњ” Note 2 |
vRSS | 2019, 2016, 2012 R2 | вњ” | вњ” | вњ” | вњ” | вњ” | ||
TCP Segmentation and Checksum Offloads | 2019, 2016, 2012 R2 | вњ” | вњ” | вњ” | вњ” | вњ” | ||
SR-IOV | 2019, 2016 | |||||||
Storage | ||||||||
VHDX resize | 2019, 2016, 2012 R2 | вњ” | вњ” | вњ” | вњ” | вњ” | вњ” | |
Virtual Fibre Channel | 2019, 2016, 2012 R2 | вњ” Note 3 | вњ” Note 3 | вњ” Note 3 | вњ” Note 3 | вњ” Note 3 | вњ” Note 3 | |
Live virtual machine backup | 2019, 2016, 2012 R2 | вњ” Note 5 | вњ” Note 5 | вњ” Note 5 | вњ” Note 4, 5 | вњ” Note 4, 5 | вњ” Note 4, 5, 6 | вњ” Note 4, 5, 6 |
TRIM support | 2019, 2016, 2012 R2 | вњ” | вњ” | вњ” | вњ” | |||
SCSI WWN | 2019, 2016, 2012 R2 | вњ” | вњ” | вњ” | ||||
Memory | ||||||||
PAE Kernel Support | 2019, 2016, 2012 R2 | вњ” | вњ” | вњ” | вњ” | вњ” | вњ” | вњ” |
Configuration of MMIO gap | 2019, 2016, 2012 R2 | вњ” | вњ” | вњ” | вњ” | вњ” | вњ” | вњ” |
Dynamic Memory — Hot-Add | 2019, 2016, 2012 R2 | вњ” Note 7, 9, 10 | вњ” Note 7, 9, 10 | вњ” Note 7, 9, 10 | вњ” Note 7, 9, 10 | вњ” Note 7, 8, 9, 10 | вњ” Note 7, 8, 9, 10 | |
Dynamic Memory — Ballooning | 2019, 2016, 2012 R2 | вњ” Note 7, 9, 10 | вњ” Note 7, 9, 10 | вњ” Note 7, 9, 10 | вњ” Note 7, 9, 10 | вњ” Note 7, 9, 10 | вњ” Note 7, 9, 10 | вњ” Note 7, 9, 10, 11 |
Runtime Memory Resize | 2019, 2016 | |||||||
Video | ||||||||
Hyper-V-specific video device | 2019, 2016, 2012 R2 | вњ” | вњ” | вњ” | вњ” | вњ” | вњ” | |
Miscellaneous | ||||||||
Key-Value Pair | 2019, 2016, 2012 R2 | вњ” | вњ” | вњ” | вњ” Note 12 | вњ” Note 12 | вњ” Note 12, 13 | вњ” Note 12, 13 |
Non-Maskable Interrupt | 2019, 2016, 2012 R2 | вњ” | вњ” | вњ” | вњ” | вњ” | вњ” | вњ” |
File copy from host to guest | 2019, 2016, 2012 R2 | вњ” | вњ” | вњ” | вњ” | вњ” | ||
lsvmbus command | 2019, 2016, 2012 R2 | вњ” | вњ” | вњ” | ||||
Hyper-V Sockets | 2019, 2016 | вњ” | вњ” | вњ” | ||||
PCI Passthrough/DDA | 2019, 2016 | вњ” | ||||||
Generation 2 virtual machines | ||||||||
Boot using UEFI | 2012 R2 | |||||||
2019, 2016 | вњ” Note 14 | вњ” Note 14 | вњ” Note 14 | вњ” Note 14 | ||||
Secure boot | 2019, 2016 |
RHEL/CentOS 5.x Series
This series has a supported 32-bit PAE kernel available. There is no built-in LIS support for RHEL/CentOS before 5.9.
Feature | Windows Server version | 5.2 -5.11 | 5.2-5.11 | 5.9 — 5.11 |
---|---|---|---|---|
Availability | LIS 4.3 | LIS 4.1 | Built in | |
Core | 2019, 2016, 2012 R2 | вњ” | вњ” | вњ” |
Windows Server 2016 Accurate Time | 2019, 2016 | |||
>256 vCPUs | ||||
Networking | ||||
Jumbo frames | 2019, 2016, 2012 R2 | вњ” | вњ” | вњ” |
VLAN tagging and trunking | 2019, 2016, 2012 R2 | вњ” Note 1 | вњ” Note 1 | вњ” Note 1 |
Live Migration | 2019, 2016, 2012 R2 | вњ” | вњ” | вњ” |
Static IP Injection | 2019, 2016, 2012 R2 | вњ” Note 2 | вњ” Note 2 | вњ” Note 2 |
vRSS | 2019, 2016, 2012 R2 | |||
TCP Segmentation and Checksum Offloads | 2019, 2016, 2012 R2 | вњ” | вњ” | |
SR-IOV | 2019, 2016 | |||
Storage | ||||
VHDX resize | 2019, 2016, 2012 R2 | вњ” | вњ” | |
Virtual Fibre Channel | 2019, 2016, 2012 R2 | вњ” Note 3 | вњ” Note 3 | |
Live virtual machine backup | 2019, 2016, 2012 R2 | вњ” Note 5, 15 | вњ” Note 5 | вњ” Note 4, 5, 6 |
TRIM support | 2019, 2016, 2012 R2 | |||
SCSI WWN | 2019, 2016, 2012 R2 | |||
Memory | ||||
PAE Kernel Support | 2019, 2016, 2012 R2 | вњ” | вњ” | вњ” |
Configuration of MMIO gap | 2019, 2016, 2012 R2 | вњ” | вњ” | вњ” |
Dynamic Memory — Hot-Add | 2019, 2016, 2012 R2 | |||
Dynamic Memory — Ballooning | 2019, 2016, 2012 R2 | вњ” Note 7, 9, 10, 11 | вњ” Note 7, 9, 10, 11 | |
Runtime Memory Resize | 2019, 2016 | |||
Video | ||||
Hyper-V-specific video device | 2019, 2016, 2012 R2 | вњ” | вњ” | |
Miscellaneous | ||||
Key-Value Pair | 2019, 2016, 2012 R2 | вњ” | вњ” | |
Non-Maskable Interrupt | 2019, 2016, 2012 R2 | вњ” | вњ” | вњ” |
File copy from host to guest | 2019, 2016, 2012 R2 | вњ” | вњ” | |
lsvmbus command | 2019, 2016, 2012 R2 | |||
Hyper-V Sockets | 2019, 2016 | |||
PCI Passthrough/DDA | 2019, 2016 | |||
Generation 2 virtual machines | ||||
Boot using UEFI | 2019, 2016, 2012 R2 | |||
Secure boot | 2019, 2016 |
Notes
For this RHEL/CentOS release, VLAN tagging works but VLAN trunking does not.
Static IP injection may not work if Network Manager has been configured for a given synthetic network adapter on the virtual machine. For smooth functioning of static IP injection please make sure that either Network Manager is either turned off completely or has been turned off for a specific network adapter through its ifcfg-ethX file.
On Windows Server 2012 R2 while using virtual fibre channel devices, make sure that logical unit number 0 (LUN 0) has been populated. If LUN 0 has not been populated, a Linux virtual machine might not be able to mount fibre channel devices natively.
For built-in LIS, the «hyperv-daemons» package must be installed for this functionality.
If there are open file handles during a live virtual machine backup operation, then in some corner cases, the backed-up VHDs might have to undergo a file system consistency check (fsck) on restore. Live backup operations can fail silently if the virtual machine has an attached iSCSI device or direct-attached storage (also known as a pass-through disk).
While the Linux Integration Services download is preferred, live backup support for RHEL/CentOS 5.9 — 5.11/6.4/6.5 is also available through Hyper-V Backup Essentials for Linux.
Dynamic memory support is only available on 64-bit virtual machines.
Hot-Add support is not enabled by default in this distribution. To enable Hot-Add support you need to add a udev rule under /etc/udev/rules.d/ as follows:
Create a file /etc/udev/rules.d/100-balloon.rules. You may use any other desired name for the file.
Add the following content to the file: SUBSYSTEM==»memory», ACTION==»add», ATTR
Reboot the system to enable Hot-Add support.
While the Linux Integration Services download creates this rule on installation, the rule is also removed when LIS is uninstalled, so the rule must be recreated if dynamic memory is needed after uninstallation.
- Dynamic memory operations can fail if the guest operating system is running too low on memory. The following are some best practices:
Startup memory and minimal memory should be equal to or greater than the amount of memory that the distribution vendor recommends.
Applications that tend to consume the entire available memory on a system are limited to consuming up to 80 percent of available RAM.
If you are using Dynamic Memory on a Windows Server 2016 or Windows Server 2012 R2 operating system, specify Startup memory, Minimum memory, and Maximum memory parameters in multiples of 128 megabytes (MB). Failure to do so can lead to hot-add failures, and you may not see any memory increase in a guest operating system.
Certain distributions, including those using LIS 4.0 and 4.1, only provide Ballooning support and do not provide Hot-Add support. In such a scenario, the dynamic memory feature can be used by setting the Startup memory parameter to a value which is equal to the Maximum memory parameter. This results in all the requisite memory being Hot-Added to the virtual machine at boot time and then later depending upon the memory requirements of the host, Hyper-V can freely allocate or deallocate memory from the guest using Ballooning. Please configure Startup Memory and Minimum Memory at or above the recommended value for the distribution.
To enable key/value pair (KVP) infrastructure, install the hypervkvpd or hyperv-daemons rpm package from your RHEL ISO. Alternatively the package can be installed directly from RHEL repositories.
The key/value pair (KVP) infrastructure might not function correctly without a Linux software update. Contact your distribution vendor to obtain the software update in case you see problems with this feature.
On Windows Server 2012 R2 Generation 2 virtual machines have secure boot enabled by default and some Linux virtual machines will not boot unless the secure boot option is disabled. You can disable secure boot in the Firmware section of the settings for the virtual machine in Hyper-V Manager or you can disable it using Powershell:
Set-VMFirmware -VMName «VMname» -EnableSecureBoot Off
The Linux Integration Services download can be applied to existing Generation 2 VMs but does not impart Generation 2 capability.
- In Red Hat Enterprise Linux or CentOS 5.2, 5.3, and 5.4 the filesystem freeze functionality is not available, so Live Virtual Machine Backup is also not available.
Источник