KB: Storage Migration of a running Virtual Machine fails with error 2927 in System Center Virtual Machine Manager 2008
Published Feb 15 2019 10:49 AM 490 Views
First published on TECHNET on Mar 05, 2012

Here’s a new Knowledge Base article we published today. This one talks about an issue where an attempt to migrate the storage of a VM from one volume to another by using the Migrate Storage option fails at 14% with a 2927 error:

=====

Symptoms

When attempting to migrate the storage of a virtual machine from one volume to another volume by using the Migrate Storage option in System Center Virtual Machine Manager 2008 R2 SP1 (VMM), the storage migration jobs fails at 14% creating the check point with the error below:
Error (2927)

A Hardware Management error has occurred trying to contact server <Host server>.
(Unknown error (0x80338048))
Recommended Action
Check that WinRM is installed and running on server <Host server>. For more information use the command "winrm helpmsg hresult".

Cause

This can occur if the WinRM setting “MaxEnvelopeSizekb” is mismatched between the System Center Virtual Machine Manager server and the host. By default, the WinRM value is MaxEnvelopeSizekb=150. After installing the VMM agent the MaxEnvelopeSizekb value will change from 150 to 800.
You can verify the values by running the following command on the System Center Virtual Machine Manager server and the Host:
winrm get winrm/config

Resolution

1. Open an elevated command prompt on System Center Virtual Machine Manager server and on the Host server (i.e. run a CMD prompt using administrator credentials).
2. Run winrm get winrm/config on each.
3. Verify that the Winrm Setting “MaxEnvelopeSizekb” value on the System Center Virtual Machine Manager server and on the Host server is 800.
4. If the value is different, set each to a value to 800 with the command below:
winrm set winrm/config @{MaxEnvelopeSizekb="800"}

5. Refresh the Host from the System Center Virtual Machine Manager console
6. Perform the storage migration of the Virtual Machine. At this point it should succeed as expected.

More Information

Trace Details:

35549,17:21:39.916 02-02-2012,0x0D20,0x0FDC,19,Task.cs,246,0x00000000,"Task failed error HostAgentWSManError (2927); HR: 0x80338048 with exception Microsoft.Carmine.WSManWrappers.WSManProviderException: A Hardware Management error has occurred trying to contact server Host1.domain.com.
36236 Check that WinRM is installed and running on server Host1.domain.com. For more information use the command ""winrm helpmsg hresult"". ---> System.Runtime.InteropServices.COMException (0x80338048): The response that the WS-Management service computed exceeds the maximum envelope size in the request.
36237 at Microsoft.Carmine.WSManWrappers.MyIWSManSession.Invoke(String actionUri; Object resourceUri; String parameters; Int32 flags)
36238 at Microsoft.Carmine.WSManWrappers.WsmanAPIWrapper.Invoke(String actionUri; String url; Hashtable parameters; Type returnType; Boolean isCarmineMethod) 36239 --- End of inner exception stack trace
-----

For more information see Installation and Configuration for Windows Remote Management : http://msdn.microsoft.com/en-us/library/windows/desktop/aa384372(v=vs.85).aspx

=====

For the most current version of this article please see the following:

2682635 : Storage Migration of a running Virtual Machine fails with error 2927 in System Center...

J.C. Hornbeck | System Center & Security Knowledge Engineer

Get the latest System Center news on Facebook and Twitter :

App-V Team blog: http://blogs.technet.com/appv/
ConfigMgr Support Team blog: http://blogs.technet.com/configurationmgr/
DPM Team blog: http://blogs.technet.com/dpm/
MED-V Team blog: http://blogs.technet.com/medv/
Orchestrator Support Team blog: http://blogs.technet.com/b/orchestrator/
Operations Manager Team blog: http://blogs.technet.com/momteam/
SCVMM Team blog: http://blogs.technet.com/scvmm
Server App-V Team blog: http://blogs.technet.com/b/serverappv
Service Manager Team blog: http://blogs.technet.com/b/servicemanager
System Center Essentials Team blog: http://blogs.technet.com/b/systemcenteressentials
WSUS Support Team blog: http://blogs.technet.com/sus/

The Forefront Server Protection blog: http://blogs.technet.com/b/fss/
The Forefront Endpoint Security blog : http://blogs.technet.com/b/clientsecurity/
The Forefront Identity Manager blog : http://blogs.msdn.com/b/ms-identity-support/
The Forefront TMG blog: http://blogs.technet.com/b/isablog/
The Forefront UAG blog: http://blogs.technet.com/b/edgeaccessblog/

Version history
Last update:
‎Mar 11 2019 09:09 AM
Updated by: