如果为虚拟机上的特定 Hyper-v 特定网络适配器配置了 网络管理器 ,则静态 IP 注入可能不起作用。Static IP injection may not work if Network Manager has been configured for a given Hyper-V-specific network adapter on the virtual machine. 若要确保静态 IP 注入正常运行,请确保网络管理器已完全关闭,或已通过其 ifcfg-eth0-ethX 文件在特定网络适配器上关闭网络管理器。To ensure smooth functioning of static IP injection please ensure that Network Manager is turned off completely or has been turned off for a specific network adapter through its ifcfg-ethX file.
如果在执行实时虚拟机备份操作的过程中有打开的文件句柄,则在某些角落情况下,在还原时,已备份的 Vhd 可能需要执行文件系统一致性检查 (fsck) 。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.
如果虚拟机有连接的 iSCSI 设备或直接连接存储 (也称为传递磁盘) ,则实时备份操作可能会失败。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).
如果来宾操作系统在内存上运行得太低,动态内存操作可能会失败。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.
通常会消耗系统中的全部可用内存的应用程序,仅消耗最多80% 的可用 RAM。Applications that tend to consume the entire available memory on a system are limited to consuming up to 80 percent of available RAM.
动态内存支持仅适用于64位虚拟机。Dynamic memory support is only available on 64-bit virtual machines.
如果在 Windows Server 2016 或 Windows Server 2012 操作系统上使用动态内存,请以128兆字节 (MB) 的倍数指定 " 启动内存"、" 最小内存" 和 " 最大内存 " 参数。If you are using Dynamic Memory on Windows Server 2016 or Windows Server 2012 operating systems, specify Startup memory, Minimum memory, and Maximum memory parameters in multiples of 128 megabytes (MB). 否则,可能会导致 Hot-Add 故障,在来宾操作系统中可能看不到任何内存增加。Failure to do so can lead to Hot-Add failures, and you may not see any memory increase in a guest operating system.
在 Windows Server 2016 或 Windows Server 2012 R2 中,如果没有 Linux 软件更新,键/值对基础结构可能无法正常运行。In Windows Server 2016 or Windows Server 2012 R2, the key/value pair 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.
如果多次装入单个分区,则 VSS 备份会失败。VSS backup will fail if a single partition is mounted multiple times.
在 Windows Server 2012 R2 上,第2代虚拟机默认启用安全启动,第2代 Linux 虚拟机将不会启动,除非禁用了安全启动选项。On Windows Server 2012 R2, Generation 2 virtual machines have secure boot enabled by default and Generation 2 Linux virtual machines will not boot unless the secure boot option is disabled. 你可以在 Hyper-V 管理器中虚拟机设置的“固件”部分禁用安全启动,也可以使用 Powershell 来禁用它: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