正在运行或配置的虚拟机的数量必须在支持的限制范围内The number of running or configured virtual machines must be within supported limits

适用于:Windows Server 2016Applies To: Windows Server 2016

有关最佳做法和扫描的详细信息,请参阅运行最佳做法分析器扫描并管理扫描结果For more information about best practices and scans, see Run Best Practices Analyzer Scans and Manage Scan Results.

属性Property 详细信息Details
操作系统Operating System Windows Server 2016Windows Server 2016
产品/功能Product/Feature Hyper-VHyper-V
严重性Severity 错误Error
类别Category ConfigurationConfiguration

在以下部分中,斜体表示在此问题的最佳做法分析器工具中出现的文本。In the following sections, italics indicates text that appears in the Best Practices Analyzer tool for this issue.

问题Issue

多个虚拟机正在运行或配置,而不受支持。More virtual machines are running or configured than are supported.

影响Impact

Microsoft 不支持在此服务器上运行或配置的虚拟机的当前数目。Microsoft does not support the current number of virtual machines running or configured on this server.

解决方法Resolution

将一个或多个虚拟机移动到另一个服务器。Move one or more virtual machines to another server.

有关 Hyper-v 支持的最大配置(例如正在运行的虚拟机的数目)的详细信息,请参阅 规划 Windows Server 2016 中的 hyper-v 可伸缩性For details about maximum supported configurations for Hyper-V, such as the number of running virtual machines, see Plan for Hyper-V scalability in Windows Server 2016.

若要将虚拟机移动到另一台服务器,可以执行以下操作:To move a virtual machine to another server, you can:

导出虚拟机To export a virtual machine

重要

如果导出的 Hyper-v 主机属于某个域,并且你想要将导出的文件存储在远程位置,则必须为 Hyper-v 主机配置约束委派。If the Hyper-V host you're exporting from belongs to a domain and you want to store the exported files on a remote location, the Hyper-V host must be configured for constrained delegation. 远程位置可以是共享的网络文件夹,也可以是要导入到的主机上的文件夹。A remote location might be a shared network folder or a folder on the host you're importing to. 约束委派使 Hyper-v 主机的计算机帐户可以向远程计算机提供通用 Internet 文件系统 (CIFS) 服务的委派凭据。Constrained delegation lets the computer account of the Hyper-V host provide delegated credentials for the Common Internet File System (CIFS) service to the remote computer. 有关配置约束委派的说明,请参阅下面的导出和导入说明部分。For instructions on configuring constrained delegation, see the section following the export and import instructions, below.

  1. 打开 Hyper-V 管理器。Open Hyper-V Manager. 单击 “开始”,指向 “管理工具”,然后单击 “Hyper-V 管理器”Click Start, point to Administrative Tools, and then click Hyper-V Manager.

  2. 在结果窗格中的 " 虚拟机" 下,右键单击虚拟机,然后单击 " 导出"。In the results pane, under Virtual Machines, right-click a virtual machine and then click Export.

  3. 在 " 导出虚拟机 " 对话框中,键入或浏览到具有足够可用空间来存储所有虚拟机资源的位置。In the Export a Virtual Machine dialog box, type or browse to a location that has enough free space to store all of the virtual machine resources. 导出虚拟机时,会将所有虚拟硬盘 ( .vhd 文件或 .vhdx 文件) 、检查点 ( .avhd 文件) ,并将与该虚拟机关联的已保存状态文件复制到指定的文件夹。When you export a virtual machine, all virtual hard disks (.vhd files or .vhdx files), checkpoints (.avhd files), and saved state files associated with the virtual machine are copied to the specified folder.

  4. 单击“导出”。 Click Export.

导出虚拟机后,将虚拟机导入到另一个服务器。After exporting the virtual machines, import the virtual machines to the other server.

将虚拟机导入到另一个服务器To import a virtual machine to another server

  1. 连接到运行 Hyper-v 的服务器,并打开 Hyper-v 管理器。Connect to the server running Hyper-V and open Hyper-V Manager.

  2. 在 " 操作 " 窗格中,单击 " 导入虚拟机"。In the Action pane, click Import Virtual Machine.

  3. 在 " 导入虚拟机 " 对话框中,指定要将虚拟机导出到的位置。In the Import Virtual Machine dialog box, specify the location where you exported the virtual machine. 除非你要重新导入此虚拟机,否则请保留导入设置。Unless you want to reimport this virtual machine, leave the import settings as they are.

  4. 单击“导入” 。Click Import.

配置约束委派的方法To configure constrained delegation

需要 域管理员 组中的成员身份才能完成此过程。Membership in the Domain Administrators group is required to complete this procedure.

  1. 在安装了 Active Directory 域服务工具功能的计算机上,在 " 管理工具" 中 Active Directory 打开 "用户和计算机",然后导航到运行 hyper-v 的计算机的计算机帐户。On a computer that has the Active Directory Domain Services Tools feature installed, in Administrative Tools, open Active Directory Users and Computers, and then navigate to the computer account for the computer running Hyper-V.

    备注

    如果 “Active Directory 用户和计算机” 没有列出,则请安装 Active Directory 域服务工具功能。If Active Directory Users and Computers is not listed, install the Active Directory Domain Services Tools feature. 有关说明,请参阅 安装 AD DS (的远程服务器管理工具 https://go.microsoft.com/fwlink/?LinkId=140463) 。For instructions, see Installing Remote Server Administration Tools for AD DS (https://go.microsoft.com/fwlink/?LinkId=140463).

  2. 右键单击运行 Hyper-v 的计算机的计算机帐户,然后单击 " 属性"。Right-click the computer account for the computer running Hyper-V, and then click Properties.

  3. 在“委派”**** 选项卡上,单击“仅信任此计算机来委派指定的服务”****,然后单击“使用任何身份验证协议”****。On the Delegation tab, click Select this computer for delegation to specified services only, and then click Use any authentication protocol.

  4. 若要允许 Hyper-v 计算机帐户提供到远程计算机的委派凭据,请执行以下操作:To allow the Hyper-V computer account to present delegated credentials to the remote computer:

    1. 单击“添加” 。Click Add.

    2. 在 " 添加服务 " 对话框中,单击 " 用户或计算机",选择远程计算机,然后单击 "确定"In the Add Services dialog box, click Users or Computers, select the remote computer, and then click OK.

    3. 在 " 可用服务 " 列表中,选择 " cifs 协议" (也称为服务器消息块 (SMB) 协议) ,然后单击 " 添加"。In the Available services list, select the cifs protocol (also known as the Server Message Block (SMB) protocol), and then click Add.