Hyper-V cluster: maintenance of a node

Windows Server 2012R2 Windows Server 2016 Windows Server 2019


In this tutorial, I will explain how to put a node (host) in maintenance on a Hyper-V Cluster.

This tutorial can be applied to all Windows Server clusters. It should be checked before switching roles.

Maintenance of a node

Depuis la console Gestionnaire de cluster de basculement et aller sur la liste des nœuds 1.

Cluster : liste des noeuds

Right click on the node to put maintenance 1, go to Pause 2 and click on Drain roles 3.

Mise en maintenance

The Drain roles option lets you move the roles to the other nodes in the cluster.

On a Hyper-V cluster, if we look at the list of nodes, we can see that the virtual machines are being migrated.

Once the roles have been drained, the node is suspended 1.

Nœud en pause

You can now intervene on the server without risk for roles.

Take out the node for maintenance

From the list of nodes in the Failover Cluster Manager console, right click on the server in maintenance 1, go to Resume 2 and click on Restore roles 3.

The choice Restore roles allows roles (virtual machines) to be returned to the node.

The state of the node returns to Service 1.

If the option Restore roles has been selected, we can see their migration follow.

Restauration des rôles