The Serious Way to Deploy Microsoft
Forefront Infrastructure!

  • Most Value Added Features
  • True Forefront Security Expertise
  • In use by World's most demanding global networks

Validating Windows Clusters with SCVMM
Posted by on 14 July 2015 11:06 PM

By Robert Keith

Validating Windows Hyper-V Clusters already managed by System Center Virtual Machine Manager is a simple process which can be done easily with the VMM Console GUI. Creating Clusters is also simple, but from PowerShell, administrators can also validate candidate cluster nodes using the System Center facilities.

Applies to:
Iron Networks Products: IronPOD Family of Products, Microsoft CPS
Software: Microsoft System Center, System Center Virtual Machine Manager (SCVMM)
Hardware Components: NA



Validating candidate computer nodes for Hyper-V Cluster from SCVMM commandlets is valuable to insure that the cluster builds successfully and is each node is configured correctly. Many prerequisites should be completed and correct. Some of these prerequisites are managed completely by SCVMM, such as making sure the SMB Network Shares are configured within VMM.

This document describes a process to run the System Center Virtual Machine Manager to validate both the hosts are configured correctly, and that SCVMM is also configured correctly.


The VMM Commandlet to run cluster validation tests is Test-SCVMHostCluster. This command accepts two classes of arguments, a cluster name, or a set of hosts to later join as a cluster.

If the cluster already exists, then simply doing the command:

Test-SCVMHostCluster –VMHostCluster <cluster name>

This will run a cluster validation test and generate a report. This is also simple to do from the VMM Console GUI. To run PowerShell commands using VMM Commands, the easiest way is start PowerShell from the VMM Console.

To select a group of nodes before the cluster is created; these nodes will need to be selected with PowerShell on some way.

The simplest way to group the nodes is to create a VMM Host Group and drag the hosts into the group. In the image below, four nodes (IP3-Comp-2-1 thru IP3-Comp-2-4) are added to the Host Group (IP3-Comp-Cluster).

Please note here the cluster has been created already, but the concept is the same.

Some of the PowerShell commands to select VMM Host Groups are:


  • Get the list of available Host Groups

Get-SCVMHostGroup –Name “<group name>”

  • Select a single and specific Host Group object

In the example below we get and list all the available Host Groups, then select a single Host Group.

We can list the nodes selected:

In this case, we have selected the four nodes which resided inside the IP3-Comp-Cluster Host Group.

The complete sequence of commands using the Host Group to select the computer hosts for this example would be:

$HostGroup = Get-SCVMHostGroup –Name “IP3-Comp-Cluster”
$Nodes = $HostGroup.AllChildHosts
$Result = Test-SCVMHostCluster –VMHost $Nodes

An actual example is here:

This can be reduced to a single line:

If your standards do not place each in their own Host Group, then individual nodes can also be selected using a query which selects hosts based either on similar object values, or using substring searches.

This example we selected the four nodes which included the substring of “*Comp-2*”.

Naturally these queries can be quite selective and creative. Below we selected all nodes with the CPUModel of Xeon. The resulting output messages lists the name of the validation report.

Finding the Results

The resulting validation report can be confusing to locate, as it is not located where the current documentation says. Going into File Explorer and doing a search on the report name locates the reports in this case at: C:\Users\Administrator.<Domain>\AppData\Local\Temp.

(0 vote(s))
Not helpful

Comments (0)
Post a new comment
Full Name:

Iron Networks is an OEM provider of software-defined converged network, compute & storage virtualization infrastructure platforms for cloud-optimized modern data centers. The IronPOD solutions are OpenStack, VMWare and Microsoft Fast-Track validated turnkey cloud and storage building blocks, built on industry standard commodity hardware, quick to deploy at large-scale and easy to distribute as a single low-cost rack level SKU. IronPOD enterprise level support services and systems are available via qualified partners globally to help enterprises efficiently build private cloud environments, and service providers build public cloud offerings.

Copyright © 2015 Iron Networks, Inc. All Rights Reserved.