Hyper-V: The number of virtual machines must be within supported limits
Applies To: Windows Server 2008 R2
This topic is intended to address a specific issue identified by a Best Practices Analyzer scan. You should apply the information in this topic only to computers that have had the Hyper-V Best Practices Analyzer run against them and are experiencing the issue addressed by this topic. For more information about best practices and scans, see Best Practices Analyzer.
Windows Server 2008 R2
More virtual machines are configured than are supported.
Microsoft does not support the current number of virtual machines configured on this server.
The state of a virtual machine does not affect whether it is included in this number. All virtual machines configured for this server are included.
Move one or more virtual machines to another server.
If this server belongs to a failover cluster, use the tools provided with the failover clustering feature to move the virtual machines. For instructions about moving a virtual machine, see Live Migrate, Quick Migrate, or Move a Virtual Machine from Node to Node (http://go.microsoft.com/fwlink/?LinkId=181519). Otherwise, use Hyper-V tools to export the virtual machines from this server and then import them to another server running Hyper-V.
By default, membership in the local Administrators group, or equivalent, is the minimum required to complete the import and export procedures. However, an administrator can use Authorization Manager to modify the authorization policy so that a user or group of users can complete this procedure. For more information, see Using Authorization Manager for Hyper-V Security (http://go.microsoft.com/fwlink/?LinkId=142886). To complete the optional procedure to configure constrained delegation, membership in the Domain Administrators group is required.
To export a virtual machine
Open Hyper-V Manager. Click Start, point to Administrative Tools, and then click Hyper-V Manager.
In the results pane, under Virtual Machines, right-click a virtual machine and then click Export.
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. When you export a virtual machine, all virtual hard disks (.vhd files), snapshots (.avhd files), and saved state files associated with the virtual machine are copied to the specified folder.
In a domain environment, if you specify a remote location such as a shared network folder or a folder on the server that you want to import the virtual machine to, you must configure the server running Hyper-V for constrained delegation. You need to do this so that the computer account of the server running Hyper-V can present delegated credentials for the Common Internet File System (CIFS) service type. For instructions, see the following procedure.
- Click Export.
If you need to configure constrained delegation, complete the following procedure and then export the virtual machines.
To configure constrained delegation
- 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.
If Active Directory Users and Computers is not listed, install the Active Directory Domain Services Tools feature. For instructions, see Installing Remote Server Administration Tools for AD DS (http://go.microsoft.com/fwlink/?LinkId=140463).
Right-click the computer account for the computer running Hyper-V, and then click Properties.
On the Delegation tab, click Select this computer for delegation to specified services only, and then click Use any authentication protocol.
To allow the Hyper-V computer account to present delegated credentials to the remote computer:
In the Add Services dialog box, click Users or Computers, select the remote computer, and then click OK.
In the Available services list, select the cifs protocol (also known as the Server Message Block (SMB) protocol), and then click Add.
After exporting the virtual machines, import them to the other server.
To import a virtual machine to another server
Connect to the server running Hyper-V and open Hyper-V Manager.
In the Action pane, click Import Virtual Machine.
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.
For information about limits and maximums in Hyper-V, see Requirements and Limits for Virtual Machines and Hyper-V in Windows Server 2008 R2 (http://go.microsoft.com/fwlink/?LinkID=180919).