Microsoft Enterprise Platforms Support: Windows Server Core Team
One question I get asked a lot working with our customers is how to failover the ‘Cluster Group’ and ‘Available Storage’ groups?
Under the covers, those two groups are still just groups like any other you’d see under ‘Services and Applications’ in Failover Cluster Manager. We just didn’t expose through the GUI, a way to fail those groups between nodes when you want to move say ‘Available Storage’ to a node you are working on so you can copy data to a cluster shared disk.
The resources in the ‘Cluster Group’ are located in the middle pane in Failover Cluster Manager when you highlight the name of the cluster underneath ‘Failover Cluster Manager’ in the left-hand pane.
Note in the above screenshot, in the top ‘Summary of Cluster’ box, the ‘Current Host Server: shows as JH-W2K8-R2SP1-2. That’s the node that currently owns the ‘Cluster Group’ or ‘Core Cluster Resources.
The below screenshot shows the ‘Available Storage’ group. This is a group containing cluster shared disks that have not yet been added to a ‘Services and applications’ group.
Note also that the current owner of the ‘Available Storage’ group shows as JH-W2K8-R2SP1-2.
So, there are two ways we can move either the ‘Cluster Group’ or the ‘Available Storage’ groups between nodes of the cluster.
The first way is with the cluster PowerShell cmdlet Move-ClusterGroup
Move-ClusterGroup “Cluster Group”
Move-ClusterGroup “Available Storage”
The second way is a cluster.exe command line
cluster group “Cluster Group” /move
cluster group “Available Storage” /move
If you have more than two nodes in the cluster, you can specify the destination node with the following syntax:
move-ClusterGroup –node NodeName
where NodeName is where you want to move the group.
cluster group “Cluster Group” /Move:NodeName
Jeff Hughes Senior Support Escalation Engineer Microsoft Enterprise Platforms Support
The same approach applies to Cluster Shared Volumes (CSVs). Each of them is essentially a hidden cluster group as well.
Currently, neither the group nor resource names for CSVs are exposed in PowerShell when listing. Cluster.exe doesn't show the group as well. So the only way to learn the group name is to list the resources. You filter the list by the friendly name of the CSV or a part of it (as seen in Failover Cluster Manager).
PS C:\Windows\system32> .\cluster.exe /cluster:"MyCluster.contoso.com" resource | findstr /i Disk-01
Cluster Disk 1 - Disk-01 53f2937f-feb2-4dd4-ac20-7e2531023455 Node02 Online
The GUID is actually the Group name. (And it is not the same as internal object GUID). Knowing this name you can now use it either with Cluster.exe or with PowerShell.
Get-Cluster -Name "MyCluster.contoso.com" | Get-ClusterGroup -Name "53f2937f-feb2-4dd4-ac20-7e2531023455" | Move-ClusterGroup
Thanks, nice bookmark. :-)