I have a 5 node cluster and have been trying to automate my live-migrations
I use a simple "script" to move all the vm off of one node to another
$groups = Get-ClusterNode hyper-v1 | Get-ClusterGroup | ?{ $_ | Get-ClusterResource | ?{ $_.ResourceType -like "Virtual Machine" } }
foreach ( $group in $groups ) { $group | Move-ClusterVirtualMachineRole -Node
hyper-v2 }
This works perfectly on all servers but one.
What happens on one server is the first vm begins to migrate and the script moves on to the next vm before the first is finished, I then see a slough of red text from the rest of the vms failing. In the cluster manager you can see the vm is still migrating but is reporting as done to powershell.
This also happens when moving a single server onto that node in powershell
Move-ClusterVirtualMachineRole "VirtualMachine1" -Node Hyer-v1
Is this some kind of communication issue? Where/what can I look at?
Thanks in Advance