VMM uses the API interface exposed by the VMware VirtualCenter (or VMware vCenter) server to manage VMware ESX(i) Server hosts. For ESX(i) Server-specific management, such as creating or removing resource pools and patching ESX(i) Server computers, you will use VirtualCenter or vCenter. For common tasks, such as managing, creating, placing, deploying, and removing virtual machines and adding or removing hosts, you can use VMM.
VMM 2008 and VMM 2008 R2 support VMware VirtualCenter 2.5 (VMware Infrastructure 3, VI3), with the following versions of VMware ESX(i) Server:
VMM 2008 R2 also supports VMware vSphere 4 (VI3 features only), with the following versions of ESX Server:
VMM does not support VMware Server.
VMware datacenters, folders, host clusters, and hosts are mapped to VMM as follows.
VMM interoperates with VMware by connecting to the VirtualCenter or vCenter server through Web service calls and does not require a VMM agent on the VirtualCenter server or on the ESX(i) Server hosts. The VMM server refreshes all information of the VMware environment and maps it to VMM periodically. Any changes made to your VMware environment using VMM will be reflected in VirtualCenter or vCenter, and any changes that are made to those same settings in VirtualCenter or vCenter are reflected in VMM.
To be able to manage ESX Server hosts in VMM, you must add the VirtualCenter or vCenter server to VMM. However, VMM contacts the ESX(i) Server hosts directly using Secure FTP (SFTP) or HTTPS for transfers of data between ESX(i) Server hosts and Windows Server-based computers. VMM uses VirtualCenter or vCenter to access VMware vMotion functionality and other features.
VMM 2008 R2 surfaces the virtual switches and port groups that are configured in VirtualCenter or vCenter for use with ESX(i) Server hosts and virtual machines. You do not need to update network configurations for ESX(i) Server hosts and virtual machines after you add a VirtualCenter or vCenter server to VMM. During virtual machine deployment and migration, after selecting a virtual switch on an ESX(i) Server host, the VMM administrator can select from existing port groups that are configured for the switch. Any changes that are made to the VMware port group configuration after a VirtualCenter or vCenter server is added to VMM 2008 R2 are refreshed in VMM.
By contrast, VMM 2008 discovers virtual switches that are configured in VirtualCenter but does not discover the port groups on the virtual switches. During virtual machine deployment or migration, when the VMM administrator selects a virtual switch on an ESX(i) Server host, VMM 2008 creates a new port group for the switch in VirtualCenter. The port group can be seen in VirtualCenter but not in the VMM Administrator Console.
The following VMM and VMware features are supported when VMM manages ESX(i) Server hosts through VMware VirtualCenter or vCenter.
VMM offers virtual machine placement based on host ratings during the creation, deployment, and migration of VMware virtual machines. For more information, see About Virtual Machine Placement.
Monitoring and alerting is possible through VMM with the integration of System Center Operations Manager (OpsMgr) 2007 and 2007 R2 and Performance and Resource Optimization (PRO). For more information, see About PRO.
You can organize and store VMware virtual machines, virtual disk (.vmdk) files and VMware templates in the VMM library. VMM supports creating new virtual machines from templates and converting stored VMware virtual machines to Hyper-V. For more information about converting VMware virtual machines, see V2V: Converting Virtual Machines in VMM.
After you add a VirtualCenter or vCenter server to VMM, you can import your VMware virtual machine templates into the VMM library and use the templates to create virtual machines using VMM. Use the Import templates action, available in Administration view of the VMM Administrator Console when the Virtualization Managers node is expanded.
VMM supports the following types of templates for VMware virtual machines:
Note. VMM 2008 R2 supports customization of Windows Server 2008 operating systems on virtual machines that are deployed on ESX(i) Server hosts managed by VirtualCenter 2.5 Update 4 and vCenter server.
The cmdlets in the Windows PowerShell — Virtual Machine Manager command shell are agnostic to the underlying virtualization software, meaning the same cmdlets can be used from VMM on Hyper-V, Virtual Server or ESX(i) Servers managed by VirtualCenter or vCenter Server. This means that most daily administration tasks that you perform in VirtualCenter or vCenter can be done through VMM PowerShell or through the VMM Administrator Console.
For example, you can start, stop, pause, checkpoint, or migrate a virtual machine. If vMotion is enabled in VirtualCenter or vCenterm you can live migrate a VMware virtual machine in VMM. By updating virtual machine properties, you can add or remove virtual hardware devices or update their settings. You can connect to a VMware virtual machine from VMM. You can allow users to create and manage their own virtual machnies by using the VMM Self-Service Portal. For more information about Windows PowerShell — VMM cmdlets, see Using the Windows PowerShell — VMM Command Shell.
VMware clusters used for High Availability (HA) and Dynamic Resource Scheduler (DRS) are exposed in VMM as host clusters.
When you place an ESX(i) Server host that is managed by VMM in maintenance mode by using the VMware VirtualCenter or vCenter console, VMM automatically makes that host unavailable for placement in VMM. On the Status tab of the Host Properties dialog box for the host, the This host is available for placement check box is cleared and becomes inactive. You cannot change the This host is available for placement check box or remove the host from maintenance mode in VMM. To make the ESX Server host available for placement in VMM, you must remove the host from maintenance mode by using the VMware VirtualCenter or vCenter console. For more information about maintenance mode, refer to the VMware documentation.
The following sections outline the procedures for implementing VMware infrastructure or VMware vSphere integration in VMM.
To integrate a VMware infrastructure into your VMM-managed virtualized environment, begin by adding your VMware VirtualCenter or vCenter server to VMM. When you add a VirtualCenter or vCenter server, VMM discovers all ESX(i) Server hosts and clusters that the VirtualCenter or vCenter server is managing and adds the objects to VMM.
Important. You cannot manage a VirtualCenter or vCenter server using more than one VMM server. If you add the VirtualCenter or vCenter server to more than one instance of VMM, VMM creates a duplicate object for each VMware virtual machine, with the duplicate virtual machine permanently in a Missing state.
To add the VirtualCenter or vCenter server, use the Add VMware VirtualCenter server action, which is available in all views of the VMM Administrator Console. You must provide VirtualCenter or vCenter administrator's credentials. For more information, see How to Add a VMware VirtualCenter Server.
Note. If you are managing a VMware environment in VMM, you can add new ESX(i) Server hosts to a managed VirtualCenter or vCenter server by using VMM. For more information, see How to Add an ESX Server Host to VMM. For information about scripting this operation through the Windows PowerShell — Virtual Machine Manager command shell, see How to Add an ESX Server Host Using a Script.
All newly added ESX(i) Server hosts initially have OK (Limited) status in VMM. To be able to perform all management tasks that VMM supports, you must enter credentials with appropriate authority in the host properties. If you are managing the VMware environment in secure mode, you also must retrieve and accept a security certificate and, in some cases, a public key. The security information for an ESX(i) Server host is specified on the Security tab of the host properties.
When you manage a VMware environment in secure mode, VMM authenticates each ESX Server host on all protocols used for communication. In secure mode, HTTP over Secure Sockets Layer (SSL) for embedded ESX Server—that is, VMware ESX Server 3i and later—requires certificate authentication, and SFTP over Secure Shell (SSH) for non-embedded ESX Server—that is, VMware ESX Server 3.0.x and later—requires host public key authentication. VMM retrieves and verifies both.
For non-embedded versions of ESX Server, you also will need to add the SSH public keys to the VMM database. For this task, you can either validate the public key when you configure security for individual hosts in VMM or use a script to update the VMM database with public keys for all of your non-embedded ESX Server hosts.
When you add a VirtualCenter or vCenter server to VMM, VMM turns on secure mode by default. If your environment does not require that level of authentication, you can turn off secure mode.
To perform file transfer operations between hosts running non-embedded versions of ESX Server and Windows Server-based computers, VMM must have access to virtual machine files on the host. This type of file transfer is required for operations such as creating a virtual machine with a virtual hard disk stored on a VMM library server or storing a VMware virtual machine in the VMM library.
To perform this type of file transfer, VMM accesses ESX Server hosts directly. For non-embedded versions of ESX Server, VMM must have the credentials of the virtual machine delegate in ESX Server to gain the needed access to virtual machine files on the host. By default, ESX Server uses root credentials on the host for the delegate. If you don’t want to use root credentials, you can configure a lower-privilege account as the virtual machine delegate. Either choice requires additional configuration to give VMM the needed access to the shares.
Note. For detailed information about these security requirements, see Configuring Security for a Managed VMware Environment in VMM. For information about scripting this configuration task, see How to Add an ESX Server Host Using a Script.
After you add a VirtualCenter or vCenter server to VMM, use the Import templates action in Administration view of the VMM Administrator Console to import your VMware templates to the VMM library so that you can use them to create virtual machines in VMM. For more information, see How to Import VMware Templates.
There are three ways to convert a VMware virtual machine to a Hyper-V virtual machine:
VMM transfers data to and from non-embedded ESX Server using Secure FTP (SFTP).