Creating a cluster with System Center 2012 Virtual Machine Manager fails with error 25310

Symptoms

When creating a cluster using System Center 2012 Virtual Machine Manager (VMM), the creation process fails and the following error is generated:

Error 25310
Unable to connect to the user host process

Running a Cluster Validation Report on the Hyper-V hosts only generates warnings. Reviewing a VMM trace may show events such as the following:

[3632] 0E30.1250::02/28-17:51:51.498#19:RunningTaskDbWriter.cs(771): UpdateRunningStepDescription --> SubtaskID: f0e3931f-22d5-4c4d-a693-dfec95b5a51e, Description Validate nodes for clustering|TaskID=931E55C6-E62D-4938-9A10-AB556F879ACA   
[3632] 0E30.1250::02/28-17:51:51.502#09:InstallClusterSubtask.cs(392): The cluster operation failed before cluster creation. cleaning up cluster in DB    [3632] 0E30.1250::02/28-17:51:51.505#09:InstallClusterSubtask.cs(392): Microsoft.VirtualManager.Utils.CarmineException: Unable to connect to the user host process.    
[3632] retry the operation.    
[3632]    at Microsoft.VirtualManager.VmmHelperHost.HostHelper`2.ConnectToProcess(TimeSpan& timeout, String namedPipeName)    
[3632]    at Microsoft.VirtualManager.VmmHelperHost.HostHelper`2.CreateProcess(TimeSpan timeout)    
[3632]    at Microsoft.VirtualManager.VmmHelperHost.HostHelper`2.CreateProcess()    
[3632]    at Microsoft.VirtualManager.Engine.Adhc.TestClusterSubtask.RunSubtask()    
[3632]    at Microsoft.VirtualManager.Engine.TaskRepository.SubtaskBase.Run()    
[3632]    at Microsoft.VirtualManager.Engine.Adhc.InstallClusterSubtask.RunClusterValidationOnHosts()    
[3632]    at Microsoft.VirtualManager.Engine.Adhc.InstallClusterSubtask.RunSubtask()   
[3632] *** Carmine error was: UserHostConnectFailed (25310) 
Cause

This has been seen to occur in the following scenarios:

  1. If there is no default gateway on any of the Network Interface Adapters (NICs) on the Hyper-V hosts that are being clustered.
  2. If VMM services times out attempting to connect to the VmmHelperHost process
Resolution

To resolve this issue, ensure a default gateway is defined on one of the cluster NICs on each node that have a compliant status in VMM on the Hyper-V hosts.

If the problem is not resolved, consider increasing the HelperHostConnectRetryCount from the default of 5 to a larger value such as 10. This will effectively increase the timeout from 10 seconds to 50 seconds.

Warning: Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

For Windows Server 2008 R2
Click Start, and in the Search box type regedit, and then clickregedit.exe in the search results.

1. Locate, and then click the following subkey:

HKLM\Software\Microsoft\ Microsoft System Center Virtual Machine Manager Server\Settings

2. Click on Edit, and then New - DWORD Value.

3. Rename the value to HelperHostConnectRetryCount

4. Right click on HelperHostConnectRetryCount and then click Modify.

5. In the Edit DWORD Value dialog box, type 10 in the Value databox, select Base of Decimal and then click OK.

6. Quit Registry Editor

Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.
Properties

Article ID: 2679531 - Last Review: 07/09/2012 20:57:00 - Revision: 4.0

Microsoft System Center 2012 Virtual Machine Manager

  • kbtshoot KB2679531
Feedback