How to update Windows Server failover clusters

This article describes how to update failover clusters in Windows Server 2008 R2, Windows Server 2008, and Windows Server 2003.

Original product version:  Windows Server 2012 R2
Original KB number:  174799

Summary

This article describes how to install service packs or hotfixes on a Windows Server failover cluster. Applying a service pack or hotfix to a server cluster is the same as applying a service pack or hotfix to Windows Server 2003, Windows Server 2008, or Windows Server 2008 R2 (although Windows Server 2012 requires a different process). However, there are special conditions that you should consider to make sure that clients have a high level of access while you perform the installation.

More information

To install Windows service packs or hotfixes on a Windows Server failover cluster, follow these steps, depending on the version of Windows Server that you're running. Always install the same service packs or hotfixes on each cluster node. Follow these steps unless you're directed otherwise by the instructions for a particular service pack version.

Windows Server 2012 or newer

Installing service packs and hotfixes on Windows Server 2012 or newer requires a different process. For more information, go to the following website: Draining Nodes for Planned Maintenance with Windows Server

Windows Server 2003

  1. Check the System log for errors, and make sure that the system is operating correctly.
  2. Make sure that you have a current backup and updated emergency repair disk for the system. If there are corrupted files, a power outage, or an incompatibility, you may have to revert to the state of the system before you tried to install the service packs or hotfixes.
  3. Start Cluster Administrator, right-click Node A, and then click Pause Node.
  4. Expand Node A, and then click Active Groups.
  5. In the navigation pane, right-click the groups, and then click Move Group to move all groups to Node B.
  6. Install the service pack on Node A, and then restart the computer.
  7. Check the System log for errors. If you find any errors, you should troubleshoot them before you continue this process.
  8. In Cluster Administrator, right-click Node A, and then click Resume Node.
  9. In Cluster Administrator, right-click Node B, and then click Pause Node.
  10. Right-click Node B, and then click Move Group for all groups that are owned by Node B to move all groups to Node A.
  11. Install the service pack on Node B, and then restart the computer.
  12. Check the System log for errors. If you find any errors, you should troubleshoot them before you continue this process.
  13. In Cluster Administrator, right-click Node B, and then click Resume Node.
  14. Right-click each group, click Move Group, and then move the groups back to their preferred owner.

Windows Server 2008 and Windows Server 2008 R2

How to install service packs or hotfixes by using Failover Cluster Manager

Membership in the local Administrators group on each clustered server or an equivalent is required to complete this procedure.

  1. Check the System log for errors, and make sure that the system is operating correctly.
  2. Make sure that you have a current backup and updated emergency repair disk for each system. If there are corrupted files, a power outage, or an incompatibility, you may have to revert to the state of the system before you tried to install the service packs or hotfixes.
  3. In the Failover Cluster Manager snap-in, right-click Node A, and then click Pause.
  4. On Node A, expand Services and Applications, and then click the service or application.
  5. Under Actions (on the right side), click Move this service or application to another node, and then select the node.

Note

As the service or application moves, its status is displayed in the details pane (the center pane). 6. Follow steps 4 and 5 for each service and application that is configured on the cluster. On a cluster that has more than two nodes, from the options next to Move this service or application to another node, you can select Best possible. This option has no effect if you don't have a Preferred owners list configured for the service or application that you're moving. (In this case, the node will be selected randomly.) If you configured a Preferred owners list, the Best possible option will move the service or application to the first available node on the list. 7. Install the service packs or hotfixes on Node A, and then restart the computer. 8. Check the System log for errors. If you find any errors, troubleshoot them before you continue this process. 9. In the Failover Cluster Manager snap-in, right-click Node A, and then click Resume. 10. In the Failover Cluster Manager snap-in, right-click Node B, and then click Pause. 11. Under Actions (on the right side), click Move this service or application to another node, and then select the node.

Note

As the service or application moves, its status is displayed in the details pane (the center pane). 12. Follow steps 10 and 11 for each service and application that is configured on the cluster. 13. Install the service packs or hotfixes on Node B, and then restart the computer. 14. Check the System log for errors. If you find any errors, troubleshoot them before you continue this process. 15. In Failover Cluster Manager, right-click Node B, and then click Resume. 16. Right-click each group, click Move Group, and then move the groups back to their preferred owner. For more information, go to the following Windows Server websites: Test the Failover of a Clustered Service or Application

Pause or Resume a Node in a Failover Cluster

Windows Server 2008 R2

How to install service packs or hotfixes by using Windows PowerShell cmdlets

Membership in the local Administrators group on each clustered server or an equivalent is required to complete this procedure.

  1. Check the System log for errors, and make sure that the system is operating correctly.

  2. Make sure that you have a current backup and updated emergency repair disk for each system. If there are corrupted files, a power outage, or an incompatibility, you may have to revert to the state of the system before you tried to install the service packs or hotfixes.

  3. In the Windows Server 2008 R2, use the Windows PowerShell Modules link under Administrative Tools to automatically import all the Windows PowerShell modules for the features or roles that you've installed.

  4. Use the shortcut in Administrative Tools to start Failover Cluster PowerShell Management. Or, start Windows PowerShell on your computer by right-clicking and then selecting Run as administrator.

  5. Load the Failover Clusters module by running the following command: Import-Module FailoverClusters

  6. Suspend (Pause) activity on failover cluster node A by running the following command: Suspend-ClusterNode nodeA

  7. Move a clustered service or application (a resource group) from one node to another by running the following command: Move-ClusterGroup -Node nodeB

Tip

 You can also use following command to move all groups of the node to the preferred owner of the best possible node: Get-ClusterNode NodeA | Get-ClusterGroup | Move-Cluster Group

  1. Install the service pack on Node A, and then restart the computer.

  2. Check the System log for errors. If you find any errors, troubleshoot them before you continue this process.

  3. Resume activity on node A that was suspended in step 5 by running the following command: Resume-ClusterNode nodeA

  4. Suspend (Pause) activity on other failover cluster node by running the following command: Suspend-ClusterNode nodeB

  5. Move a clustered service or application (a resource group) from one node to another by running the following command: Move-ClusterGroup -Node nodeB

Note

 You can again use following command to move all groups of the node to the preferred owner of the best possible node:
Get-ClusterNode NodeB | Get-ClusterGroup | Move-Cluster Group

  1. Install the service pack on Node B, and then restart the computer.

  2. Check the System log for errors. If you find any errors, troubleshoot them before you continue this process.

  3. Resume activity on node B that was suspended in step 10 by running the following command: Resume-ClusterNode nodeB

  4. Move the clustered service or application (a resource group) back to their preferred owner by running the following command: Move-ClusterGroup < CusteredService > -Node < NodeName > For more information, go to the following Microsoft websites: Failover Cluster Cmdlets in Windows PowerShell

Overview of Server Manager Commands