Archive

Archive for the ‘vmware’ Category

VMM tricks: SCVMM SP1 Beta Refresh Windows 2012 Cluster cause Error 2910

October 5, 2012 4 comments

After building new Windows 2012 Cluster, Migrate VMs from Windows 2008 R2 Cluster to new 2012 Cluster using VMM 2012 SP1 beta. Now trying to refresh Hyper-V hosts in new Windows 2012 we see these errors

Error (2910)
VMM does not have appropriate permissions to access the resource  on the server.
Access is denied (0x80070005)

Recommended Action
Ensure that Virtual Machine Manager has the appropriate rights to perform this action.

Error (2910)
VMM does not have appropriate permissions to access the resource C:\Windows\system32\qmgr.dll on the server.
Access is denied (0x80070005)

Error (2910)
VMM does not have appropriate permissions to access the resource C:\ on the server.
Access is denied (0x80070005)

Recommended Action
Ensure that Virtual Machine Manager has the appropriate rights to perform this action.

 

A fast search got me to this forum post ..  Wes Kroesbergen provided a solution that worked like magic

 

Try the following:

====================================================

reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v LocalAccountTokenFilterPolicy /t REG_DWORD /d 1 /f
winrm set winrm/config/service/auth @{CredSSP="True"}
winrm set winrm/config/winrs @{AllowRemoteShellAccess="True"}
winrm set winrm/config/winrs @{MaxMemoryPerShellMB="2048"}
winrm set winrm/config/client @{TrustedHosts="*"}
winrm set winrm/config/client/auth @{CredSSP="True"}

====================================================

If WinRM is turned on and enabled via GPO, some of the other parameters that VMM appears to need do not get set. When you run WinRM /QC it only checks two values, and says ‘hey, everything is enabled’ without checking these other params.

Advertisements
Categories: VMM, VMM2012, vmware Tags:

VMM tricks : Delete VM from VMware cause “Invalid datastore path”

October 5, 2012 Leave a comment

System Center 2012 – Virtual Machine Manager (VMM) enables you to deploy and manage virtual machines and services across multiple hypervisor platforms, including VMware ESX and ESXi hosts. In VMM, support for ESX is optimized for virtual machine and service management. VMM enables you to manage and provide resources from multiple hypervisors and make the resources available to private cloud deployments, all from a common user interface and common command-line interface (CLI).

VMM 2012 helps customers to migrate from VMware to Hyper-v using V2V feature. I saw a common case that happened for 2 of my customers

Symptons :

When you try to delete VM that are hosted on VMware Cluster from VMM Console or Sync VMM with vCenter you get this error.

 

Error (2947)
Virtual Machine Manager cannot complete the VirtualCenter action on the server XYZ.Domin.Local because of the following error: Invalid datastore path ‘[ESX_Datastore] ‘
Unknown error (0x194)

Recommended Action
Resolve the issue and then try the operation again.

 

Cause

This error happens after migration of VM from VMware to Hyper-V using VMM. if you delete the “VM files, Storage” from VMware cluster using the vCenter console “not the VMM Console “ and then try to Refresh VMware Cluster you still able to see the VM. If you tried to delete it again from VMM Console you will get this error

Resolution

You can use PowerShell to force remove that VM:

$VM = Get-VM -Name "VM Name"
Remove-VM -VM $VM –Force

Categories: Tips&Tricks, VMM, VMM2012, vmware Tags:

Microsoft Virtual Machine Converter Plug-in for VMware vSphere Client Beta

August 18, 2012 Leave a comment

The beta of the Microsoft Virtual Machine Converter Plug-in for VMware vSphere Client v1.0 is now available for download at the link below:

https://connect.microsoft.com/site14/Downloads/DownloadDetails.aspx?DownloadID=45909

The MVMC Plug-in for VMware vSphere Client Beta:

  • Extends the vSphere Client context menu to make it easier to convert the VMware-based virtual machine to a Hyper-V-based virtual machine.
  • Is built upon the Microsoft Virtual Machine Converter release candidate.

This plug-in extends vSphere Client to facilitate conversions from a virtual machine context menu and without changing configurations on the source VMware host. For more details about which guest operating systems are supported, see the Microsoft Virtual Machine Converter documentation:https://connect.microsoft.com/site14/Downloads/DownloadDetails.aspx?DownloadID=45909

Categories: vmware Tags:

Download the Microsoft Virtual Machine Converter Release Candidate

Microsoft Virtual Machine Converter v1.0 has went to the release candidate of the tool, now is a great chance to download it and provide feedback. Click here to download the release candidate.

New in the Release Candidate

In addition to the capabilities that were delivered as part of the beta release, the MVMC Release Candidate:

  • Converts and deploys virtual machines from VMware hosts to Hyper-V hosts running:
  • Windows Server 2012 Release Candidate
  • Microsoft Hyper-V Server 2012 Release Candidate
  • Adds virtual network interface cards (NICs) to the converted virtual machine on Hyper-V
  • Configures dynamic memory on the converted virtual machine
  • Supports migration of virtual machines that are hosted on a vSphere cluster
  • Supports migration of virtual machines to a Hyper-V host that is part of a failover cluster
  • Enables Microsoft partners to cobrand the tool so that it incorporates their logos
Categories: VMM, VMM2012, vmware
%d bloggers like this: