Windows Failover Cluster

You can create a failover cluster using Windows Server on Google Cloud Platform (GCP). A group of servers works together to provide higher availability (HA) for your Windows applications. If one cluster node fails, another node can take over running the software. You can configure the failover to happen automatically, which is the usual configuration, or you can manually trigger a failover.

-->

Applies to: Windows Server 2019, Windows Server 2016

A failover cluster is a group of independent computers that work together to increase the availability and scalability of clustered roles (formerly called clustered applications and services). The clustered servers (called nodes) are connected by physical cables and by software. If one or more of the cluster nodes fail, other nodes begin to provide service (a process known as failover). In addition, the clustered roles are proactively monitored to verify that they are working properly. If they are not working, they are restarted or moved to another node.

  • Upgrading Windows Failover Cluster 2012R2 to 2016. NOTE:Yes, you can have windows server 2016 and windows server 2012R2 nodes participating in the same cluster. It’s called mixed mode, which is a new compatibility feature/enhancement introduced to transition from server 2012 R2 to 2016 without downtime.
  • In a Windows Failover Cluster, Cluster Networks are created automatically by the Cluster Service for each configured subnet on any active network interfaces (NICs) on each node of the cluster. If a single node has a NIC configured with a subnet that is not configured on other nodes, a Cluster Network will be created even though it cannot be used by any nodes that do-not have an active NIC on it.
  • So what are the features available to install for Failover Clustering? The Failover Cluster feature consists of the following components as shown by the Windows Server PowerShell CmdLet Get-WindowsFeature: Failover-Clustering (Failover Clustering) = This installs the core Failover Clustering feature and all fundamental requirements.
  • Workgroup and Multi-domain clusters in Windows Server 2016. Previous versions of Windows Server along with 2012 R2, a cluster could only be created between member nodes joined to the same domain. Windows Server 2016 breaks down these barriers and introduces the ability to create a Failover Cluster without Active Directory dependencies.

Failover clusters also provide Cluster Shared Volume (CSV) functionality that provides a consistent, distributed namespace that clustered roles can use to access shared storage from all nodes. With the Failover Clustering feature, users experience a minimum of disruptions in service.

Failover Clustering has many practical applications, including:

  • Highly available or continuously available file share storage for applications such as Microsoft SQL Server and Hyper-V virtual machines
  • Highly available clustered roles that run on physical servers or on virtual machines that are installed on servers running Hyper-V
UnderstandPlanningDeployment
What's new in Failover ClusteringPlanning Failover Clustering Hardware Requirements and Storage OptionsCreating a Failover Cluster
Scale-Out File Server for application dataUse Cluster Shared Volumes (CSVs)Deploy a two-node file server
Cluster and pool quorumUsing guest virtual machine clusters with Storage Spaces DirectPrestage cluster computer objects in Active Directory Domain Services
Fault domain awarenessConfiguring cluster accounts in Active Directory
Simplified SMB Multichannel and multi-NIC cluster networksManage the quorum and witnesses
VM load balancingDeploy a cloud witness
Cluster setsDeploy a file share witness
Cluster affinityCluster operating system rolling upgrades
Upgrading a failover cluster on the same hardware
Deploy an Active Directory Detached Cluster
ManageTools and settingsCommunity resources
Cluster-Aware UpdatingFailover Clustering PowerShell CmdletsHigh Availability (Clustering) Forum
Health ServiceCluster Aware Updating PowerShell CmdletsFailover Clustering and Network Load Balancing Team Blog
Cluster-domain migration
Troubleshooting using Windows Error Reporting

In some cases, it may be necessary to uninstall and reinstall the Windows Failover Clustering feature on a server that is currently a member of a Failover Cluster. This can be done via either Server Manager, or PowerShell. Below are the steps to complete the process using each method. These instructions document the process for Windows Server 2012 R2, however the steps are similar for other versions of Windows.

Uninstall the Windows Failover Clustering feature via Server Manager

Complete the following steps with a user account that has administrative rights over the cluster, from any server that has access to the cluster. If the desired server is not listed, first add it by clicking Manage > Add Servers in Server Manager.

  1. In the Nodes view of Failover Cluster Manager, right-click on the node where the Failover Clustering feature is being uninstalled, select More Actions > Evict, and wait for the node to be removed from the Nodes view.
  2. Open Server Manager and click Manage > Remove Roles and Features.
    • If prompted, click Next on the “Before you begin” window.
  3. Select the server where the Failover Clustering feature is being uninstalled, and click Next.
  4. Click Next on the “Remove server roles” window.
  5. On the “Remove features” window, deselect the checkbox next to “Failover Clustering” and click Next.
    • If prompted, deselect the checkbox next to “Remove management tools (if applicable)” to retain the Failover Cluster Management Tools and PowerShell modules, if desired, and click Continue.
  6. On the “Remove features” window, click Next.
  7. Select the checkbox next to “Restart the destination server automatically if required”, and confirm that the server will be restarted if required if prompted before clicking Remove.
  8. The server will be rebooted when the feature is successfully removed.

Install/reinstall the Windows Failover Clustering feature and add the node to a cluster via Server Manager and Failover Cluster Manager

Complete the following steps with a user account that has administrative rights over the cluster, from any server that has access to the cluster. If the desired server is not listed, add it by clicking Manage>Add Servers in Server Manager.

  1. Open Server Manager and click Manage>Add Roles and Features.
  2. If prompted, click Next on the “Before you begin” and “Select installation type” windows, then select the server on which the Failover Clustering feature is to be installed.
  3. Click Next on the “Select server roles” window.
  4. Select Failover Clustering on the “Select features” window, and click Next.
    • If prompted, select the checkbox next to “Include management tools (if applicable)” to install the Failover Cluster Management Tools and PowerShell modules, if desired, and click “Add Features”.
  5. Select the checkbox next to “Restart the destination server automatically if required”, and confirm that the server will be restarted if required if prompted before clicking Install.
  6. The server will be rebooted when the Feature is successfully installed.
  7. When the reboot is complete, open Failover Cluster Manager, Click “Add Node”, and follow the instructions in the “Add Node Wizard” to add the node to a cluster.

Uninstall the Windows Failover Clustering feature via PowerShell

Complete the following steps from an elevated PowerShell prompt with a user account that has administrative rights over the cluster, from any server that has local or remote access to the cluster. The baton rouge serial killer. If necessary, run the following commands first to import the Failover Clustering and Server Manager PowerShell modules:

Windows Failover Cluster Permissions

Import-Module FailoverClusters
Import-Module ServerManager

Once the modules have been loaded or verified:

  1. Run the following command to evict the node where the Failover Clustering feature is being uninstalled:
    Remove-ClusterNode -Cluster <clustername> <nodename>
    • Select Yes if prompted for confirmation.
  2. Run the following command to confirm that the desired node is not listed as a member of the cluster:
    Get-ClusterNode -Cluster <clustername>
  3. Run the following command to remove the Failover Clustering feature from and reboot the desired node:
    Remove-WindowsFeature Failover-Clustering -ComputerName <nodename> -Restart

Install or reinstall the Windows Failover Clustering feature and add the node back to the cluster via PowerShell

Complete the following steps from an elevated PowerShell prompt with a user account that has administrative rights over the cluster, from any server that has local or remote access to the cluster. If necessary, run the following commands first to import the Failover Clustering and Server Manager PowerShell modules:

Windows Failover Cluster Emc Unity

Import-Module FailoverClusters
Import-Module ServerManager

Once the modules have been loaded or verified:

  1. Run the following command to remove the Failover Clustering feature from and reboot the desired node:
    Install-WindowsFeature Failover-Clustering -ComputerName <nodename> -Restart
  2. When the reboot is complete, run the following command to add the node back to a cluster:
    Add-ClusterNode -Cluster <clustername> <nodename>
  3. Run the following command to confirm that the desired node is listed as a member of the cluster:
    Get-ClusterNode -Cluster <clustername>

I hope you find this information useful. Happy clustering!

Windows Failover Cluster 2016

Eriq Stern
Support Escalation Engineer
Windows High Availability Team