In Azure Local, drain is based on cluster ownership, not just visible VM roles. A node can remain in Draining if the cluster still considers it as owning infrastructure resources or if maintenance activity hasn’t fully completed.
Use the steps below to identify and clear the condition.
1. Check whether the node still owns any cluster groups
Even if no VMs are present, the node may still own CSV or other cluster groups.
Get-ClusterGroup | Format-Table Name, OwnerNode, State
What to look for: Any group where OwnerNode is the affected host. If ownership exists, drain will not complete.
2. Move any remaining groups off the node
If ownership is found, move the group manually:
Move-ClusterGroup -Name "<GroupName>" -Node "<OtherNodeName>"
Re‑run step 1 and confirm the node no longer owns any groups.
3. Re‑attempt the supported drain operation
Once ownership is clear, retry the documented drain action:
Suspend-ClusterNode -Name "<NodeName>" -Drain
What to expect: The node should transition to Paused after draining completes.
4. Resume and drain again if the state appears stuck
If the node remains in Draining despite no owned resources, reset the pause state and retry:
Resume-ClusterNode -Name "<NodeName>"
Suspend-ClusterNode -Name "<NodeName>" -Drain
This re-applies the supported pause/drain workflow without using undocumented force actions.
5. Check for active storage jobs (S2D environments)
Background storage maintenance or repair activity can delay maintenance transitions.
Get-StorageJob
What to look for: Any running jobs. Allow them to complete before retrying drain.
6. Restart the cluster service on the node (if quorum is safe)
If the node is still stuck and no groups or storage jobs are present, restart the cluster service on that node only:
Stop-ClusterNode -Name "<NodeName>"
Start-ClusterNode -Name "<NodeName>"
Important: Only do this if the cluster will remain in quorum.
7. Validate cluster health if the issue persists
Run cluster validation to surface configuration or health issues that may block maintenance:
Test-Cluster -Node "<NodeName>"
Review storage, network, and system results.