Failover Clustering
Failover Clustering
Failover Clustering
What's New in Failover Clustering
Understand
Scale-Out File Server for application data
Cluster and pool quorum
Fault domain awareness
Simplified SMB Multichannel and multi-NIC cluster networks
VM load balancing
VM load balancing deep-dive
Cluster sets
Cluster affinity
Plan
Hardware requirements
Use Cluster Shared Volumes (CSVs)
Using guest VM clusters
Deploy
Create a failover cluster
Deploy a two-node file server
Prestage a cluster in AD DS
Configuring cluster accounts in Active Directory
Manage quorum and witnesses
Deploy a Cloud Witness
Deploy a file share witness
Cluster operating system rolling upgrades
Upgrading a failover cluster on the same hardware
Manage
Cluster-Aware Updating
Requirements and best practices
Advanced options
FAQ
Plug-ins
Health Service
Reports
Faults
Actions
Settings
Cluster-domain migration
Troubleshooting using Windows Error Reporting
Cluster system log events
Change history for Failover Clustering topics
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.
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
What's new in Failover Clustering Planning Failover Clustering Hardware Creating a Failover Cluster
Requirements and Storage Options
Scale-Out File Server for application data Use Cluster Shared Volumes (CSVs) Deploy a two-node file server
Cluster and pool quorum Using guest virtual machine clusters with Prestage cluster computer objects in Active
Storage Spaces Direct Directory Domain Services
Simplified SMB Multichannel and multi-NIC Manage the quorum and witnesses
cluster networks
Cluster-Aware Updating Failover Clustering PowerShell Cmdlets High Availability (Clustering) Forum
Health Service Cluster Aware Updating PowerShell Cmdlets Failover Clustering and Network Load
Balancing Team Blog
Cluster-domain migration
MANAG E TO O LS AND S E T TING S CO MMU NIT Y R ES O U R CES
This topic explains the new and changed functionality in Failover Clustering for Windows Server 2019 and
Windows Server 2016.
WARNING
After you update the cluster functional level, you cannot go back to a Windows Server 2012 R2 cluster functional level.
Until the Update-ClusterFunctionalLevel cmdlet is run, the process is reversible, and Windows Server 2012 R2 nodes
can be added and Windows Server 2016 nodes can be removed.
See Also
Storage
What's New in Storage in Windows Server 2016
Scale-Out File Server for application data overview
9/27/2019 • 9 minutes to read • Edit Online
Scale-Out File Server is a feature that is designed to provide scale-out file shares that are continuously available
for file-based server application storage. Scale-out file shares provides the ability to share the same folder from
multiple nodes of the same cluster. This scenario focuses on how to plan for and deploy Scale-Out File Server.
You can deploy and configure a clustered file server by using either of the following methods:
Scale-Out File Server for application data This clustered file server feature was introduced in Windows
Server 2012, and it lets you store server application data, such as Hyper-V virtual machine files, on file shares,
and obtain a similar level of reliability, availability, manageability, and high performance that you would expect
from a storage area network. All file shares are simultaneously online on all nodes. File shares associated with
this type of clustered file server are called scale-out file shares. This is sometimes referred to as active-active.
This is the recommended file server type when deploying either Hyper-V over Server Message Block (SMB ) or
Microsoft SQL Server over SMB.
File Server for general use This is the continuation of the clustered file server that has been supported in
Windows Server since the introduction of Failover Clustering. This type of clustered file server, and therefore all
the shares associated with the clustered file server, is online on one node at a time. This is sometimes referred
to as active-passive or dual-active. File shares associated with this type of clustered file server are called
clustered file shares. This is the recommended file server type when deploying information worker scenarios.
Scenario description
With scale-out file shares, you can share the same folder from multiple nodes of a cluster. For instance, if you have
a four-node file server cluster that is using Server Message Block (SMB ) Scale-Out, a computer running Windows
Server 2012 R2 or Windows Server 2012 can access file shares from any of the four nodes. This is achieved by
leveraging new Windows Server Failover Clustering features and the capabilities of the Windows file server
protocol, SMB 3.0. File server administrators can provide scale-out file shares and continuously available file
services to server applications and respond to increased demands quickly by simply bringing more servers online.
All of this can be done in a production environment, and it is completely transparent to the server application.
Key benefits provided by Scale-Out File Server in include:
Active-Active file shares. All cluster nodes can accept and serve SMB client requests. By making the file share
content accessible through all cluster nodes simultaneously, SMB 3.0 clusters and clients cooperate to provide
transparent failover to alternative cluster nodes during planned maintenance and unplanned failures with
service interruption.
Increased bandwidth. The maximum share bandwidth is the total bandwidth of all file server cluster nodes.
Unlike previous versions of Windows Server, the total bandwidth is no longer constrained to the bandwidth of
a single cluster node; but rather, the capability of the backing storage system defines the constraints. You can
increase the total bandwidth by adding nodes.
CHKDSK with zero downtime. CHKDSK in Windows Server 2012 is significantly enhanced to dramatically
shorten the time a file system is offline for repair. Clustered shared volumes (CSVs) take this one step further
by eliminating the offline phase. A CSV File System (CSVFS ) can use CHKDSK without impacting applications
with open handles on the file system.
Clustered Shared Volume cache. CSVs in Windows Server 2012 introduces support for a Read cache, which
can significantly improve performance in certain scenarios, such as in Virtual Desktop Infrastructure (VDI).
Simpler management. With Scale-Out File Server, you create the scale-out file servers, and then add the
necessary CSVs and file shares. It is no longer necessary to create multiple clustered file servers, each with
separate cluster disks, and then develop placement policies to ensure activity on each cluster node.
Automatic rebalancing of Scale-Out File Server clients. In Windows Server 2012 R2, automatic
rebalancing improves scalability and manageability for scale-out file servers. SMB client connections are
tracked per file share (instead of per server), and clients are then redirected to the cluster node with the best
access to the volume used by the file share. This improves efficiency by reducing redirection traffic between file
server nodes. Clients are redirected following an initial connection and when cluster storage is reconfigured.
In this scenario
The following topics are available to help you deploy a Scale-Out File Server:
Plan for Scale-Out File Server
Step 1: Plan for Storage in Scale-Out File Server
Step 2: Plan for Networking in Scale-Out File Server
Deploy Scale-Out File Server
Step 1: Install Prerequisites for Scale-Out File Server
Step 2: Configure Scale-Out File Server
Step 3: Configure Hyper-V to Use Scale-Out File Server
Step 4: Configure Microsoft SQL Server to Use Scale-Out File Server
File System Resilient File System (ReFS) Recommended with Storage Recommended with Storage
Spaces Direct Spaces Direct
GENERAL USE FILE SERVER
TECHNOLOGY AREA FEATURE CLUSTER SCALE-OUT FILE SERVER
* Folder Redirection, Offline Files, Roaming User Profiles, or Home Directories generate a large number of writes
that must be immediately written to disk (without buffering) when using continuously available file shares,
reducing performance as compared to general purpose file shares. Continuously available file shares are also
incompatible with File Server Resource Manager and PCs running Windows XP. Additionally, Offline Files might
not transition to offline mode for 3-6 minutes after a user loses access to a share, which could frustrate users who
aren't yet using the Always Offline mode of Offline Files.
Practical applications
Scale-Out File Servers are ideal for server application storage. Some examples of server applications that can
store their data on a scale-out file share are listed below:
The Internet Information Services (IIS ) Web server can store configuration and data for Web sites on a scale-
out file share. For more information, see Shared Configuration.
Hyper-V can store configuration and live virtual disks on a scale-out file share. For more information, see
Deploy Hyper-V over SMB.
SQL Server can store live database files on a scale-out file share. For more information, see Install SQL Server
with SMB file share as a storage option.
Virtual Machine Manager (VMM ) can store a library share (which contains virtual machine templates and
related files) on a scale-out file share. However, the library server itself can't be a Scale-Out File Server—it
must be on a stand-alone server or a failover cluster that doesn't use the Scale-Out File Server cluster role.
If you use a scale-out file share as a library share, you can use only technologies that are compatible with Scale-
Out File Server. For example, you can't use DFS Replication to replicate a library share hosted on a scale-out file
share. It's also important that the scale-out file server have the latest software updates installed.
To use a scale-out file share as a library share, first add a library server (likely a virtual machine) with a local share
or no shares at all. Then when you add a library share, choose a file share that's hosted on a scale-out file server.
This share should be VMM -managed and created exclusively for use by the library server. Also make sure to install
the latest updates on the scale-out file server. For more information about adding VMM library servers and library
shares, see Add profiles to the VMM library. For a list of currently available hotfixes for File and Storage Services,
see Microsoft Knowledge Base article 2899011.
NOTE
Some users, such as information workers, have workloads that have a greater impact on performance. For example,
operations like opening and closing files, creating new files, and renaming existing files, when performed by multiple users,
have an impact on performance. If a file share is enabled with continuous availability, it provides data integrity, but it also
affects the overall performance. Continuous availability requires that data writes through to the disk to ensure integrity in
the event of a failure of a cluster node in a Scale-Out File Server. Therefore, a user that copies several large files to a file
server can expect significantly slower performance on continuously available file share.
Server Message Block SMB 3.0 added the following features in Windows Server 2012
to support scale-Out File Server: SMB Transparent Failover,
SMB Multichannel, and SMB Direct.
More information
Software-Defined Storage Design Considerations Guide
Increasing Server, Storage, and Network Availability
Deploy Hyper-V over SMB
Deploying Fast and Efficient File Servers for Server Applications
To scale out or not to scale out, that is the question (blog post)
Folder Redirection, Offline Files, and Roaming User Profiles
Understanding cluster and pool quorum
9/27/2019 • 11 minutes to read • Edit Online
Windows Server Failover Clustering provides high availability for workloads. These resources are considered
highly available if the nodes that host resources are up; however, the cluster generally requires more than half the
nodes to be running, which is known as having quorum.
Quorum is designed to prevent split-brain scenarios which can happen when there is a partition in the network
and subsets of nodes cannot communicate with each other. This can cause both subsets of nodes to try to own the
workload and write to the same disk which can lead to numerous problems. However, this is prevented with
Failover Clustering's concept of quorum which forces only one of these groups of nodes to continue running, so
only one of these groups will stay online.
Quorum determines the number of failures that the cluster can sustain while still remaining online. Quorum is
designed to handle the scenario when there is a problem with communication between subsets of cluster nodes,
so that multiple servers don't try to simultaneously host a resource group and write to the same disk at the same
time. By having this concept of quorum, the cluster will force the cluster service to stop in one of the subsets of
nodes to ensure that there is only one true owner of a particular resource group. Once nodes which have been
stopped can once again communicate with the main group of nodes, they will automatically rejoin the cluster and
start their cluster service.
In Windows Server 2019 and Windows Server 2016, there are two components of the system that have their own
quorum mechanisms:
Cluster Quorum: This operates at the cluster level (i.e. you can lose nodes and have the cluster stay up)
Pool Quorum: This operates on the pool level when Storage Spaces Direct is enabled (i.e. you can lose nodes
and drives and have the pool stay up). Storage pools were designed to be used in both clustered and non-
clustered scenarios, which is why they have a different quorum mechanism.
2 50/50 No No
2 + Witness Yes No No
3 Yes 50/50 No
The above scenario applies to a general cluster that doesn't have Storage Spaces Direct enabled. However, when
Storage Spaces Direct is enabled, the cluster can only support two node failures. This is explained more in the pool
quorum section.
Examples
Two nodes without a witness.
One node's vote is zeroed, so the majority vote is determined out of a total of 1 vote. If the non-voting node goes
down unexpectedly, the survivor has 1/1 and the cluster survives. If the voting node goes down unexpectedly, the
survivor has 0/1 and the cluster goes down. If the voting node is gracefully powered down, the vote is transferred
to the other node, and the cluster survives. This is why it's critical to configure a witness.
Can survive one server failure: Fifty percent chance.
Can survive one server failure, then another: No.
Can survive two server failures at once: No.
Two nodes with a witness.
Both nodes vote, plus the witness votes, so the majority is determined out of a total of 3 votes. If either node goes
down, the survivor has 2/3 and the cluster survives.
2 No No No
2 + Witness Yes No No
3 Yes No No
3 + Witness Yes No No
4 Yes No No
More information
Configure and manage quorum
Deploy a cloud witness
Fault domain awareness
9/27/2019 • 7 minutes to read • Edit Online
Failover Clustering enables multiple servers to work together to provide high availability – or put another way, to
provide node fault tolerance. But today's businesses demand ever-greater availability from their infrastructure. To
achieve cloud-like uptime, even highly unlikely occurrences such as chassis failures, rack outages, or natural
disasters must be protected against. That's why Failover Clustering in Windows Server 2016 introduced chassis,
rack, and site fault tolerance as well.
(Get-Cluster).AutoAssignNodeSite=1
To disable fault domain awareness in Windows 2019, go to the Windows Registry and set the (Get-
Cluster).AutoAssignNodeSite registry key to 0.
(Get-Cluster).AutoAssignNodeSite=0
Benefits
Storage Spaces, including Storage Spaces Direct, uses fault domains to maximize data safety.
Resiliency in Storage Spaces is conceptually like distributed, software-defined RAID. Multiple copies of all
data are kept in sync, and if hardware fails and one copy is lost, others are recopied to restore resiliency. To
achieve the best possible resiliency, copies should be kept in separate fault domains.
The Health Service uses fault domains to provide more helpful alerts.
Each fault domain can be associated with location metadata, which will automatically be included in any
subsequent alerts. These descriptors can assist operations or maintenance personnel and reduce errors by
disambiguating hardware.
Stretch clustering uses fault domains for storage affinity. Stretch clustering allows faraway servers to
join a common cluster. For the best performance, applications or virtual machines should be run on servers
that are nearby to those providing their storage. Fault domain awareness enables this storage affinity.
IMPORTANT
Specify fault domains before enabling Storage Spaces Direct, if possible. This enables the automatic configuration to prepare
the pool, tiers, and settings like resiliency and column count, for chassis or rack fault tolerance. Once the pool and volumes
have been created, data will not retroactively move in response to changes to the fault domain topology. To move nodes
between chassis or racks after enabling Storage Spaces Direct, you should first evict the node and its drives from the pool
using Remove-ClusterNode -CleanUpDisks .
Use Get-ClusterFaultDomain to see the current fault domain topology. This will list all nodes in the cluster, plus any
chassis, racks, or sites you have created. You can filter using parameters like -Type or -Name, but these are not
required.
Get-ClusterFaultDomain
Get-ClusterFaultDomain -Type Rack
Get-ClusterFaultDomain -Name "server01.contoso.com"
Use New-ClusterFaultDomain to create new chassis, racks, or sites. The -Type and -Name parameters are required.
The possible values for -Type are Chassis , Rack , and Site . The -Name can be any string. (For Node type fault
domains, the name must be the actual node name, as set automatically).
New-ClusterFaultDomain -Type Chassis -Name "Chassis 007"
New-ClusterFaultDomain -Type Rack -Name "Rack A"
New-ClusterFaultDomain -Type Site -Name "Shanghai"
IMPORTANT
Windows Server cannot and does not verify that any fault domains you create correspond to anything in the real, physical
world. (This may sound obvious, but it's important to understand.) If, in the physical world, your nodes are all in one rack,
then creating two -Type Rack fault domains in software does not magically provide rack fault tolerance. You are responsible
for ensuring the topology you create using these cmdlets matches the actual arrangement of your hardware.
Use Set-ClusterFaultDomain to move one fault domain into another. The terms "parent" and "child" are commonly
used to describe this nesting relationship. The -Name and -Parent parameters are required. In -Name , provide the
name of the fault domain that is moving; in -Parent , provide the name of the destination. To move multiple fault
domains at once, list their names.
IMPORTANT
When fault domains move, their children move with them. In the above example, if Rack A is the parent of
server01.contoso.com, the latter does not separately need to be moved to the Shanghai site – it is already there by virtue of
its parent being there, just like in the physical world.
You can see parent-child relationships in the output of Get-ClusterFaultDomain , in the ParentName and
ChildrenNames columns.
You can also use Set-ClusterFaultDomain to modify certain other properties of fault domains. For example, you can
provide optional -Location or -Description metadata for any fault domain. If provided, this information will be
included in hardware alerting from the Health Service. You can also rename fault domains using the -NewName
parameter. Do not rename Node type fault domains.
Use Remove-ClusterFaultDomain to remove chassis, racks, or sites you have created. The -Name parameter is
required. You cannot remove a fault domain that contains children – first, either remove the children, or move them
outside using Set-ClusterFaultDomain . To move a fault domain outside of all other fault domains, set its -Parent to
the empty string (""). You cannot remove Node type fault domains. To remove multiple fault domains at once, list
their names.
In PowerShell, run the following cmdlet: Get-ClusterFaultDomainXML . This returns the current fault domain
specification for the cluster, as XML. This reflects every discovered <Node> , wrapped in opening and closing
<Topology> tags.
Open the file, and add <Site> , <Rack> , and <Chassis> tags to specify how these nodes are distributed across
sites, racks, and chassis. Every tag must be identified by a unique Name. For nodes, you must keep the node's
name as populated by default.
IMPORTANT
While all additional tags are optional, they must adhere to the transitive Site > Rack > Chassis > Node hierarchy, and must
be properly closed.
In addition to name, freeform Location="..." and Description="..." descriptors can be added to any tag.
<Topology>
<Rack Name="A01" Location="Contoso HQ, Room 4010, Aisle A, Rack 01">
<Chassis Name="Chassis01" Location="Rack Unit 2 (Upper)" >
<Node Name="Server01" Location="Left" />
<Node Name="Server02" Location="Right" />
</Chassis>
<Chassis Name="Chassis02" Location="Rack Unit 6 (Lower)" >
<Node Name="Server03" Location="Left" />
<Node Name="Server04" Location="Right" />
</Chassis>
</Rack>
</Topology>
To set the new fault domain specification, save your XML and run the following in PowerShell.
This guide presents just two examples, but the <Site> , <Rack> , <Chassis> , and <Node> tags can be mixed and
matched in many additional ways to reflect the physical topology of your deployment, whatever that may be. We
hope these examples illustrate the flexibility of these tags and the value of freeform location descriptors to
disambiguate them.
Optional: Location and description metadata
You can provide optional Location or Description metadata for any fault domain. If provided, this information
will be included in hardware alerting from the Health Service. This short video demonstrates the value of adding
such descriptors.
See Also
Get started with Windows Server 2019
Get started with Windows Server 2016
Storage Spaces Direct Overview
Simplified SMB Multichannel and Multi-NIC Cluster
Networks
9/27/2019 • 3 minutes to read • Edit Online
Simplified SMB Multichannel and Multi-NIC Cluster Networks is a feature that enables the use of multiple NICs
on the same cluster network subnet, and automatically enables SMB Multichannel.
Simplified SMB Multichannel and Multi-NIC Cluster Networks provides the following benefits:
Failover Clustering automatically recognizes all NICs on nodes that are using the same switch / same subnet -
no additional configuration needed.
SMB Multichannel is enabled automatically.
Networks that only have IPv6 Link Local (fe80) IP Addresses resources are recognized on cluster-only (private)
networks.
A single IP Address resource is configured on each Cluster Access Point (CAP ) Network Name (NN ) by default.
Cluster validation no longer issues warning messages when multiple NICs are found on the same subnet.
Requirements
Multiple NICs per server, using the same switch / subnet.
Figure 2: To achieve maximum network throughput, use multiple NICs on both the Scale-out File Server
cluster and the Hyper-V or SQL Server Failover Cluster Instance cluster - which share the North-South
subnet
Figure 3: Two clusters (Scale-out File Server for storage, SQL Server FCI for workload) both use multiple
NICs in the same subnet to leverage SMB Multichannel and achieve better network throughput.
See also
What's New in Failover Clustering in Windows Server
Virtual Machine Load Balancing overview
9/27/2019 • 2 minutes to read • Edit Online
A key consideration for private cloud deployments is the capital expenditure (CapEx) required to go into
production. It is very common to add redundancy to private cloud deployments to avoid under-capacity during
peak traffic in production, but this increases CapEx. The need for redundancy is driven by unbalanced private
clouds where some nodes are hosting more Virtual Machines (VMs) and others are underutilized (such as a freshly
rebooted server).
Quick Video Overview
(6 minutes)
When configured for periodic balancing, the pressure on the cluster nodes is evaluated for balancing every 30
minutes. Alternately, the pressure can be evaluated on-demand. Here is the flow of the steps:
1. The pressure is evaluated on all nodes in the private cloud.
2. All nodes exceeding threshold and those below threshold are identified.
3. The nodes with the highest pressure are identified to determine priority of balancing.
4. VMs are Live Migrated (with no down time) from a node exceeding the threshold to node under minimum
threshold.
See Also
Virtual Machine Load Balancing Deep-Dive
Failover Clustering
Hyper-V Overview
Virtual Machine Load Balancing deep-dive
9/27/2019 • 2 minutes to read • Edit Online
The Virtual Machine Load Balancing feature optimizes the utilization of nodes in a Failover Cluster. This document
describes how to configure and control VM Load Balancing.
(Get-Cluster).AutoBalancerLevel = <value>
Using PowerShell:
Run the following:
(Get-Cluster).AutoBalancerMode = <value>
AUTOBALANCERMODE BEHAVIOR
0 Disabled
AUTOBALANCERMODE BEHAVIOR
See Also
Virtual Machine Load Balancing Overview
Failover Clustering
Hyper-V Overview
Cluster sets
9/27/2019 • 23 minutes to read • Edit Online
Cluster sets is the new cloud scale-out technology in the Windows Server 2019 release that increases cluster node
count in a single Software Defined Data Center (SDDC ) cloud by orders of magnitude. A cluster set is a loosely-
coupled grouping of multiple Failover Clusters: compute, storage or hyper-converged. Cluster sets technology
enables virtual machine fluidity across member clusters within a cluster set and a unified storage namespace
across the set in support of virtual machine fluidity.
While preserving existing Failover Cluster management experiences on member clusters, a cluster set instance
additionally offers key use cases around lifecycle management at the aggregate. This Windows Server 2019
Scenario Evaluation Guide provides you the necessary background information along with step-by-step
instructions to evaluate cluster sets technology using PowerShell.
Technology introduction
Cluster sets technology is developed to meet specific customer requests operating Software Defined Datacenter
(SDDC ) clouds at scale. Cluster sets value proposition may be summarized as the following:
Significantly increase the supported SDDC cloud scale for running highly available virtual machines by
combining multiple smaller clusters into a single large fabric, even while keeping the software fault boundary to
a single cluster
Manage entire Failover Cluster lifecycle including onboarding and retiring clusters, without impacting tenant
virtual machine availability, via fluidly migrating virtual machines across this large fabric
Easily change the compute-to-storage ratio in your hyper-converged I
Benefit from Azure-like Fault Domains and Availability sets across clusters in initial virtual machine placement
and subsequent virtual machine migration
Mix-and-match different generations of CPU hardware into the same cluster set fabric, even while keeping
individual fault domains homogenous for maximum efficiency. Please note that the recommendation of same
hardware is still present within each individual cluster as well as the entire cluster set.
From a high level view, this is what cluster sets can look like.
The following provides a quick summary of each of the elements in the above image:
Management cluster
Management cluster in a cluster set is a Failover Cluster that hosts the highly-available management plane of the
entire cluster set and the unified storage namespace (Cluster Set Namespace) referral Scale-Out File Server
(SOFS ). A management cluster is logically decoupled from member clusters that run the virtual machine
workloads. This makes the cluster set management plane resilient to any localized cluster-wide failures, e.g. loss of
power of a member cluster.
Member cluster
A member cluster in a cluster set is typically a traditional hyper-converged cluster running virtual machine and
Storage Spaces Direct workloads. Multiple member clusters participate in a single cluster set deployment, forming
the larger SDDC cloud fabric. Member clusters differ from a management cluster in two key aspects: member
clusters participate in fault domain and availability set constructs, and member clusters are also sized to host
virtual machine and Storage Spaces Direct workloads. Cluster set virtual machines that move across cluster
boundaries in a cluster set must not be hosted on the management cluster for this reason.
Cluster set namespace referral SOFS
A cluster set namespace referral (Cluster Set Namespace) SOFS is a Scale-Out File Server wherein each SMB
Share on the Cluster Set Namespace SOFS is a referral share – of type ‘SimpleReferral' newly introduced in
Windows Server 2019. This referral allows Server Message Block (SMB ) clients access to the target SMB share
hosted on the member cluster SOFS. The cluster set namespace referral SOFS is a light-weight referral
mechanism and as such, does not participate in the I/O path. The SMB referrals are cached perpetually on the each
of the client nodes and the cluster sets namespace dynamically updates automatically these referrals as needed.
Cluster set master
In a cluster set, the communication between the member clusters is loosely coupled, and is coordinated by a new
cluster resource called “Cluster Set Master” (CS -Master). Like any other cluster resource, CS -Master is highly
available and resilient to individual member cluster failures and/or the management cluster node failures. Through
a new Cluster Set WMI provider, CS -Master provides the management endpoint for all Cluster Set manageability
interactions.
Cluster set worker
In a Cluster Set deployment, the CS -Master interacts with a new cluster resource on the member Clusters called
“Cluster Set Worker” (CS -Worker). CS -Worker acts as the only liaison on the cluster to orchestrate the local cluster
interactions as requested by the CS -Master. Examples of such interactions include virtual machine placement and
cluster-local resource inventorying. There is only one CS -Worker instance for each of the member clusters in a
cluster set.
Fault domain
A fault domain is the grouping of software and hardware artifacts that the administrator determines could fail
together when a failure does occur. While an administrator could designate one or more clusters together as a fault
domain, each node could participate in a fault domain in an availability set. Cluster sets by design leaves the
decision of fault domain boundary determination to the administrator who is well-versed with data center
topology considerations – e.g. PDU, networking – that member clusters share.
Availability set
An availability set helps the administrator configure desired redundancy of clustered workloads across fault
domains, by organizing those into an availability set and deploying workloads into that availability set. Let's say if
you are deploying a two-tier application, we recommend that you configure at least two virtual machines in an
availability set for each tier which will ensure that when one fault domain in that availability set goes down, your
application will at least have one virtual machine in each tier hosted on a different fault domain of that same
availability set.
2. Each CSV volume created in the failover automatically triggers the creation of an SMB Share with an auto-
generated name based on the CSV volume name. An administrator cannot directly create or modify SMB
shares under an SOFS role, other than via CSV volume create/modify operations.
3. In hyper-converged configurations, an Infrastructure SOFS allows an SMB client (Hyper-V host) to
communicate with guaranteed Continuous Availability (CA) to the Infrastructure SOFS SMB server. This
hyper-converged SMB loopback CA is achieved via virtual machines accessing their virtual disk (VHDx)
files where the owning virtual machine identity is forwarded between the client and server. This identity
forwarding allows ACL -ing VHDx files just as in standard hyper-converged cluster configurations as before.
Once a cluster set is created, the cluster set namespace relies on an Infrastructure SOFS on each of the member
clusters, and additionally an Infrastructure SOFS in the management cluster.
At the time a member cluster is added to a cluster set, the administrator specifies the name of an Infrastructure
SOFS on that cluster if one already exists. If the Infrastructure SOFS does not exist, a new Infrastructure SOFS
role on the new member cluster is created by this operation. If an Infrastructure SOFS role already exists on the
member cluster, the Add operation implicitly renames it to the specified name as needed. Any existing singleton
SMB servers, or non-Infrastructure SOFS roles on the member clusters are left unutilized by the cluster set.
At the time the cluster set is created, the administrator has the option to use an already-existing AD computer
object as the namespace root on the management cluster. Cluster set creation operations create the Infrastructure
SOFS cluster role on the management cluster or renames the existing Infrastructure SOFS role just as previously
described for member clusters. The Infrastructure SOFS on the management cluster is used as the cluster set
namespace referral (Cluster Set Namespace) SOFS. It simply means that each SMB Share on the cluster set
namespace SOFS is a referral share – of type ‘SimpleReferral' - newly introduced in Windows Server 2019. This
referral allows SMB clients access to the target SMB share hosted on the member cluster SOFS. The cluster set
namespace referral SOFS is a light-weight referral mechanism and as such, does not participate in the I/O path.
The SMB referrals are cached perpetually on the each of the client nodes and the cluster sets namespace
dynamically updates automatically these referrals as needed
Creating a Cluster Set
Prerequisites
When creating a cluster set, you following prerequisites are recommended:
1. Configure a management client running Windows Server 2019.
2. Install the Failover Cluster tools on this management server.
3. Create cluster members (at least two clusters with at least two Cluster Shared Volumes on each cluster)
4. Create a management cluster (physical or guest) that straddles the member clusters. This approach ensures
that the Cluster sets management plane continues to be available despite possible member cluster failures.
Steps
1. Create a new cluster set from three clusters as defined in the prerequisites. The below chart gives an
example of clusters to create. The name of the cluster set in this example will be CSMASTER.
SET-CLUSTER SOFS-CLUSTERSET
CLUSTER1 SOFS-CLUSTER1
CLUSTER2 SOFS-CLUSTER2
2. Once all cluster have been created, use the following commands to create the cluster set master.
3. To add a Cluster Server to the cluster set, the below would be used.
NOTE
If you are using a static IP Address scheme, you must include -StaticAddress x.x.x.x on the New-ClusterSet
command.
4. Once you have created the cluster set out of cluster members, you can list the nodes set and its properties.
To enumerate all the member clusters in the cluster set:
5. To enumerate all the member clusters in the cluster set including the management cluster nodes:
8. To verify the cluster set creation process created one SMB share (identified as Volume1 or whatever the
CSV folder is labeled with the ScopeName being the name of the Infrastructure File Server and the path as
both) on the Infrastructure SOFS for each cluster member's CSV volume:
9. Cluster sets has debug logs that can be collected for review. Both the cluster set and cluster debug logs can
be gathered for all members and the management cluster.
10. Configure Kerberos constrained delegation between all cluster set members.
11. Configure the cross-cluster virtual machine live migration authentication type to Kerberos on each node in
the Cluster Set.
12. Add the management cluster to the local administrators group on each node in the cluster set.
When it completes, you will be given the information about the virtual machine and where it was placed. In the
above example, it would show as:
State : Running
ComputerName : 1-S2D2
If you were to not have enough memory, cpu, or disk space to add the virtual machine, you will receive the error:
Once the virtual machine has been created, it will be displayed in Hyper-V manager on the specific node specified.
To add it as a cluster set virtual machine and into the cluster, the command is below.
If you have added a cluster with existing virtual machines, the virtual machines will also need to be registered with
Cluster sets so register all the virtual machines at once, the command to use is:
However, the process is not complete as the path to the virtual machine needs to be added to the cluster set
namespace.
So for example, an existing cluster is added and it has pre-configured virtual machines the reside on the local
Cluster Shared Volume (CSV ), the path for the VHDX would be something similar to
"C:\ClusterStorage\Volume1\MYVM\Virtual Hard Disks\MYVM.vhdx. A storage migration would need to be
accomplished as CSV paths are by design local to a single member cluster. Thus, will not be accessible to the
virtual machine once they are live migrated across member clusters.
In this example, CLUSTER3 was added to the cluster set using Add-ClusterSetMember with the Infrastructure
Scale-Out File Server as SOFS -CLUSTER3. To move the virtual machine configuration and storage, the command
is:
WARNING: There were issues updating the virtual machine configuration that may prevent the virtual machine
from running. For more information view the report file below.
WARNING: Report file location: C:\Windows\Cluster\Reports\Update-ClusterVirtualMachineConfiguration '' on
date at time.htm.
This warning can be ignored as the warning is "No changes in the virtual machine role storage configuration were
detected". The reason for the warning as the actual physical location does not change; only the configuration paths.
For more information on Move-VMStorage, please review this link.
Live migrating a virtual machine between different cluster set clusters is not the same as in the past. In non-cluster
set scenarios, the steps would be:
1. remove the virtual machine role from the Cluster.
2. live migrate the virtual machine to a member node of a different cluster.
3. add the virtual machine into the cluster as a new virtual machine role.
With Cluster sets these steps are not necessary and only one command is needed. First, you should set all
networks to be available for the migration with the command:
For example, I want to move a Cluster Set virtual machine from CLUSTER1 to NODE2-CL3 on CLUSTER3. The
single command would be:
Please note that this does not move the virtual machine storage or configuration files. This is not necessary as the
path to the virtual machine remains as \SOFS -CLUSTER1\VOLUME1. Once a virtual machine has been registered
with cluster sets has the Infrastructure File Server share path, the drives and virtual machine do not require being
on the same machine as the virtual machine.
To ensure they have been created successfully, Get-ClusterSetFaultDomain can be run with its output shown.
PSShowComputerName : True
FaultDomainType : Logical
ClusterName : {CLUSTER1, CLUSTER2}
Description : This is my first fault domain
FDName : FD1
Id : 1
PSComputerName : CSMASTER
Now that the fault domains have been created, the availability set needs to be created.
When creating new virtual machines, you would then need to use the -AvailabilitySet parameter as part of
determining the optimal node. So it would then look something like this:
Removing a cluster from cluster sets due to various life cycles. There are times when a cluster needs to be removed
from a cluster set. As a best practice, all cluster set virtual machines should be moved out of the cluster. This can be
accomplished using the Move-ClusterSetVM and Move-VMStorage commands.
However, if the virtual machines will not be moved as well, cluster sets runs a series of actions to provide an
intuitive outcome to the administrator. When the cluster is removed from the set, all remaining cluster set virtual
machines hosted on the cluster being removed will simply become highly available virtual machines bound to that
cluster, assuming they have access to their storage. Cluster sets will also automatically update its inventory by:
No longer tracking the health of the now -removed cluster and the virtual machines running on it
Removes from cluster set namespace and all references to shares hosted on the now -removed cluster
For example, the command to remove the CLUSTER1 cluster from cluster sets would be:
Question: Can Windows Server 2012 R2 or 2016 clusters co-exist in the same cluster set?
Question: Can I migrate workloads off Windows Server 2012 R2 or 2016 clusters by simply having those clusters
join the same Cluster Set?
Answer: Cluster sets is a new technology being introduced in Windows Server 2019, so as such, does not exist in
previous releases. Down-level OS -based clusters cannot join a cluster set. However, Cluster Operating System
rolling upgrades technology should provide the migration functionality that you are looking for by upgrading
these clusters to Windows Server 2019.
Question: Can Cluster sets allow me to scale storage or compute (alone)?
Answer: Yes, by simply adding a Storage Space Direct or traditional Hyper-V cluster. With cluster sets, it is a
straightforward change of Compute-to-Storage ratio even in a hyper-converged cluster set.
Question: What is the management tooling for cluster sets
Answer: PowerShell or WMI in this release.
Question: How will the cross-cluster live migration work with processors of different generations?
Answer: Cluster sets does not work around processor differences and supersede what Hyper-V currently
supports. Therefore, processor compatibility mode must be used with quick migrations. The recommendation for
Cluster sets is to use the same processor hardware within each individual Cluster as well as the entire Cluster Set
for live migrations between clusters to occur.
Question: Can my cluster set virtual machines automatically failover on a cluster failure?
Answer: In this release, cluster set virtual machines can only be manually live-migrated across clusters; but cannot
automatically failover.
Question: How do we ensure storage is resilient to cluster failures?
Answer: Use cross-cluster Storage Replica (SR ) solution across member clusters to realize the storage resiliency
to cluster failures.
Question: I use Storage Replica (SR ) to replicate across member clusters. Do cluster set namespace storage UNC
paths change on SR failover to the replica target Storage Spaces Direct cluster?
Answer: In this release, such a cluster set namespace referral change does not occur with SR failover. Please let
Microsoft know if this scenario is critical to you and how you plan to use it.
Question: Is it possible to failover virtual machines across fault domains in a disaster recovery situation (say the
entire fault domain went down)?
Answer: No, note that cross-cluster failover within a logical fault domain is not yet supported.
Question: Can my cluster set span clusters in multiple sites (or DNS domains)?
Answer: This is an untested scenario and not immediately planned for production support. Please let Microsoft
know if this scenario is critical to you and how you plan to use it.
Question: Does cluster set work with IPv6?
Answer: Both IPv4 and IPv6 are supported with cluster sets as with Failover Clusters.
Question: What are the Active Directory Forest requirements for cluster sets
Answer: All member clusters must be in the same AD forest.
Question: How many clusters or nodes can be part of a single cluster Set?
Answer: In Windows Server 2019, cluster sets been tested and supported up to 64 total cluster nodes. However,
cluster sets architecture scales to much larger limits and is not something that is hardcoded for a limit. Please let
Microsoft know if larger scale is critical to you and how you plan to use it.
Question: Will all Storage Spaces Direct clusters in a cluster set form a single storage pool?
Answer: No. Storage Spaces Direct technology still operates within a single cluster and not across member
clusters in a cluster set.
Question: Is the cluster set namespace highly available?
Answer: Yes, the cluster set namespace is provided via a Continuously Available (CA) referral SOFS namespace
server running on the management cluster. Microsoft recommends having enough number of virtual machines
from member clusters to make it resilient to localized cluster-wide failures. However, to account for unforeseen
catastrophic failures – e.g. all virtual machines in the management cluster going down at the same time – the
referral information is additionally persistently cached in each cluster set node, even across reboots.
Question: Does the cluster set namespace-based storage access slow down storage performance in a cluster set?
Answer: No. Cluster set namespace offers an overlay referral namespace within a cluster set – conceptually like
Distributed File System Namespaces (DFSN ). And unlike DFSN, all cluster set namespace referral metadata is
auto-populated and auto-updated on all nodes without any administrator intervention, so there is almost no
performance overhead in the storage access path.
Question: How can I backup cluster set metadata?
Answer: This guidance is the same as that of Failover Cluster. The System State Backup will backup the cluster
state as well. Through Windows Server Backup, you can do restores of just a node's cluster database (which should
never be needed because of a bunch of self-healing logic we have) or do an authoritative restore to roll back the
entire cluster database across all nodes. In the case of cluster sets, Microsoft recommends doing such an
authoritative restore first on the member cluster and then the management cluster if needed.
Cluster affinity
9/27/2019 • 3 minutes to read • Edit Online
A failover cluster can hold numerous roles that can move between nodes and run. There are times when certain
roles (i.e. virtual machines, resource groups, etc) should not run on the same node. This could be due to resource
consumption, memory usage, etc. For example, there are two virtual machines that are memory and CPU intensive
and if the two virtual machines are running on the same node, one or both of the virtual machines could have
performance impact issues. This article will explain cluster antiaffinity levels and how you can use them.
AntiAffinityClassnames
When looking at the properties of a group, there is the parameter AntiAffinityClassNames and it is blank as a
default. In the examples below, Group1 and Group2 should be separated from running on the same node. To view
the property, the PowerShell command and result would be:
Since AntiAffinityClassNames are not defined as a default, these roles can run together or apart. The goal is to
keep them to be separated. The value for AntiAffinityClassNames can be whatever you want them to be, they just
have to be the same. Say that Group1 and Group2 are domain controllers running in virtual machines and they
would be best served running on different nodes. Since these are domain controllers, I will use DC for the class
name. To set the value, the PowerShell command and results would be:
Now that they are set, failover clustering will attempt to keep them apart.
The AntiAffinityClassName parameter is a "soft" block. Meaning, it will try to keep them apart, but if it cannot, it
will still allow them to run on the same node. For example, the groups are running on a two-node failover cluster. If
one node needs to go down for maintenance, it would mean both groups would be up and running on the same
node. In this case, it would be okay to have this. It may not be the most ideal, but both virtial machines will still
running within acceptable performance ranges.
I need more
As mentioned, AntiAffinityClassNames is a soft block. But what if a hard block is needed? The virtual machines
cannot be run on he same node; otherwise, performance impact will occur and cause some services to possibly go
down.
For those cases, there is an additional cluster property of ClusterEnforcedAntiAffinity. This antiaffinity level will
prevent at all costs any of the same AntiAffinityClassNames values from running on the same node.
To view the property and value, the PowerShell command (and result) would be:
The value of "0" means it is disabled and not to be enforced. The value of "1" enables it and is the hard block. To
enable this hard block, the command (and result) is:
PS> (Get-Cluster).ClusterEnforcedAntiAffinity = 1
ClusterEnforcedAntiAffinity : 1
When both of these are set, the group will be prevented from coming online together. If they are on the same node,
this is what you would see in Failover Cluster Manager.
PS> Get-ClusterGroup
Name State
---- -----
Group1 Offline(Anti-Affinity Conflict)
Group2 Online
Additional Comments
Ensure you are using the proper AntiAffinity setting depending on the needs.
Keep in mind that in a two-node scenario and ClusterEnforcedAntiAffinity, if one node is down, both groups
will not run.
The use of Preferred Owners on groups can be combined with AntiAffinity in a three or more node cluster.
The AntiAffinityClassNames and ClusterEnforcedAntiAffinity settings will only take place after a recycling of
the resources. I.E. you can set them, but if both groups are online on the same node when set, they will both
continue to remain online.
Failover clustering hardware requirements and
storage options
9/27/2019 • 5 minutes to read • Edit Online
Applies to: Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012
You need the following hardware to create a failover cluster. To be supported by Microsoft, all hardware must be
certified for the version of Windows Server that you are running, and the complete failover cluster solution must
pass all tests in the Validate a Configuration Wizard. For more information about validating a failover cluster, see
Validate Hardware for a Failover Cluster.
Servers: We recommend that you use a set of matching computers that contain the same or similar
components.
Network adapters and cable (for network communication): If you use iSCSI, each network adapter
should be dedicated to either network communication or iSCSI, not both.
In the network infrastructure that connects your cluster nodes, avoid having single points of failure. For
example, you can connect your cluster nodes by multiple, distinct networks. Alternatively, you can connect
your cluster nodes with one network that's constructed with teamed network adapters, redundant switches,
redundant routers, or similar hardware that removes single points of failure.
NOTE
If you connect cluster nodes with a single network, the network will pass the redundancy requirement in the Validate
a Configuration Wizard. However, the report from the wizard will include a warning that the network should not have
single points of failure.
NOTE
If you have a disk witness for your quorum configuration, you can format the disk with either NTFS or
Resilient File System (ReFS).
For the partition style of the disk, you can use either master boot record (MBR ) or GUID partition
table (GPT).
A disk witness is a disk in the cluster storage that's designated to hold a copy of the cluster
configuration database. A failover cluster has a disk witness only if this is specified as part of the
quorum configuration. For more information, see Understanding Quorum in Storage Spaces Direct.
Consider using Storage Spaces: If you plan to deploy serial attached SCSI (SAS ) clustered storage that's
configured using Storage Spaces, see Deploy Clustered Storage Spaces for the requirements.
More information
Failover Clustering
Storage Spaces
Using Guest Clustering for High Availability
Use Cluster Shared Volumes in a failover cluster
9/27/2019 • 19 minutes to read • Edit Online
Applies to: Windows Server 2019, Windows Server 2016, Windows Server 2012, Windows Server 2012 R2
Cluster Shared Volumes (CSV ) enable multiple nodes in a failover cluster to simultaneously have read-write access
to the same LUN (disk) that is provisioned as an NTFS volume. (In Windows Server 2012 R2, the disk can be
provisioned as NTFS or Resilient File System (ReFS ).) With CSV, clustered roles can fail over quickly from one
node to another node without requiring a change in drive ownership, or dismounting and remounting a volume.
CSV also help simplify the management of a potentially large number of LUNs in a failover cluster.
CSV provide a general-purpose, clustered file system, which is layered above NTFS (or ReFS in Windows Server
2012 R2). CSV applications include:
Clustered virtual hard disk (VHD ) files for clustered Hyper-V virtual machines
Scale-out file shares to store application data for the Scale-Out File Server clustered role. Examples of the
application data for this role include Hyper-V virtual machine files and Microsoft SQL Server data. (Be aware
that ReFS is not supported for a Scale-Out File Server.) For more information about Scale-Out File Server, see
Scale-Out File Server for Application Data.
NOTE
CSVs don't support the Microsoft SQL Server clustered workload in SQL Server 2012 and earlier versions of SQL Server.
In Windows Server 2012, CSV functionality was significantly enhanced. For example, dependencies on Active
Directory Domain Services were removed. Support was added for the functional improvements in chkdsk, for
interoperability with antivirus and backup applications, and for integration with general storage features such as
BitLocker-encrypted volumes and Storage Spaces. For an overview of CSV functionality that was introduced in
Windows Server 2012, see What's New in Failover Clustering in Windows Server 2012 [redirected].
Windows Server 2012 R2 introduces additional functionality, such as distributed CSV ownership, increased
resiliency through availability of the Server service, greater flexibility in the amount of physical memory that you
can allocate to CSV cache, better diagnosibility, and enhanced interoperability that includes support for ReFS and
deduplication. For more information, see What's New in Failover Clustering.
NOTE
For information about using data deduplication on CSV for Virtual Desktop Infrastructure (VDI) scenarios, see the blog posts
Deploying Data Deduplication for VDI storage in Windows Server 2012 R2 and Extending Data Deduplication to new
workloads in Windows Server 2012 R2.
NOTE
In Windows Server 2012 R2, there are multiple Server service instances per failover cluster node. There is the
default instance that handles incoming traffic from SMB clients that access regular file shares, and a second
CSV instance that handles only inter-node CSV traffic. Also, if the Server service on a node becomes
unhealthy, CSV ownership automatically transitions to another node.
SMB 3.0 includes the SMB Multichannel and SMB Direct features, which enable CSV traffic to
stream across multiple networks in the cluster and to leverage network adapters that support
Remote Direct Memory Access (RDMA). By default, SMB Multichannel is used for CSV traffic. For
more information, see Server Message Block overview.
Microsoft Failover Cluster Virtual Adapter Performance Filter. This setting improves the ability
of nodes to perform I/O redirection when it is required to reach CSV, for example, when a
connectivity failure prevents a node from connecting directly to the CSV disk. For more information,
see About I/O synchronization and I/O redirection in CSV communication later in this topic.
Cluster network prioritization. We generally recommend that you do not change the cluster-configured
preferences for the networks.
IP subnet configuration. No specific subnet configuration is required for nodes in a network that use
CSV. CSV can support multisubnet clusters.
Policy-based Quality of Service (QoS ). We recommend that you configure a QoS priority policy and a
minimum bandwidth policy for network traffic to each node when you use CSV. For more information, see
Quality of Service (QoS ).
Storage network. For storage network recommendations, review the guidelines that are provided by your
storage vendor. For additional considerations about storage for CSV, see Storage and disk configuration
requirements later in this topic.
For an overview of the hardware, network, and storage requirements for failover clusters, see Failover Clustering
Hardware Requirements and Storage Options.
About I/O synchronization and I/O redirection in CSV communication
I/O synchronization: CSV enables multiple nodes to have simultaneous read-write access to the same
shared storage. When a node performs disk input/output (I/O ) on a CSV volume, the node communicates
directly with the storage, for example, through a storage area network (SAN ). However, at any time, a single
node (called the coordinator node) “owns” the physical disk resource that is associated with the LUN. The
coordinator node for a CSV volume is displayed in Failover Cluster Manager as Owner Node under Disks.
It also appears in the output of the Get-ClusterSharedVolume Windows PowerShell cmdlet.
NOTE
In Windows Server 2012 R2, CSV ownership is evenly distributed across the failover cluster nodes based on the
number of CSV volumes that each node owns. Additionally, ownership is automatically rebalanced when there are
conditions such as CSV failover, a node rejoins the cluster, you add a new node to the cluster, you restart a cluster
node, or you start the failover cluster after it has been shut down.
When certain small changes occur in the file system on a CSV volume, this metadata must be synchronized
on each of the physical nodes that access the LUN, not only on the single coordinator node. For example,
when a virtual machine on a CSV volume is started, created, or deleted, or when a virtual machine is
migrated, this information needs to be synchronized on each of the physical nodes that access the virtual
machine. These metadata update operations occur in parallel across the cluster networks by using SMB 3.0.
These operations do not require all the physical nodes to communicate with the shared storage.
I/O redirection: Storage connectivity failures and certain storage operations can prevent a given node
from communicating directly with the storage. To maintain function while the node is not communicating
with the storage, the node redirects the disk I/O through a cluster network to the coordinator node where
the disk is currently mounted. If the current coordinator node experiences a storage connectivity failure, all
disk I/O operations are queued temporarily while a new node is established as a coordinator node.
The server uses one of the following I/O redirection modes, depending on the situation:
File system redirection Redirection is per volume—for example, when CSV snapshots are taken by a backup
application when a CSV volume is manually placed in redirected I/O mode.
Block redirection Redirection is at the file-block level—for example, when storage connectivity is lost to a
volume. Block redirection is significantly faster than file system redirection.
In Windows Server 2012 R2, you can view the state of a CSV volume on a per node basis. For example, you can
see whether I/O is direct or redirected, or whether the CSV volume is unavailable. If a CSV volume is in I/O
redirected mode, you can also view the reason. Use the Windows PowerShell cmdlet Get-
ClusterSharedVolumeState to view this information.
NOTE
In Windows Server 2012, because of improvements in CSV design, CSV perform more operations in direct I/O mode than
occurred in Windows Server 2008 R2.
Because of the integration of CSV with SMB 3.0 features such as SMB Multichannel and SMB Direct, redirected I/O traffic
can stream across multiple cluster networks.
You should plan your cluster networks to allow for the potential increase in network traffic to the coordinator node during
I/O redirection.
IMPORTANT
Ask your storage vendor for recommendations about how to configure your specific storage unit for CSV. If the
recommendations from the storage vendor differ from information in this topic, use the recommendations from the storage
vendor.
Get-ClusterAvailableDisk | Add-ClusterDisk
NOTE
You can rename CSV volumes in the %SystemDisk%ClusterStorage folder.
NOTE
We recommend that you enable the CSV cache for all clustered Hyper-V and Scale-Out File Server deployments.
By default in Windows Server 2012, the CSV cache is disabled. In Windows Server 2012 R2 and later, the CSV
cache is enabled by default. However, you must still allocate the size of the block cache to reserve.
The following table describes the two configuration settings that control the CSV cache.
You can monitor the CSV cache in Performance Monitor by adding the counters under Cluster CSV Volume
Cache.
Configure the CSV cache
1. Start Windows PowerShell as an administrator.
2. To define a cache of 512 MB to be reserved on each node, type the following:
For Windows Server 2012 R2 and later:
(Get-Cluster).BlockCacheSize = 512
(Get-Cluster).SharedVolumeBlockCacheSizeInMB = 512
3. In Windows Server 2012, to enable the CSV cache on a CSV named Cluster Disk 1, enter the following:
Backing up CSVs
There are multiple methods to back up information that is stored on CSVs in a failover cluster. You can use a
Microsoft backup application or a non-Microsoft application. In general, CSV do not impose special backup
requirements beyond those for clustered storage formatted with NTFS or ReFS. CSV backups also do not disrupt
other CSV storage operations.
You should consider the following factors when you select a backup application and backup schedule for CSV:
Volume-level backup of a CSV volume can be run from any node that connects to the CSV volume.
Your backup application can use software snapshots or hardware snapshots. Depending on the ability of your
backup application to support them, backups can use application-consistent and crash-consistent Volume
Shadow Copy Service (VSS ) snapshots.
If you are backing up CSV that have multiple running virtual machines, you should generally choose a
management operating system-based backup method. If your backup application supports it, multiple virtual
machines can be backed up simultaneously.
CSV support backup requestors that are running Windows Server 2012 R2 Backup, Windows Server 2012
Backup or Windows Server 2008 R2 Backup. However, Windows Server Backup generally provides only a
basic backup solution that may not be suited for organizations with larger clusters. Windows Server Backup
does not support application-consistent virtual machine backup on CSV. It supports crash-consistent volume-
level backup only. (If you restore a crash-consistent backup, the virtual machine will be in the same state it was
if the virtual machine had crashed at the exact moment that the backup was taken.) A backup of a virtual
machine on a CSV volume will succeed, but an error event will be logged indicating that this is not supported.
You may require administrative credentials when backing up a failover cluster.
IMPORTANT
Be sure to carefully review what data your backup application backs up and restores, which CSV features it supports, and the
resource requirements for the application on each cluster node.
WARNING
If you need to restore the backup data onto a CSV volume, be aware of the capabilities and limitations of the backup
application to maintain and restore application-consistent data across the cluster nodes. For example, with some applications,
if the CSV is restored on a node that is different from the node where the CSV volume was backed up, you might
inadvertently overwrite important data about the application state on the node where the restore is taking place.
More information
Failover Clustering
Deploy Clustered Storage Spaces
Using Storage Spaces Direct in guest virtual machine
clusters
9/27/2019 • 2 minutes to read • Edit Online
You can deploy Storage Spaces Direct on a cluster of physical servers, or on virtual machine guest clusters as
discussed in this topic. This type of deployment delivers virtual shared storage across a set of VMs on top of a
private or public cloud so that application high availability solutions can be used to increase the availability of
applications.
Requirements
The following considerations apply when deploying Storage Spaces Direct in a virtualized environment.
TIP
Azure templates will automatically configure the below considerations for you and are the recommended solution when
deploying in Azure IaaS VMs.
dword: 00007530
The decimal equivalent of Hexadecimal 7530 is 30000, which is 30 seconds. Note that the default value is
1770 Hexadecimal, or 6000 Decimal, which is 6 seconds.
See also
Additional Azure Iaas VM templates for deploying Storage Spaces Direct, videos, and step-by-step guides.
Additional Storage Spaces Direct Overview
Create a failover cluster
1/18/2020 • 13 minutes to read • Edit Online
Applies to: Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, and Windows Server
2012
This topic shows how to create a failover cluster by using either the Failover Cluster Manager snap-in or Windows
PowerShell. The topic covers a typical deployment, where computer objects for the cluster and its associated
clustered roles are created in Active Directory Domain Services (AD DS ). If you're deploying a Storage Spaces
Direct cluster, instead see Deploy Storage Spaces Direct.
You can also deploy an Active Directory-detached cluster. This deployment method enables you to create a failover
cluster without permissions to create computer objects in AD DS or the need to request that computer objects are
prestaged in AD DS. This option is only available through Windows PowerShell, and is only recommended for
specific scenarios. For more information, see Deploy an Active Directory-Detached Cluster.
Checklist: Create a failover cluster
☐ Install the Failover Clustering feature on Install the Failover Clustering feature
every server that you want to add as a
cluster node
☐ Run the Create Cluster Wizard to create Create the failover cluster
the failover cluster
NOTE
This requirement does not apply if you want to create an Active Directory-detached cluster in Windows Server 2012 R2. For
more information, see Deploy an Active Directory-Detached Cluster.
NOTE
After you install the Failover Clustering feature, we recommend that you apply the latest updates from Windows Update.
Also, for a Windows Server 2012-based failover cluster, review the Recommended hotfixes and updates for Windows Server
2012-based failover clusters Microsoft Support article and install any updates that apply.
Validate the configuration
Before you create the failover cluster, we strongly recommend that you validate the configuration to make sure that
the hardware and hardware settings are compatible with failover clustering. Microsoft supports a cluster solution
only if the complete configuration passes all validation tests and if all hardware is certified for the version of
Windows Server that the cluster nodes are running.
NOTE
You must have at least two nodes to run all tests. If you have only one node, many of the critical storage tests do not run.
5. On the Testing Options page, select Run all tests (recommended), and then select Next.
6. On the Confirmation page, select Next.
The Validating page displays the status of the running tests.
7. On the Summary page, do either of the following:
If the results indicate that the tests completed successfully and the configuration is suited for
clustering, and you want to create the cluster immediately, make sure that the Create the cluster
now using the validated nodes check box is selected, and then select Finish. Then, continue to step
4 of the Create the failover cluster procedure.
If the results indicate that there were warnings or failures, select View Report to view the details and
determine which issues must be corrected. Realize that a warning for a particular validation test
indicates that this aspect of the failover cluster can be supported, but might not meet the
recommended best practices.
NOTE
If you receive a warning for the Validate Storage Spaces Persistent Reservation test, see the blog post
Windows Failover Cluster validation warning indicates your disks don't support the persistent reservations for
Storage Spaces for more information.
For more information about hardware validation tests, see Validate Hardware for a Failover Cluster.
NOTE
If you chose to create the cluster immediately after running validation in the configuration validating procedure, you
will not see the Select Servers page. The nodes that were validated are automatically added to the Create Cluster
Wizard so that you do not have to enter them again.
6. If you skipped validation earlier, the Validation Warning page appears. We strongly recommend that you
run cluster validation. Only clusters that pass all validation tests are supported by Microsoft. To run the
validation tests, select Yes, and then select Next. Complete the Validate a Configuration Wizard as described
in Validate the configuration.
7. On the Access Point for Administering the Cluster page, do the following:
a. In the Cluster Name box, enter the name that you want to use to administer the cluster. Before you
do, review the following information:
During cluster creation, this name is registered as the cluster computer object (also known as the
cluster name object or CNO ) in AD DS. If you specify a NetBIOS name for the cluster, the CNO is
created in the same location where the computer objects for the cluster nodes reside. This can be
either the default Computers container or an OU.
To specify a different location for the CNO, you can enter the distinguished name of an OU in the
Cluster Name box. For example: CN=ClusterName, OU=Clusters, DC=Contoso, DC=com.
If a domain administrator has prestaged the CNO in a different OU than where the cluster nodes
reside, specify the distinguished name that the domain administrator provides.
b. If the server does not have a network adapter that is configured to use DHCP, you must configure
one or more static IP addresses for the failover cluster. Select the check box next to each network that
you want to use for cluster management. Select the Address field next to a selected network, and
then enter the IP address that you want to assign to the cluster. This IP address (or addresses) will be
associated with the cluster name in Domain Name System (DNS ).
NOTE
If you're using Windows Server 2019, you have the option to use a distributed network name for the cluster. A
distributed network name uses the IP addresses of the member servers instead of requiring a dedicated IP address
for the cluster. By default, Windows uses a distributed network name if it detects that you're creating the cluster in
Azure (so you don't have to create an internal load balancer for the cluster), or a normal static or IP address if you're
running on-premises. For more info, see Distributed Network Name.
c. When you are finished, select Next.
8. On the Confirmation page, review the settings. By default, the Add all eligible storage to the cluster
check box is selected. Clear this check box if you want to do either of the following:
You want to configure storage later.
You plan to create clustered storage spaces through Failover Cluster Manager or through the Failover
Clustering Windows PowerShell cmdlets, and have not yet created storage spaces in File and Storage
Services. For more information, see Deploy Clustered Storage Spaces.
9. Select Next to create the failover cluster.
10. On the Summary page, confirm that the failover cluster was successfully created. If there were any
warnings or errors, view the summary output or select View Report to view the full report. Select Finish.
11. To confirm that the cluster was created, verify that the cluster name is listed under Failover Cluster
Manager in the navigation tree. You can expand the cluster name, and then select items under Nodes,
Storage or Networks to view the associated resources.
Realize that it may take some time for the cluster name to successfully replicate in DNS. After successful
DNS registration and replication, if you select All Servers in Server Manager, the cluster name should be
listed as a server with a Manageability status of Online.
After the cluster is created, you can do things such as verify cluster quorum configuration, and optionally, create
Cluster Shared Volumes (CSV ). For more information, see Understanding Quorum in Storage Spaces Direct and
Use Cluster Shared Volumes in a failover cluster.
NOTE
For clustered roles that require a client access point, a virtual computer object (VCO) is created in AD DS. By default, all VCOs
for the cluster are created in the same container or OU as the CNO. Realize that after you create a cluster, you can move the
CNO to any OU.
iSCSI Target Server iSCSI Target Server (part of File Server role)
2. In Failover Cluster Manager, expand the cluster name, right-click Roles, and then select Configure Role.
3. Follow the steps in the High Availability Wizard to create the clustered role.
4. To verify that the clustered role was created, in the Roles pane, make sure that the role has a status of
Running. The Roles pane also indicates the owner node. To test failover, right-click the role, point to Move,
and then select Select Node. In the Move Clustered Role dialog box, select the desired cluster node, and
then select OK. In the Owner Node column, verify that the owner node changed.
NOTE
You must use Windows PowerShell to create an Active Directory-detached cluster in Windows Server 2012 R2. For
information about the syntax, see Deploy an Active Directory-Detached Cluster.
The following example runs all cluster validation tests on computers that are named Server1 and Server2.
The following example creates a failover cluster that is named MyCluster with nodes Server1 and Server2, assigns
the static IP address 192.168.1.12, and adds all eligible storage to the failover cluster.
The following example creates the same failover cluster as in the previous example, but it does not add eligible
storage to the failover cluster.
The following example creates a cluster that is named MyCluster in the Cluster OU of the domain Contoso.com.
For examples of how to add clustered roles, see topics such as Add-ClusterFileServerRole and Add-
ClusterGenericApplicationRole.
More information
Failover Clustering
Deploy a Hyper-V Cluster
Scale-Out File Server for Application Data
Deploy an Active Directory-Detached Cluster
Using Guest Clustering for High Availability
Cluster-Aware Updating
New -Cluster
Test-Cluster
Deploying a two-node clustered file server
9/27/2019 • 19 minutes to read • Edit Online
A failover cluster is a group of independent computers that work together to increase the availability of
applications and services. The clustered servers (called nodes) are connected by physical cables and by software. If
one of the cluster nodes fails, another node begins to provide service (a process known as failover). Users
experience a minimum of disruptions in service.
This guide describes the steps for installing and configuring a general purpose file server failover cluster that has
two nodes. By creating the configuration in this guide, you can learn about failover clusters and familiarize yourself
with the Failover Cluster Management snap-in interface in Windows Server 2019 or Windows Server 2016.
Storage volumes or logical unit numbers (LUNs) exposed to the nodes in a cluster must not be exposed to other
servers, including servers in another cluster. The following diagram illustrates this.
Note that for the maximum availability of any server, it is important to follow best practices for server
management—for example, carefully managing the physical environment of the servers, testing software changes
before fully implementing them, and carefully keeping track of software updates and configuration changes on all
clustered servers.
The following scenario describes how a file server failover cluster can be configured. The files being shared are on
the cluster storage, and either clustered server can act as the file server that shares them.
NOTE
If the cluster nodes are connected with a single network, the network will pass the redundancy requirement in the
Validate a Configuration wizard. However, the report will include a warning that the network should not have a single
point of failure.
6. For the Features, from the list of features, select Failover Clustering. A popup dialog will show that lists the
administration tools also being installed. Keep all the selected, choose Add Features and Next.
7. On the Confirmation page, select Install.
8. Once the installation completes, restart the computer.
9. Repeat the steps on the second machine.
Using PowerShell
1. Open an administrative PowerShell session by right-clicking the Start button and then selecting Windows
PowerShell (Admin).
2. To install the File Server Role, run the command:
3. To install the Failover Clustering feature and its management tools, run the command:
4. Once they have completed, you can verify they are installed with the commands:
5. Once verified they are installed, restart the machine with the command:
Restart-Computer
3. To view the results of the tests after you close the wizard, see the file specified (in
SystemRoot\Cluster\Reports), then make any necessary changes in the configuration and rerun the tests.
For more info, see Validating a Failover Cluster Configuration.
Step 4: Create the Cluster
The following will create a cluster out of the machines and configuration you have.
Using Failover Cluster Manager
1. From Server Manager, choose the Tools drop down and select Failover Cluster Manager.
2. In Failover Cluster Manager, go to the middle column under Management and choose Create Cluster.
3. If the Before you begin window opens, choose Next.
4. In the Select Servers window, add in the names of the two machines that will be the nodes of the cluster.
For example, if the names are NODE1 and NODE2, enter the name and select Add. You can also choose the
Browse button to search Active Directory for the names. Once both are listed under Selected Servers,
choose Next.
5. In the Access Point for Administering the Cluster window, input the name of the cluster you will be
using. Please note that this is not the name you will be using to connect to your file shares with. This is for
simply administrating the cluster.
NOTE
If you are using static IP Addresses, you will need to select the network to use and input the IP Address it will use for
the cluster name. If you are using DHCP for your IP Addresses, the IP Address will be configured automatically for
you.
6. Choose Next.
7. On the Confirmation page, verify what you have configured and select Next to create the Cluster.
8. On the Summary page, it will give you the configuration it has created. You can select View Report to see
the report of the creation.
Using PowerShell
1. Open an administrative PowerShell session by right-clicking the Start button and then selecting Windows
PowerShell (Admin).
2. Run the following command to create the cluster if you are using static IP Addresses. For example, the
machine names are NODE1 and NODE2, the name of the cluster will be CLUSTER, and the IP Address will
be 1.1.1.1.
3. Run the following command to create the cluster if you are using DHCP for IP Addresses. For example, the
machine names are NODE1 and NODE2, and the name of the cluster will be CLUSTER.
NOTE
If you are using static IP Addresses, you will need to select the network to use and input the IP Address it will use for
the cluster name. If you are using DHCP for your IP Addresses, the IP Address will be configured automatically for
you.
9. Choose Next.
10. In the Select Storage window, select the additional drive (not the witness) that will hold your shares and
Next.
11. On the Confirmation page, verify your configuration and select Next.
12. On the Summary page, it will give you the configuration it has created. You can select View Report to see
the report of the file server role creation.
13. Under Roles in the console tree, you will see the new role you created listed as the name you created. With
it highlighted, under the Actions pane on the right, choose Add a share.
14. Run through the share wizard inputting the following:
Type of share it will be
Location/path the folder shared will be
The name of the share users will connect to
Additional settings such as Access-based enumeration, caching, encryption, etc
File level permissions if they will be other than the defaults
15. On the Confirmation page, verify what you have configured and select Create to create the file server
share.
16. On the Results page, select Close if it created the share. If it could not create the share, it will give you the
errors incurred.
17. Choose Close.
18. Repeat this process for any additional shares.
Prestage cluster computer objects in Active Directory
Domain Services
9/27/2019 • 8 minutes to read • Edit Online
Applies to: Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012
This topic shows how to prestage cluster computer objects in Active Directory Domain Services (AD DS ). You can
use this procedure to enable a user or group to create a failover cluster when they do not have permissions to
create computer objects in AD DS.
When you create a failover cluster by using the Create Cluster Wizard or by using Windows PowerShell, you must
specify a name for the cluster. If you have sufficient permissions when you create the cluster, the cluster creation
process automatically creates a computer object in AD DS that matches the cluster name. This object is called the
cluster name object or CNO. Through the CNO, virtual computer objects (VCOs) are automatically created when
you configure clustered roles that use client access points. For example, if you create a highly available file server
with a client access point that is named FileServer1, the CNO will create a corresponding VCO in AD DS.
NOTE
There is the option to create an Active Directory-detached cluster, where no CNO or VCOs are created in AD DS. This is
targeted for specific types of cluster deployments. For more information, see Deploy an Active Directory-Detached Cluster.
To create the CNO automatically, the user who creates the failover cluster must have the Create Computer
objects permission to the organizational unit (OU ) or the container where the servers that will form the cluster
reside. To enable a user or group to create a cluster without having this permission, a user with appropriate
permissions in AD DS (typically a domain administrator) can prestage the CNO in AD DS. This also provides the
domain administrator more control over the naming convention that is used for the cluster, and control over which
OU the cluster objects are created in.
NOTE
If you create the CNO in the default Computers container instead of an OU, you do not have to complete Step 3 of this
topic. In this scenario, a cluster administrator can create up to 10 VCOs without any additional configuration.
NOTE
This is the cluster name that the user who creates the cluster will specify on the Access Point for Administering the
Cluster page in the Create Cluster wizard or as the value of the –Name parameter for the New-Cluster Windows
PowerShell cmdlet.
5. As a best practice, right-click the computer account that you just created, select Properties, and then select
the Object tab. On the Object tab, select the Protect object from accidental deletion check box, and
then select OK.
6. Right-click the computer account that you just created, and then select Disable Account. Select Yes to
confirm, and then select OK.
NOTE
You must disable the account so that during cluster creation, the cluster creation process can confirm that the
account is not currently in use by an existing computer or cluster in the domain.
NOTE
If the CNO is in the default Computers container, a cluster administrator can create up to 10 VCOs without any additional
configuration. To add more than 10 VCOs, you must explicitly grant the Create Computer objects permission to the CNO
for the Computers container.
NOTE
Membership in the Domain Admins group, or equivalent, is the minimum required to complete the steps for this option.
Option 2: Prestage a VCO for a clustered role. Use this option if it is necessary to prestage accounts for
clustered roles because of requirements in your organization. For example, you may want to control the naming
convention, or control which clustered roles are created.
NOTE
Membership in the Account Operators group is the minimum required to complete the steps for this option.
More information
Failover Clustering
Configuring cluster accounts in Active Directory
Configuring cluster accounts in Active Directory
1/14/2020 • 21 minutes to read • Edit Online
Applies to: Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012,
Windows Server 2008 R2, and Windows Server 2008
In Windows Server, when you create a failover cluster and configure clustered services or applications, the failover
cluster wizards create the necessary Active Directory computer accounts (also called computer objects) and give
them specific permissions. The wizards create a computer account for the cluster itself (this account is also called
the cluster name object or CNO ) and a computer account for most types of clustered services and applications, the
exception being a Hyper-V virtual machine. The permissions for these accounts are set automatically by the
failover cluster wizards. If the permissions are changed, they will need to be changed back to match cluster
requirements. This guide describes these Active Directory accounts and permissions, provides background about
why they are important, and describes steps for configuring and managing the accounts.
Account used to create the cluster Requires administrative permissions on the servers that
will become cluster nodes. Also requires Create
Computer objects and Read All Properties permissions
in the container that is used for computer accounts in the
domain.
Cluster name account (computer account of the cluster When the Create Cluster wizard is run, it creates the
itself) cluster name account in the default container that is used
for computer accounts in the domain. By default, the
cluster name account (like other computer accounts) can
create up to ten computer accounts in the domain.
If you create the cluster name account (cluster name
object) before creating the cluster—that is, prestage the
account—you must give it the Create Computer objects
and Read All Properties permissions in the container
that is used for computer accounts in the domain. You
must also disable the account, and give Full Control of it
to the account that will be used by the administrator who
installs the cluster. For more information, see Steps for
prestaging the cluster name account, later in this guide.
Computer account of a clustered service or application When the High Availability wizard is run (to create a new
clustered service or application), in most cases a computer
account for the clustered service or application is created
in Active Directory. The cluster name account is granted
the necessary permissions to control this account. The
exception is a clustered Hyper-V virtual machine: no
computer account is created for this.
If you prestage the computer account for a clustered
service or application, you must configure it with the
necessary permissions. For more information, see Steps
for prestaging an account for a clustered service or
application, later in this guide.
NOTE
In earlier versions of Windows Server, there was an account for the Cluster service. Since Windows Server 2008, however, the
Cluster service automatically runs in a special context that provides the specific permissions and privileges necessary for the
service (similar to the local system context, but with reduced privileges). Other accounts are needed, however, as described in
this guide.
If the type of problem shown in the diagram occurs, a certain event (1193, 1194, 1206, or 1207) is logged in Event
Viewer. For more information about these events, see https://go.microsoft.com/fwlink/?LinkId=118271.
Note that a similar problem with creating an account for a clustered service or application can occur if the domain-
wide quota for creating computer objects (by default, 10) has been reached. If it has, it might be appropriate to
consult with the domain administrator about increasing the quota, although this is a domain-wide setting and
should be changed only after careful consideration, and only after confirming that the preceding diagram does not
describe your situation. For more information, see Steps for troubleshooting problems caused by changes in
cluster-related Active Directory accounts, later in this guide.
Steps for configuring the account for the person who installs the
cluster
The account of the person who installs the cluster is important because it provides the basis from which a
computer account is created for the cluster itself.
The minimum group membership required to complete the following procedure depends on whether you are
creating the domain account and assigning it the required permissions in the domain, or whether you are only
placing the account (created by someone else) into the local Administrators group on the servers that will be
nodes in the failover cluster. If the former, membership in Account Operators or equivalent, is the minimum
required to complete this procedure. If the latter, membership in the local Administrators group on the servers
that will be nodes in the failover cluster, or equivalent, is all that is required. Review details about using the
appropriate accounts and group memberships at https://go.microsoft.com/fwlink/?LinkId=83477.
To configure the account for the person who installs the cluster
1. Create or obtain a domain account for the person who installs the cluster. This account can be a domain
user account or an Account Operators account. If you use a standard user account, you'll have to give it
some extra permissions later in this procedure.
2. If the account that was created or obtained in step 1 isn't automatically included in the local Administrators
group on computers in the domain, add the account to the local Administrators group on the servers that
will be nodes in the failover cluster:
a. Click Start, click Administrative Tools, and then click Server Manager.
b. In the console tree, expand Configuration, expand Local Users and Groups, and then expand
Groups.
c. In the center pane, right-click Administrators, click Add to Group, and then click Add.
d. Under Enter the object names to select, type the name of the user account that was created or
obtained in step 1. If prompted, enter an account name and password with sufficient permissions for
this action. Then click OK.
e. Repeat these steps on each server that will be a node in the failover cluster.
IMPORTANT
These steps must be repeated on all servers that will be nodes in the cluster.
3. If the account that was created or obtained in step 1 is a domain administrator account, skip the rest of this
procedure. Otherwise, give the account the Create Computer objects and Read All Properties
permissions in the container that is used for computer accounts in the domain:
a. On a domain controller, click Start, click Administrative Tools, and then click Active Directory
Users and Computers. If the User Account Control dialog box appears, confirm that the action it
displays is what you want, and then click Continue.
b. On the View menu, make sure that Advanced Features is selected.
When Advanced Features is selected, you can see the Security tab in the properties of accounts
(objects) in Active Directory Users and Computers.
c. Right-click the default Computers container or the default container in which computer accounts are
created in your domain, and then click Properties. Computers is located in Active Directory Users
and Computers/domain-node/Computers.
d. On the Security tab, click Advanced.
e. Click Add, type the name of the account that was created or obtained in step 1, and then click OK.
f. In the Permission Entry forcontainer dialog box, locate the Create Computer objects and Read
All Properties permissions, and make sure that the Allow check box is selected for each one.
Steps for prestaging the cluster name account
It is usually simpler if you do not prestage the cluster name account, but instead allow the account to be created
and configured automatically when you run the Create Cluster wizard. However, if it is necessary to prestage the
cluster name account because of requirements in your organization, use the following procedure.
Membership in the Domain Admins group, or equivalent, is the minimum required to complete this procedure.
Review details about using the appropriate accounts and group memberships at https://go.microsoft.com/fwlink/?
LinkId=83477. Note that you can use the same account for this procedure as you will use when creating the
cluster.
To prestage a cluster name account
1. Make sure that you know the name that the cluster will have, and the name of the user account that will be
used by the person who creates the cluster. (Note that you can use that account to perform this procedure.)
2. On a domain controller, click Start, click Administrative Tools, and then click Active Directory Users and
Computers. If the User Account Control dialog box appears, confirm that the action it displays is what
you want, and then click Continue.
3. In the console tree, right-click Computers or the default container in which computer accounts are created
in your domain. Computers is located in Active Directory Users and Computers/domain-node
/Computers.
4. Click New and then click Computer.
5. Type the name that will be used for the failover cluster, in other words, the cluster name that will be
specified in the Create Cluster wizard, and then click OK.
6. Right-click the account that you just created, and then click Disable Account. If prompted to confirm your
choice, click Yes.
The account must be disabled so that when the Create Cluster wizard is run, it can confirm that the account
it will use for the cluster is not currently in use by an existing computer or cluster in the domain.
7. On the View menu, make sure that Advanced Features is selected.
When Advanced Features is selected, you can see the Security tab in the properties of accounts (objects)
in Active Directory Users and Computers.
8. Right-click the folder that you right-clicked in step 3, and then click Properties.
9. On the Security tab, click Advanced.
10. Click Add, click Object Types and make sure that Computers is selected, and then click OK. Then, under
Enter the object name to select, type the name of the computer account you just created, and then click
OK. If a message appears, saying that you are about to add a disabled object, click OK.
11. In the Permission Entry dialog box, locate the Create Computer objects and Read All Properties
permissions, and make sure that the Allow check box is selected for each one.
12. Click OK until you have returned to the Active Directory Users and Computers snap-in.
13. If you are using the same account to perform this procedure as will be used to create the cluster, skip the
remaining steps. Otherwise, you must configure permissions so that the user account that will be used to
create the cluster has full control of the computer account you just created:
a. On the View menu, make sure that Advanced Features is selected.
b. Right-click the computer account you just created, and then click Properties.
c. On the Security tab, click Add. If the User Account Control dialog box appears, confirm that the
action it displays is what you want, and then click Continue.
d. Use the Select Users, Computers, or Groups dialog box to specify the user account that will be
used when creating the cluster. Then click OK.
e. Make sure that the user account that you just added is selected, and then, next to Full Control, select
the Allow check box.
Steps for prestaging an account for a clustered service or application
It is usually simpler if you do not prestage the computer account for a clustered service or application, but instead
allow the account to be created and configured automatically when you run the High Availability wizard. However,
if it is necessary to prestage accounts because of requirements in your organization, use the following procedure.
Membership in the Account Operators group, or equivalent, is the minimum required to complete this
procedure. Review details about using the appropriate accounts and group memberships at
https://go.microsoft.com/fwlink/?LinkId=83477.
To prestage an account for a clustered service or application
1. Make sure that you know the name of the cluster and the name that the clustered service or application will
have.
2. On a domain controller, click Start, click Administrative Tools, and then click Active Directory Users and
Computers. If the User Account Control dialog box appears, confirm that the action it displays is what
you want, and then click Continue.
3. In the console tree, right-click Computers or the default container in which computer accounts are created
in your domain. Computers is located in Active Directory Users and Computers/domain-node
/Computers.
4. Click New and then click Computer.
5. Type the name that you will use for the clustered service or application, and then click OK.
6. On the View menu, make sure that Advanced Features is selected.
When Advanced Features is selected, you can see the Security tab in the properties of accounts (objects)
in Active Directory Users and Computers.
7. Right-click the computer account you just created, and then click Properties.
8. On the Security tab, click Add.
9. Click Object Types and make sure that Computers is selected, and then click OK. Then, under Enter the
object name to select, type the cluster name account, and then click OK. If a message appears, saying that
you are about to add a disabled object, click OK.
10. Make sure that the cluster name account is selected, and then, next to Full Control, select the Allow check
box.
Event messages that fit the previous description indicate that the password for the cluster name account and the
corresponding password stored by the clustering software no longer match.
For information about ensuring that cluster administrators have the correct permissions to perform the following
procedure as needed, see Planning ahead for password resets and other account maintenance, earlier in this guide.
Membership in the local Administrators group, or equivalent, is the minimum required to complete this
procedure. In addition, your account must be given Reset password permission for the cluster name account
(unless your account is a Domain Admins account or is the Creator Owner of the cluster name account). The
account that was used by the person who installed the cluster can be used for this procedure. Review details about
using the appropriate accounts and group memberships at https://go.microsoft.com/fwlink/?LinkId=83477.
To troubleshoot password problems with the cluster name account
1. To open the failover cluster snap-in, click Start, click Administrative Tools, and then click Failover Cluster
Management. (If the User Account Control dialog box appears, confirm that the action it displays is what
you want, and then click Continue.)
2. In the Failover Cluster Management snap-in, if the cluster you want to configure is not displayed, in the
console tree, right-click Failover Cluster Management, click Manage a Cluster, and select or specify the
cluster you want.
3. In the center pane, expand Cluster Core Resources.
4. Under Cluster Name, right-click the Name item, point to More Actions, and then click Repair Active
Directory Object.
Steps for troubleshooting problems caused by changes in cluster-related Active Directory accounts
If the cluster name account is deleted or if permissions are taken away from it, problems will occur when you try to
configure a new clustered service or application. To troubleshoot a problem where this might be the cause, use the
Active Directory Users and Computers snap-in to view or change the cluster name account and other related
accounts. For information about the events that are logged when this type of problem occurs (event 1193, 1194,
1206, or 1207), see https://go.microsoft.com/fwlink/?LinkId=118271.
Membership in the Domain Admins group, or equivalent, is the minimum required to complete this procedure.
Review details about using the appropriate accounts and group memberships at https://go.microsoft.com/fwlink/?
LinkId=83477.
To troubleshoot problems caused by changes in cluster-related Active Directory accounts
1. On a domain controller, click Start, click Administrative Tools, and then click Active Directory Users and
Computers. If the User Account Control dialog box appears, confirm that the action it displays is what
you want, and then click Continue.
2. Expand the default Computers container or the folder in which the cluster name account (the computer
account for the cluster) is located. Computers is located in Active Directory Users and Computers/
domain-node/Computers.
3. Examine the icon for the cluster name account. It must not have a downward-pointing arrow on it, that is,
the account must not be disabled. If it appears to be disabled, right-click it and look for the command
Enable Account. If you see the command, click it.
4. On the View menu, make sure that Advanced Features is selected.
When Advanced Features is selected, you can see the Security tab in the properties of accounts (objects)
in Active Directory Users and Computers.
5. Right-click the default Computers container or the folder in which the cluster name account is located.
6. Click Properties.
7. On the Security tab, click Advanced.
8. In the list of accounts with permissions, click the cluster name account, and then click Edit.
NOTE
If the cluster name account is not listed, click Add and add it to the list.
9. For the cluster name account (also known as the cluster name object or CNO ), ensure that Allow is selected
for the Create Computer objects and Read All Properties permissions.
10. Click OK until you have returned to the Active Directory Users and Computers snap-in.
11. Review domain policies (consulting with a domain administrator if applicable) related to the creation of
computer accounts (objects). Ensure that the cluster name account can create a computer account each time
you configure a clustered service or application. For example, if your domain administrator has configured
settings that cause all new computer accounts to be created in a specialized container rather than the default
Computers container, make sure that these settings allow the cluster name account to create new computer
accounts in that container also.
12. Expand the default Computers container or the container in which the computer account for one of the
clustered services or applications is located.
13. Right-click the computer account for one of the clustered services or applications, and then click
Properties.
14. On the Security tab, confirm that the cluster name account is listed among the accounts that have
permissions, and select it. Confirm that the cluster name account has Full Control permission (the Allow
check box is selected). If it does not, add the cluster name account to the list and give it Full Control
permission.
15. Repeat steps 13-14 for each clustered service and application configured in the cluster.
16. Check that the domain-wide quota for creating computer objects (by default, 10) has not been reached
(consulting with a domain administrator if applicable). If the previous items in this procedure have all been
reviewed and corrected, and if the quota has been reached, consider increasing the quota. To change the
quota:
17. Open a command prompt as an administrator and run ADSIEdit.msc.
18. Right-click ADSI Edit, click Connect to, and then click OK. The Default naming context is added to the
console tree.
19. Double-click Default naming context, right-click the domain object underneath it, and then click
Properties.
20. Scroll to ms-DS -MachineAccountQuota, select it, click Edit, change the value, and then click OK.
Configure and manage quorum
9/27/2019 • 20 minutes to read • Edit Online
Applies to: Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012
This topic provides background and steps to configure and manage the quorum in a Windows Server failover
cluster.
Understanding quorum
The quorum for a cluster is determined by the number of voting elements that must be part of active cluster
membership for that cluster to start properly or continue running. For a more detailed explanation, see the
understanding cluster and pool quorum doc.
OPTION DESCRIPTION
Use typical settings The cluster automatically assigns a vote to each node and
dynamically manages the node votes. If it is suitable for your
cluster, and there is cluster shared storage available, the
cluster selects a disk witness. This option is recommended in
most cases, because the cluster software automatically
chooses a quorum and witness configuration that provides
the highest availability for your cluster.
Add or change the quorum witness You can add, change, or remove a witness resource. You can
configure a file share or disk witness. The cluster automatically
assigns a vote to each node and dynamically manages the
node votes.
Advanced quorum configuration and witness selection You should select this option only when you have application-
specific or site-specific requirements for configuring the
quorum. You can modify the quorum witness, add or remove
node votes, and choose whether the cluster dynamically
manages node votes. By default, votes are assigned to all
nodes, and the node votes are dynamically managed.
Depending on the quorum configuration option that you choose and your specific settings, the cluster will be
configured in one of the following quorum modes:
MODE DESCRIPTION
MODE DESCRIPTION
Node majority (no witness) Only nodes have votes. No quorum witness is configured. The
cluster quorum is the majority of voting nodes in the active
cluster membership.
Node majority with witness (disk or file share) Nodes have votes. In addition, a quorum witness has a vote.
The cluster quorum is the majority of voting nodes in the
active cluster membership plus a witness vote. A quorum
witness can be a designated disk witness or a designated file
share witness.
No majority (disk witness only) No nodes have votes. Only a disk witness has a vote.
The cluster quorum is determined by the state of the disk
witness. Generally, this mode is not recommended, and it
should not be selected because it creates a single point of
failure for the cluster.
The following subsections will give you more information about advanced quorum configuration settings.
Witness configuration
As a general rule when you configure a quorum, the voting elements in the cluster should be an odd number.
Therefore, if the cluster contains an even number of voting nodes, you should configure a disk witness or a file
share witness. The cluster will be able to sustain one additional node down. In addition, adding a witness vote
enables the cluster to continue running if half the cluster nodes simultaneously go down or are disconnected.
A disk witness is usually recommended if all nodes can see the disk. A file share witness is recommended when
you need to consider multisite disaster recovery with replicated storage. Configuring a disk witness with replicated
storage is possible only if the storage vendor supports read-write access from all sites to the replicated storage. A
Disk Witness isn't supported with Storage Spaces Direct.
The following table provides additional information and considerations about the quorum witness types.
Disk witness Dedicated LUN that stores a Size of LUN must be at least 512
copy of the cluster database MB
Most useful for clusters with Must be dedicated to cluster use
shared (not replicated) storage and not assigned to a clustered
role
Must be included in clustered
storage and pass storage
validation tests
Cannot be a disk that is a
Cluster Shared Volume (CSV)
Basic disk with a single volume
Does not need to have a drive
letter
Can be formatted with NTFS or
ReFS
Can be optionally configured
with hardware RAID for fault
tolerance
Should be excluded from
backups and antivirus scanning
A Disk witness isn't supported
with Storage Spaces Direct
WITNESS TYPE DESCRIPTION REQUIREMENTS AND RECOMMENDATIONS
File share witness SMB file share that is configured Must have a minimum of 5 MB
on a file server running of free space
Windows Server Must be dedicated to the single
Does not store a copy of the cluster and not used to store
cluster database user or application data
Maintains cluster information Must have write permissions
only in a witness.log file enabled for the computer object
Most useful for multisite clusters for the cluster name
with replicated storage
The following are additional
considerations for a file server that
hosts the file share witness:
A single file server can be
configured with file share
witnesses for multiple clusters.
The file server must be on a site
that is separate from the cluster
workload. This allows equal
opportunity for any cluster site
to survive if site-to-site network
communication is lost. If the file
server is on the same site, that
site becomes the primary site,
and it is the only site that can
reach the file share.
The file server can run on a
virtual machine if the virtual
machine is not hosted on the
same cluster that uses the file
share witness.
For high availability, the file
server can be configured on a
separate failover cluster.
Cloud witness A witness file stored in Azure See Deploy a cloud witness.
blob storage
Recommended when all servers
in the cluster have a reliable
Internet connection.
IMPORTANT
It is usually best to use the quorum configuration that is recommended by the Configure Cluster Quorum Wizard. We
recommend customizing the quorum configuration only if you have determined that the change is appropriate for your
cluster. For more information, see General recommendations for quorum configuration in this topic.
NOTE
You can change the cluster quorum configuration without stopping the cluster or taking cluster resources offline.
Change the quorum configuration in a failover cluster by using Failover Cluster Manager
1. In Failover Cluster Manager, select or specify the cluster that you want to change.
2. With the cluster selected, under Actions, select More Actions, and then select Configure Cluster
Quorum Settings. The Configure Cluster Quorum Wizard appears. Select Next.
3. On the Select Quorum Configuration Option page, select one of the three configuration options and
complete the steps for that option. Before you configure the quorum settings, you can review your choices.
For more information about the options, see Understanding quorum, earlier in this topic.
To allow the cluster to automatically reset the quorum settings that are optimal for your current
cluster configuration, select Use typical settings and then complete the wizard.
To add or change the quorum witness, select Add or change the quorum witness, and then
complete the following steps. For information and considerations about configuring a quorum
witness, see Witness configuration earlier in this topic.
a. On the Select Quorum Witness page, select an option to configure a disk witness or a file
share witness. The wizard indicates the witness selection options that are recommended for
your cluster.
NOTE
You can also select Do not configure a quorum witness and then complete the wizard. If you have
an even number of voting nodes in your cluster, this may not be a recommended configuration.
b. If you select the option to configure a disk witness, on the Configure Storage Witness page,
select the storage volume that you want to assign as the disk witness, and then complete the
wizard.
c. If you select the option to configure a file share witness, on the Configure File Share
Witness page, type or browse to a file share that will be used as the witness resource, and
then complete the wizard.
To configure quorum management settings and to add or change the quorum witness, select
Advanced quorum configuration and witness selection, and then complete the following steps.
For information and considerations about the advanced quorum configuration settings, see Node
vote assignment and Dynamic quorum management earlier in this topic.
a. On the Select Voting Configuration page, select an option to assign votes to nodes. By
default, all nodes are assigned a vote. However, for certain scenarios, you can assign votes
only to a subset of the nodes.
NOTE
You can also select No Nodes. This is generally not recommended, because it does not allow nodes
to participate in quorum voting, and it requires configuring a disk witness. This disk witness becomes
the single point of failure for the cluster.
b. On the Configure Quorum Management page, you can enable or disable the Allow
cluster to dynamically manage the assignment of node votes option. Selecting this
option generally increases the availability of the cluster. By default the option is enabled, and it
is strongly recommended to not disable this option. This option allows the cluster to continue
running in failure scenarios that are not possible when this option is disabled.
c. On the Select Quorum Witness page, select an option to configure a disk witness or a file
share witness. The wizard indicates the witness selection options that are recommended for
your cluster.
NOTE
You can also select Do not configure a quorum witness, and then complete the wizard. If you have
an even number of voting nodes in your cluster, this may not be a recommended configuration.
d. If you select the option to configure a disk witness, on the Configure Storage Witness page,
select the storage volume that you want to assign as the disk witness, and then complete the
wizard.
e. If you select the option to configure a file share witness, on the Configure File Share
Witness page, type or browse to a file share that will be used as the witness resource, and
then complete the wizard.
4. Select Next. Confirm your selections on the confirmation page that appears, and then select Next.
After the wizard runs and the Summary page appears, if you want to view a report of the tasks that the wizard
performed, select View Report. The most recent report will remain in the systemroot\Cluster\Reports folder with
the name QuorumConfiguration.mht.
NOTE
After you configure the cluster quorum, we recommend that you run the Validate Quorum Configuration test to verify the
updated quorum settings.
The following example changes the quorum configuration on the local cluster to a node majority with witness
configuration. The disk resource named Cluster Disk 2 is configured as a disk witness.
The following example changes the quorum configuration on the local cluster to a node majority with witness
configuration. The file share resource named \\CONTOSO -FS\fsw is configured as a file share witness.
The following example removes the quorum vote from node ContosoFCNode1 on the local cluster.
(Get-ClusterNode ContosoFCNode1).NodeWeight=0
The following example adds the quorum vote to node ContosoFCNode1 on the local cluster.
(Get-ClusterNode ContosoFCNode1).NodeWeight=1
The following example enables the DynamicQuorum property of the cluster CONTOSO -FC1 (if it was previously
disabled):
(Get-Cluster CONTOSO-FC1).DynamicQuorum=1
NOTE
If the Cluster service stops because quorum is lost, Event ID 1177 appears in the system log.
It is always necessary to investigate why the cluster quorum was lost.
It is always preferable to bring a node or quorum witness to a healthy state (join the cluster) rather than starting the
cluster without quorum.
IMPORTANT
After a cluster is force started, the administrator is in full control of the cluster.
The cluster uses the cluster configuration on the node where the cluster is force started, and replicates it to all other
nodes that are available.
If you force the cluster to start without quorum, all quorum configuration settings are ignored while the cluster remains
in ForceQuorum mode. This includes specific node vote assignments and dynamic quorum management settings.
IMPORTANT
After a cluster is force started on a node, we recommend that you always start the remaining nodes with the quorum
prevented.
NOTE
To force the cluster to start on a specific node that contains a cluster configuration that you want to use, you must use
the Windows PowerShell cmdlets or equivalent command-line tools as presented after this procedure.
If you use Failover Cluster Manager to connect to a cluster that is force started, and you use the Start Cluster Service
action to start a node, the node is automatically started with the setting that prevents quorum.
The following example shows how to use the Start-ClusterNode cmdlet to start the Cluster service with the
quorum prevented on node ContosoFCNode1.
Alternatively, you can type the following command locally on the node:
ITEM DESCRIPTION
Node vote assignment Node votes should not be removed because all nodes are
equally important
Number of node votes per site Node votes should not be removed from nodes at the
primary site, SiteA
Node votes should be removed from nodes at the
backup site, SiteB
If a long-term outage occurs at SiteA, votes must be
assigned to nodes at SiteB to enable a quorum
majority at that site as part of recovery
More information
Failover Clustering
Failover Clusters Windows PowerShell cmdlets
Understanding Cluster and Pool Quorum
Deploy a Cloud Witness for a Failover Cluster
1/14/2020 • 8 minutes to read • Edit Online
Cloud Witness is a type of Failover Cluster quorum witness that uses Microsoft Azure to provide a vote on cluster
quorum. This topic provides an overview of the Cloud Witness feature, the scenarios that it supports, and
instructions about how to configure a cloud witness for a Failover Cluster.
Cloud Witness always uses Blob as the storage type. Azure uses .core.windows.net as the Endpoint. When
configuring Cloud Witness, it is possible that you configure it with a different endpoint as per your scenario (for
example the Microsoft Azure datacenter in China has a different endpoint).
NOTE
The endpoint URL is generated automatically by Cloud Witness resource and there is no extra step of configuration
necessary for the URL.
See Also
What's New in Failover Clustering in Windows Server
Deploy a file share witness
9/27/2019 • 3 minutes to read • Edit Online
Applies to: Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012
A file share witness is an SMB share that Failover Cluster uses as a vote in the cluster quorum. This topic provides
an overview of the technology and the new functionality in Windows Server 2019, including using a USB drive
connected to a router as a file share witness.
File share witnesses are handy in the following circumstances:
A cloud witness can't be used because not all servers in the cluster have a reliable Internet connection
A disk witness can't be used because there aren't any shared drives to use for a disk witness. This could be a
Storage Spaces Direct cluster, SQL Server Always On Availability Groups (AG ), Exchange Database Availability
Group (DAG ), etc. None of these types of clusters use shared disks.
If the cluster is running Windows Server 2019, here are the requirements:
An SMB file share on any device that uses the SMB 2 or later protocol, including:
Network-attached storage (NAS ) devices
Windows computers joined to a workgroup
Routers with locally-connected USB storage
A local account on the device for authenticating the cluster
If you're instead using Active Directory for authenticating the cluster with the file share, the Cluster Name
Object (CNO ) must have write permissions on the share, and the server must be in the same Active Directory
forest as the cluster
The file share has a minimum of 5 MB of free space
If the cluster is running Windows Server 2016 or earlier, here are the requirements:
SMB file share on a Windows server joined to the same Active Directory forest as the cluster
The Cluster Name Object (CNO ) must have write permissions on the share
The file share has a minimum of 5 MB of free space
Other notes:
To use a file share witness hosted by devices other than a domain-joined Windows server, you currently must
use the Set-ClusterQuorum -Credential PowerShell cmdlet to set the witness, as described later in this topic.
For high availability, you can use a file share witness on a separate Failover Cluster
The file share can be used by multiple clusters
The use of a Distributed File System (DFS ) share or replicated storage is not supported with any version of
failover clustering. These can cause a split brain situation where clustered servers are running independently of
each other and could cause data loss.
The steps for creating a file share witness using a USB device on this particular router are listed below. Note that
steps on other routers and NAS appliances will vary and should be accomplished using the vendor supplied
directions.
1. Log into the router with the USB device plugged in.
2. From the list of options, select ReadySHARE which is where shares can be created.
3. For a file share witness, a basic share is all that is needed. Selecting the Edit button will pop up a dialog
where the share can be created on the USB device.
4. Once selecting the Apply button, the share is created and can be seen in the list.
5. Once the share has been created, creating the file share witness for Cluster is done with PowerShell.
This displays a dialog box to enter the local account on the device.
These same similar steps can be done on other routers with USB capabilities, NAS devices, or other Windows
devices.
Cluster operating system rolling upgrade
1/14/2020 • 15 minutes to read • Edit Online
Cluster OS Rolling Upgrade enables an administrator to upgrade the operating system of the cluster nodes
without stopping the Hyper-V or the Scale-Out File Server workloads. Using this feature, the downtime penalties
against Service Level Agreements (SLA) can be avoided.
Cluster OS Rolling Upgrade provides the following benefits:
Failover clusters running Hyper-V virtual machine and Scale-out File Server (SOFS ) workloads can be
upgraded from Windows Server 2012 R2 (running on all nodes in the cluster) to Windows Server 2016
(running on all cluster nodes of the cluster) without downtime. Other cluster workloads, such as SQL
Server, will be unavailable during the time (typically less than five minutes) it takes to failover to Windows
Server 2016.
It doesn't require any additional hardware. Although, you can add additional cluster nodes temporarily to
small clusters to improve availability of the cluster during the Cluster OS Rolling Upgrade process.
The cluster doesn't need to be stopped or restarted.
A new cluster is not required. The existing cluster is upgraded. In addition, existing cluster objects stored in
Active Directory are used.
The upgrade process is reversible until the customer choses the "point-of-no-return", when all cluster nodes
are running Windows Server 2016, and when the Update-ClusterFunctionalLevel PowerShell cmdlet is run.
The cluster can support patching and maintenance operations while running in the mixed-OS mode.
It supports automation via PowerShell and WMI.
The cluster public property ClusterFunctionalLevel property indicates the state of the cluster on Windows
Server 2016 cluster nodes. This property can be queried using the PowerShell cmdlet from a Windows
Server 2016 cluster node that belongs to a failover cluster:
A value of 8 indicates that the cluster is running at the Windows Server 2012 R2 functional level. A value of
9 indicates that the cluster is running at the Windows Server 2016 functional level.
This guide describes the various stages of the Cluster OS Rolling Upgrade process, installation steps, feature
limitations, and frequently asked questions (FAQs), and is applicable to the following Cluster OS Rolling Upgrade
scenarios in Windows Server 2016:
Hyper-V clusters
Scale-Out File Server clusters
The following scenario is not supported in Windows Server 2016:
Cluster OS Rolling Upgrade of guest clusters using virtual hard disk (.vhdx file) as shared storage
Cluster OS Rolling Upgrade is fully supported by System Center Virtual Machine Manager (SCVMM ) 2016. If you
are using SCVMM 2016, see Perform a rolling upgrade of a Hyper-V host cluster to Windows Server 2016 in
VMM for guidance on upgrading the clusters and automating the steps that are described in this document.
Requirements
Complete the following requirements before you begin the Cluster OS Rolling Upgrade process:
Start with a Failover Cluster running Windows Server (Semi-Annual Channel), Windows Server 2016, or
Windows Server 2012 R2.
Upgrading a Storage Spaces Direct cluster to Windows Server, version 1709 isn't supported.
If the cluster workload is Hyper-V VMs, or Scale-Out File Server, you can expect zero-downtime upgrade.
Verify that the Hyper-V nodes have CPUs that support Second-Level Addressing Table (SLAT) using one of the
following methods;
- Review the Are you SLAT Compatible? WP8 SDK Tip 01 article that describes two methods to check if a CPU
supports SLATs
- Download the Coreinfo v3.31 tool to determine if a CPU supports SLAT.
Figure 3: Intermediate State: Mixed-OS mode: Windows Server 2012 R2 and Windows Server 2016
Failover cluster (Stage 2)
At "Stage 3", all of the nodes in the cluster have been upgraded to Windows Server 2016, and the cluster is ready
to be upgraded with Update-ClusterFunctionalLevel PowerShell cmdlet.
NOTE
At this stage, the process can be fully reversed, and Windows Server 2012 R2 nodes can be added to this cluster.
Figure 4: Intermediate State: All nodes upgraded to Windows Server 2016, ready for Update-
ClusterFunctionalLevel (Stage 3)
After the Update-ClusterFunctionalLevelcmdlet is run, the cluster enters "Stage 4", where new Windows Server
2016 cluster features can be used.
Figure 8: Using the Get-CauRun cmdlet to determine if Cluster Aware Updates is running on
the cluster
Figure 9: Disabling the Cluster Aware Updates role using the Disable-CauClusterRole cmdlet
2. For each node in the cluster, complete the following:
a. Using Cluster Manager UI, select a node and use the Pause | Drain menu option to drain the node
(see Figure 10) or use the Suspend-ClusterNode cmdlet (see Figure 11).
Figure 10: Draining roles from a node using Failover Cluster Manager
Figure 11: Draining roles from a node using the Suspend-ClusterNode cmdlet
b. Using Cluster Manager UI, Evict the paused node from cluster, or use the Remove-ClusterNode
cmdlet.
Figure 12: Remove a node from the cluster using Remove-ClusterNode cmdlet
c. Reformat the system drive and perform a "clean operating system install" of Windows Server 2016
on the node using the Custom: Install Windows only (advanced) installation (See Figure 13)
option in setup.exe. Avoid selecting the Upgrade: Install Windows and keep files, settings, and
applications option since Cluster OS Rolling Upgrade doesn't encourage in-place upgrade.
g. Using the Server Manager UI or Install-WindowsFeature PowerShell cmdlet, install the Failover
Clustering feature.
Install-WindowsFeature -Name Failover-Clustering
NOTE
When the first Windows Server 2016 node joins the cluster, the cluster enters "Mixed-OS" mode, and the
cluster core resources are moved to the Windows Server 2016 node. A "Mixed-OS" mode cluster is a fully
functional cluster where the new nodes run in a compatibility mode with the old nodes. "Mixed-OS" mode is a
transitory mode for the cluster. It is not intended to be permanent and customers are expected to update all
nodes of their cluster within four weeks.
n. After the Windows Server 2016 node is successfully added to the cluster, you can (optionally) move
some of the cluster workload to the newly added node in order to rebalance the workload across the
cluster as follows:
b. Use Move from the Failover Cluster Manager or the Move-ClusterGroup cmdlet for other
cluster workloads.
3. When every node has been upgraded to Windows Server 2016 and added back to the cluster, or when any
remaining Windows Server 2012 R2 nodes have been evicted, do the following:
IMPORTANT
After you update the cluster functional level, you cannot go back to Windows Server 2012 R2 functional level and
Windows Server 2012 R2 nodes cannot be added to the cluster.
Until the Update-ClusterFunctionalLevel cmdlet is run, the process is fully reversible and Windows Server
2012 R2 nodes can be added to this cluster and Windows Server 2016 nodes can be removed.
After the Update-ClusterFunctionalLevel cmdlet is run, new features will be available.
a. Using the Failover Cluster Manager UI or the Get-ClusterGroup cmdlet, check that all cluster roles
are running on the cluster as expected. In the following example, Available Storage is not being used,
instead CSV is used, hence, Available Storage displays an Offline status (see Figure 18).
Figure 18: Verifying that all cluster groups (cluster roles) are running using the
Get-ClusterGroup cmdlet
b. Check that all cluster nodes are online and running using the Get-ClusterNode cmdlet.
c. Run the Update-ClusterFunctionalLevel cmdlet - no errors should be returned (see Figure 19).
Figure 20: Enable Cluster Aware Updates role using the Enable-CauClusterRole cmdlet
b. Resume backup operations.
5. Enable and use the Windows Server 2016 features on Hyper-V Virtual Machines.
a. After the cluster has been upgraded to Windows Server 2016 functional level, many workloads like
Hyper-V VMs will have new capabilities. For a list of new Hyper-V capabilities. see Migrate and
upgrade virtual machines
b. On each Hyper-V host node in the cluster, use the Get-VMHostSupportedVersion cmdlet to view the
Hyper-V VM configuration versions that are supported by the host.
Figure 21: Viewing the Hyper-V VM configuration versions supported by the host
c. On each Hyper-V host node in the cluster, Hyper-V VM configuration versions can be upgraded by
scheduling a brief maintenance window with users, backing up, turning off virtual machines, and
running the Update-VMVersion cmdlet (see Figure 22). This will update the virtual machine version,
and enable new Hyper-V features, eliminating the need for future Hyper-V Integration Component
(IC ) updates. This cmdlet can be run from the Hyper-V node that is hosting the VM, or the
-ComputerName parameter can be used to update the VM Version remotely. In this example, here we
upgrade the configuration version of VM1 from 5.0 to 7.0 to take advantage of many new Hyper-V
features associated with this VM configuration version such as Production Checkpoints (Application
Consistent backups), and binary VM configuration file.
Figure 22: Upgrading a VM version using the Update-VMVersion PowerShell cmdlet
6. Storage pools can be upgraded using the Update-StoragePool PowerShell cmdlet - this is an online
operation.
Although we are targeting Private Cloud scenarios, specifically Hyper-V and Scale-out File Server clusters, which
can be upgraded without downtime, the Cluster OS Rolling Upgrade process can be used for any cluster role.
Restrictions / Limitations
This feature works only for Windows Server 2012 R2 to Windows Server 2016 versions only. This feature
cannot upgrade earlier versions of Windows Server such as Windows Server 2008, Windows Server 2008 R2,
or Windows Server 2012 to Windows Server 2016.
Each Windows Server 2016 node should be reformatted/new installation only. "In-place" or "upgrade"
installation type is discouraged.
A Windows Server 2016 node must be used to add Windows Server 2016 nodes to the cluster.
When managing a mixed-OS mode cluster, always perform the management tasks from an uplevel node that is
running Windows Server 2016. Downlevel Windows Server 2012 R2 nodes cannot use UI or management
tools against Windows Server 2016.
We encourage customers to move through the cluster upgrade process quickly because some cluster features
are not optimized for mixed-OS mode.
Avoid creating or resizing storage on Windows Server 2016 nodes while the cluster is running in mixed-OS
mode because of possible incompatibilities on failover from a Windows Server 2016 node to down-level
Windows Server 2012 R2 nodes.
See also
Release Notes: Important Issues in Windows Server 2016
What's New in Windows Server 2016
What's New in Failover Clustering in Windows Server
Upgrading Failover Clusters on the same hardware
9/27/2019 • 5 minutes to read • Edit Online
A failover cluster is a group of independent computers that work together to increase the availability of
applications and services. The clustered servers (called nodes) are connected by physical cables and by software. If
one of the cluster nodes fails, another node begins to provide service (a process known as failover). Users
experience a minimum of disruptions in service.
This guide describes the steps for upgrading the cluster nodes to Windows Server 2019 or Windows Server 2016
from an earlier version using the same hardware.
Overview
Upgrading the operating system on an existing failover cluster is only supported when going from Windows
Server 2016 to Windows 2019. If the failover cluster is running an earlier version, such as Windows Server 2012
R2 and earlier, upgrading while the cluster services are running will not allow joining nodes together. If using the
same hardware, steps can be taken to get it to the newer version.
Before any upgrade of your failover cluster, please consult the Windows Server upgrade content. When you
upgrade a Windows Server in-place, you move from an existing operating system release to a more recent release
while staying on the same hardware. Windows Server can be upgraded in-place at least one, and sometimes two
versions forward. For example, Windows Server 2012 R2 and Windows Server 2016 can be upgraded in-place to
Windows Server 2019. Also keep in mind that the Cluster Migration Wizard can be used but is only supported up
to two versions back. The following graphic shows the upgrade paths for Windows Server. Downward pointing
arrows represent the supported upgrade path moving from earlier versions up to Windows Server 2019.
The following steps are an example of going from a Windows Server 2012 failover cluster server to Windows
Server 2019 using the same hardware.
Before starting any upgrade, please ensure a current backup, including system state, has been done. Also ensure all
drivers and firmware have been updated to the certified levels for the operating system you will be using. These
two notes will not be covered here.
In the example below, the name of the failover cluster is CLUSTER and the node names are NODE1 and NODE2.
2. Evict NODE1 from the Cluster by right mouse clicking the node and selecting More Actions and Evict.
Alternatively, you can use the PowerShell command REMOVE -CLUSTERNODE.
3. As a precaution, detach NODE1 from the storage you are using. In some cases, disconnecting the storage
cables from the machine will suffice. Check with your storage vendor for proper detachment steps if needed.
Depending on your storage, this may not be necessary.
4. Rebuild NODE1 with Windows Server 2016. Ensure you have added all the necessary roles, features,
drivers and security updates.
5. Create a new cluster called CLUSTER1 with NODE1. Open Failover Cluster Manager and in the
Management pane, choose Create Cluster and follow the instructions in the wizard.
6. Once the Cluster is created, the roles will need to be migrated from the original cluster to this new cluster.
On the new cluster, right mouse click on the cluster name (CLUSTER1) and selecting More Actions and
Copy Cluster Roles. Follow along in the wizard to migrate the roles.
7. Once all the resources have been migrated, power down NODE2 (original cluster) and disconnect the
storage so as to not cause any interference. Connect the storage to NODE1. Once all is connected, bring all
the resources online and ensure they are functioning as should.
d. The Cluster Service will be stopped and needed to be started again for the rename to complete.
3. On NODE1, open Failover Cluster Manager. Right mouse click on Nodes and select Add Node. Go
through the wizard adding NODE2 to the Cluster.
4. Attach the storage to NODE2. This could include reconnecting the storage cables.
5. Drain all resources from NODE1 to NODE2 by right mouse clicking on the node and selecting Pause and
Drain Roles. Alternatively, you can use the PowerShell command SUSPEND -CLUSTERNODE. Ensure all
resources are online and they are functioning as should.
Additional notes
As explained previously, disconnecting the storage may or may not be necessary. In our documentation, we
want to err on the side of caution. Please consult with your storage vendor.
If your starting point is Windows Server 2008 or 2008 R2 clusters, an additional run through of steps may be
needed.
If the cluster is running virtual machines, ensure you upgrade the virtual machine level once the cluster
functional level has been done with the PowerShell command UPDATE -VMVERSION.
Please note that if you are running an application such as SQL Server, Exchange Server, etc, the application will
not be migrated with the Copy Cluster Roles wizard. You should consult your application vendor for proper
migration steps of the application.
Cluster-Aware Updating overview
9/27/2019 • 7 minutes to read • Edit Online
Applies to: Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012
This topic provides an overview of Cluster-Aware Updating (CAU ), a feature that automates the software
updating process on clustered servers while maintaining availability.
NOTE
When updating Storage Spaces Direct clusters, we recommend using Cluster-Aware Updating.
Feature description
Cluster-Aware Updating is an automated feature that enables you to update servers in a failover cluster with little
or no loss in availability during the update process. During an Updating Run, Cluster-Aware Updating
transparently performs the following tasks:
1. Puts each node of the cluster into node maintenance mode.
2. Moves the clustered roles off the node.
3. Installs the updates and any dependent updates.
4. Performs a restart if necessary.
5. Brings the node out of maintenance mode.
6. Restores the clustered roles on the node.
7. Moves to update the next node.
For many clustered roles in the cluster, the automatic update process triggers a planned failover. This can cause a
transient service interruption for connected clients. However, in the case of continuously available workloads,
such as Hyper-V with live migration or file server with SMB Transparent Failover, Cluster-Aware Updating can
coordinate cluster updates with no impact to the service availability.
Practical applications
CAU reduces service outages in clustered services, reduces the need for manual updating workarounds,
and makes the end-to-end cluster updating process more reliable for the administrator. When the CAU
feature is used in conjunction with continuously available cluster workloads, such as continuously available
file servers (file server workload with SMB Transparent Failover) or Hyper-V, the cluster updates can be
performed with zero impact to service availability for clients.
CAU facilitates the adoption of consistent IT processes across the enterprise. Updating Run Profiles can be
created for different classes of failover clusters and then managed centrally on a file share to ensure that
CAU deployments throughout the IT organization apply updates consistently, even if the clusters are
managed by different lines-of-business or administrators.
CAU can schedule Updating Runs on regular daily, weekly, or monthly intervals to help coordinate cluster
updates with other IT management processes.
CAU provides an extensible architecture to update the cluster software inventory in a cluster-aware
fashion. This can be used by publishers to coordinate the installation of software updates that are not
published to Windows Update or Microsoft Update or that are not available from Microsoft, for example,
updates for non-Microsoft device drivers.
CAU self-updating mode enables a "cluster in a box" appliance (a set of clustered physical machines,
typically packaged in one chassis) to update itself. Typically, such appliances are deployed in branch offices
with minimal local IT support to manage the clusters. Self-updating mode offers great value in these
deployment scenarios.
Important functionality
The following is a description of important Cluster-Aware Updating functionality:
A user interface (UI) - the Cluster Aware Updating window - and a set of cmdlets that you can use to
preview, apply, monitor, and report on the updates
An end-to-end automation of the cluster-updating operation (an Updating Run), orchestrated by one or
more Update Coordinator computers
A default plug-in that integrates with the existing Windows Update Agent (WUA) and Windows Server
Update Services (WSUS ) infrastructure in Windows Server to apply important Microsoft updates
A second plug-in that can be used to apply Microsoft hotfixes, and that can be customized to apply non-
Microsoft updates
Updating Run Profiles that you configure with settings for Updating Run options, such as the maximum
number of times that the update will be retried per node. Updating Run Profiles enable you to rapidly
reuse the same settings across Updating Runs and easily share the update settings with other failover
clusters.
An extensible architecture that supports new plug-in development to coordinate other node-updating
tools across the cluster, such as custom software installers, BIOS updating tools, and network adapter or
host bus adapter (HBA) updating tools.
Cluster-Aware Updating can coordinate the complete cluster updating operation in two modes:
Self-updating mode For this mode, the CAU clustered role is configured as a workload on the failover
cluster that is to be updated, and an associated update schedule is defined. The cluster updates itself at
scheduled times by using a default or custom Updating Run profile. During the Updating Run, the CAU
Update Coordinator process starts on the node that currently owns the CAU clustered role, and the
process sequentially performs updates on each cluster node. To update the current cluster node, the CAU
clustered role fails over to another cluster node, and a new Update Coordinator process on that node
assumes control of the Updating Run. In self-updating mode, CAU can update the failover cluster by using
a fully automated, end-to-end updating process. An administrator can also trigger updates on-demand in
this mode, or simply use the remote-updating approach if desired. In self-updating mode, an administrator
can get summary information about an Updating Run in progress by connecting to the cluster and
running the Get-CauRun Windows PowerShell cmdlet.
Remote-updating mode For this mode, a remote computer, which is called an Update Coordinator, is
configured with the CAU tools. The Update Coordinator is not a member of the cluster that is updated
during the Updating Run. From the remote computer, the administrator triggers an on-demand Updating
Run by using a default or custom Updating Run profile. Remote-updating mode is useful for monitoring
real-time progress during the Updating Run, and for clusters that are running on Server Core installations.
NOTE
You can't use the Failover Clustering Tools on Windows Server 2012 to manage Cluster-Aware Updating on a newer
version of Windows Server.
To use CAU only in remote-updating mode, installation of the Failover Clustering Tools on the cluster nodes is not
required. However, certain CAU features will not be available. For more information, see Requirements and Best Practices
for Cluster-Aware Updating.
Unless you are using CAU only in self-updating mode, the computer on which the CAU tools are installed and that
coordinates the updates cannot be a member of the failover cluster.
See also
The following links provide more information about using Cluster-Aware Updating.
Requirements and Best Practices for Cluster-Aware Updating
Cluster-Aware Updating: Frequently Asked Questions
Advanced Options and Updating Run Profiles for CAU
How CAU Plug-ins Work
Cluster-Aware Updating Cmdlets in Windows PowerShell
Cluster-Aware Updating Plug-in Reference
Cluster-Aware Updating requirements and best
practices
9/27/2019 • 20 minutes to read • Edit Online
Applies to: Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012
This section describes the requirements and dependencies that are needed to use Cluster-Aware Updating (CAU )
to apply updates to a failover cluster running Windows Server.
NOTE
You may need to independently validate that your cluster environment is ready to apply updates if you use a plug-in other
than Microsoft.WindowsUpdatePlugin. If you are using a non-Microsoft plug-in, contact the publisher for more
information. For more information about plug-ins, see How Plug-ins Work.
Install the Failover Clustering feature and the Failover Clustering Tools
CAU requires an installation of the Failover Clustering feature and the Failover Clustering Tools. The Failover
Clustering Tools include the CAU tools (clusterawareupdating.dll), the Failover Clustering cmdlets, and other
components needed for CAU operations. For steps to install the Failover Clustering feature, see Installing the
Failover Clustering Feature and Tools.
The exact installation requirements for the Failover Clustering Tools depend on whether CAU coordinates updates
as a clustered role on the failover cluster (by using self-updating mode) or from a remote computer. The self-
updating mode of CAU additionally requires the installation of the CAU clustered role on the failover cluster by
using the CAU tools.
The following table summarizes the CAU feature installation requirements for the two CAU updating modes.
Failover Clustering feature Required on all cluster nodes Required on all cluster nodes
Enable a firewall rule to Disabled Required on all cluster Required on all cluster
allow automatic restarts nodes if a firewall is in use nodes if a firewall is in use
Enable Windows PowerShell Enabled Required on all cluster Required on all cluster
3.0 or 4.0 and Windows nodes nodes to run the following:
PowerShell remoting
- The Save-CauDebugTrace
cmdlet
- PowerShell pre-update
and post-update scripts
during an Updating Run
- Tests of cluster updating
readiness using the Cluster-
Aware Updating window or
the Test-CauSetup Windows
PowerShell cmdlet
Install .NET Framework 4.6 Enabled Required on all cluster Required on all cluster
or 4.5 nodes nodes to run the following:
- The Save-CauDebugTrace
cmdlet
- PowerShell pre-update
and post-update scripts
during an Updating Run
- Tests of cluster updating
readiness using the Cluster-
Aware Updating window or
the Test-CauSetup Windows
PowerShell cmdlet
NOTE
The Remote Shutdown Windows Firewall rule group cannot be enabled when it will conflict with Group Policy settings that
are configured for Windows Firewall.
The Remote Shutdown firewall rule group is also enabled by specifying the –EnableFirewallRules parameter
when running the following CAU cmdlets: Add-CauClusterRole, Invoke-CauRun, and SetCauClusterRole.
The following PowerShell example shows an additional method to enable automatic restarts on a cluster node.
Set-NetFirewallRule -Group "@firewallapi.dll,-36751" -Profile Domain -Enabled true
winrm quickconfig -q
To support WMI remoting, if Windows Firewall is in use on the cluster nodes, the inbound firewall rule for
Windows Remote Management (HTTP -In) must be enabled on each node. By default, this rule is enabled.
Enable Windows PowerShell and Windows PowerShell remoting
To enable self-updating mode and certain CAU features in remote-updating mode, PowerShell must be installed
and enabled to run remote commands on all cluster nodes. By default, PowerShell is installed and enabled for
remoting.
To enable PowerShell remoting, use one of the following methods:
Run the Enable-PSRemoting cmdlet.
Configure a domain-level Group Policy setting for Windows Remote Management (WinRM ).
For more information about enabling PowerShell remoting, see About Remote Requirements.
Install .NET Framework 4.6 or 4.5
To enable self-updating mode and certain CAU features in remote-updating mode,.NET Framework 4.6, or .NET
Framework 4.5 (on Windows Server 2012 R2) must be installed on all cluster nodes. By default, NET Framework
is installed.
To install .NET Framework 4.6 (or 4.5) using PowerShell if it's not already installed, use the following command:
Combining CAU with methods that update individual nodes automatically (on a fixed time schedule) can cause
unpredictable results, including interruptions in service and unplanned downtime.
We recommend that you follow these guidelines:
For optimal results, we recommend that you disable settings on the cluster nodes for automatic updating,
for example, through the Automatic Updates settings in Control Panel, or in settings that are configured
using Group Policy.
Cau t i on
Automatic installation of updates on the cluster nodes can interfere with installation of updates by CAU
and can cause CAU failures.
If they are needed, the following Automatic Updates settings are compatible with CAU, because the
administrator can control the timing of update installation:
Settings to notify before downloading updates and to notify before installation
Settings to automatically download updates and to notify before installation
However, if Automatic Updates is downloading updates at the same time as a CAU Updating Run, the
Updating Run might take longer to complete.
Do not configure an update system such as Windows Server Update Services (WSUS ) to apply updates
automatically (on a fixed time schedule) to cluster nodes.
All cluster nodes should be uniformly configured to use the same update source, for example, a WSUS
server, Windows Update, or Microsoft Update.
If you use a configuration management system to apply software updates to computers on the network,
exclude cluster nodes from all required or automatic updates. Examples of configuration management
systems include Microsoft System Center Configuration Manager 2007 and Microsoft System Center
Virtual Machine Manager 2008.
If internal software distribution servers (for example, WSUS servers) are used to contain and deploy the
updates, ensure that those servers correctly identify the approved updates for the cluster nodes.
Apply Microsoft updates in branch office scenarios
To download Microsoft updates from Microsoft Update or Windows Update to cluster nodes in certain branch
office scenarios, you may need to configure proxy settings for the Local System account on each node. For
example, you might need to do this if your branch office clusters access Microsoft Update or Windows Update to
download updates by using a local proxy server.
If necessary, configure WinHTTP proxy settings on each node to specify a local proxy server and configure local
address exceptions (that is, a bypass list for local addresses). To do this, you can run the following command on
each cluster node from an elevated command prompt:
where <ProxyServerFQDN> is the fully qualified domain name for the proxy server and <port> is the port over
which to communicate (usually port 443).
For example, to configure WinHTTP proxy settings for the Local System account specifying the proxy server
MyProxy.CONTOSO.com, with port 443 and local address exceptions, type the following command:
NOTE
You might need to independently validate that your cluster environment is ready to apply software updates by using a
plug-in other than Microsoft.WindowsUpdatePlugin. If you are using a non-Microsoft plug-in, such as one provided by
your hardware manufacturer, contact the publisher for more information.
IMPORTANT
We highly recommend that you test the cluster for updating readiness in the following situations:
Before you use CAU for the first time to apply software updates.
After you add a node to the cluster or perform other hardware changes in the cluster that require running the Validate a
Cluster Wizard.
After you change an update source, or change update settings or configurations (other than CAU) that can affect the
application of updates on the nodes.
The failover cluster must be available Cannot resolve the failover cluster - Check the spelling of the name of the
name, or one or more cluster nodes cluster specified during the BPA run.
cannot be accessed. The BPA cannot - Ensure that all nodes of the cluster
run the cluster readiness tests. are online and running.
- Check that the Validate a
Configuration Wizard can successfully
run on the failover cluster.
The failover cluster nodes must be One or more failover cluster nodes are Ensure that all failover cluster nodes are
enabled for remote management via not enabled for remote management enabled for remote management
WMI by using Windows Management through WMI. For more information,
Instrumentation (WMI). CAU cannot see Configure the nodes for remote
update the cluster nodes if the nodes management in this topic.
are not configured for remote
management.
PowerShell remoting should be enabled PowerShell isn't installed or isn't Ensure that PowerShell is installed on
on each failover cluster node enabled for remoting on one or more all cluster nodes and is enabled for
failover cluster nodes. CAU cannot be remoting.
configured for self-updating mode or
use certain features in remote- For more information, see Configure
updating mode. the nodes for remote management in
this topic.
Failover cluster version One or more nodes in the failover Verify that the failover cluster that is
cluster don't run Windows Server 2016, specified during the BPA run is running
Windows Server 2012 R2, or Windows Windows Server 2016, Windows Server
Server 2012. CAU cannot update the 2012 R2, or Windows Server 2012.
failover cluster.
For more information, see Verify the
cluster configuration in this topic.
TEST POSSIBLE ISSUES AND IMPACTS RESOLUTION STEPS
The required versions of .NET .NET Framework 4.6, 4.5 or Windows Ensure that .NET Framework 4.6 or 4.5
Framework and Windows PowerShell PowerShell isn't installed on one or and Windows PowerShell are installed
must be installed on all failover cluster more cluster nodes. Some CAU features on all cluster nodes, if they are
nodes might not work. required.
The Cluster service should be running The Cluster service is not running on - Ensure that the Cluster service
on all cluster nodes one or more nodes. CAU cannot (clussvc) is started on all nodes in the
update the failover cluster. cluster, and it is configured to start
automatically.
- Check that the Validate a
Configuration Wizard can successfully
run on the failover cluster.
Automatic Updates must not be On at least one failover cluster node, If Windows Update functionality is
configured to automatically install Automatic Updates is configured to configured for Automatic Updates on
updates on any failover cluster node automatically install Microsoft updates one or more cluster nodes, ensure that
on that node. Combining CAU with Automatic Updates is not configured to
other update methods can result in automatically install updates.
unplanned downtime or unpredictable
results. For more information, see
Recommendations for applying
Microsoft updates.
The failover cluster nodes should use One or more failover cluster nodes are Ensure that every cluster node is
the same update source configured to use an update source for configured to use the same update
Microsoft updates that is different from source, for example, a WSUS server,
the rest of the nodes. Updates might Windows Update, or Microsoft Update.
not be applied uniformly on the cluster
nodes by CAU. For more information, see
Recommendations for applying
Microsoft updates.
A firewall rule that allows remote One or more failover cluster nodes do If Windows Firewall or a non-Microsoft
shutdown should be enabled on each not have a firewall rule enabled that firewall is in use on the cluster nodes,
node in the failover cluster allows remote shutdown, or a Group configure a firewall rule that allows
Policy setting prevents this rule from remote shutdown.
being enabled. An Updating Run that
applies updates that require restarting For more information, see Enable a
the nodes automatically might not firewall rule to allow automatic restarts
complete properly. in this topic.
The proxy server setting on each One or more failover cluster nodes Ensure that the WinHTTP proxy
failover cluster node should be set to a have an incorrect proxy server settings on each cluster node are set to
local proxy server configuration. a local proxy server if it is needed. If a
proxy server is not in use in your
If a local proxy server is in use, the environment, this warning can be
proxy server setting on each node ignored.
must be configured properly for the
cluster to access Microsoft Update or For more information, see Apply
Windows Update. updates in branch office scenarios in
this topic.
TEST POSSIBLE ISSUES AND IMPACTS RESOLUTION STEPS
The CAU clustered role should be The CAU clustered role is not installed To use CAU in self-updating mode, add
installed on the failover cluster to on this failover cluster. This role is the CAU clustered role on the failover
enable self-updating mode required for cluster self-updating. cluster in one of the following ways:
The CAU clustered role should be The CAU clustered role is disabled. For To use CAU in self-updating mode,
enabled on the failover cluster to example, the CAU clustered role is not enable the CAU clustered role on this
enable self-updating mode installed, or it has been disabled by failover cluster in one of the following
using the Disable-CauClusterRole ways:
PowerShell cmdlet. This role is required
for cluster self-updating. - Run the Enable-CauClusterRole
PowerShell cmdlet.
- Select the Configure cluster self-
updating options action in the
Cluster-Aware Updating window.
The configured CAU plug-in for self- The CAU clustered role on one or more - Ensure that the configured CAU plug-
updating mode must be registered on nodes of this failover cluster cannot in is installed on all cluster nodes by
all failover cluster nodes access the CAU plug-in module that is following the installation procedure for
configured in the self-updating options. the product that supplies the CAU
A self-updating run might fail. plug-in.
- Run the Register-CauPlugin
PowerShell cmdlet to register the plug-
in on the required cluster nodes.
All failover cluster nodes should have A self-updating run might fail if the - Ensure that the configured CAU plug-
the same set of registered CAU plug- plug-in that is configured to be used in in is installed on all cluster nodes by
ins an Updating Run is changed to one following the installation procedure for
that is not available on all cluster the product that supplies the CAU
nodes. plug-in.
- Run the Register-CauPlugin
PowerShell cmdlet to register the plug-
in on the required cluster nodes.
The configured Updating Run options The self-updating schedule and Configure a valid self-updating
must be valid Updating Run options that are schedule and set of Updating Run
configured for this failover cluster are options. For example, you can use the
incomplete or are not valid. A self- Set-CauClusterRole PowerShell cmdlet
updating run might fail. to configure the CAU clustered role.
At least two failover cluster nodes must An Updating Run launched in self- Use the Failover Clustering Tools to
be owners of the CAU clustered role updating mode will fail because the ensure that all cluster nodes are
CAU clustered role does not have a configured as possible owners of the
possible owner node to move to. CAU clustered role. This is the default
configuration.
All failover cluster nodes must be able Not all possible owner nodes of the Ensure that all possible owner nodes of
to access Windows PowerShell scripts CAU clustered role can access the the CAU clustered role have
configured Windows PowerShell pre- permissions to access the configured
update and post-update scripts. A self- PowerShell pre-update and post-
updating run will fail. update scripts.
TEST POSSIBLE ISSUES AND IMPACTS RESOLUTION STEPS
All failover cluster nodes should use Not all possible owner nodes of the Ensure that all possible owner nodes of
identical Windows PowerShell scripts CAU clustered role use the same copy the CAU clustered role use the same
of the specified Windows PowerShell PowerShell pre-update and post-
pre-update and post-update scripts. A update scripts.
self-updating run might fail or show
unexpected behavior.
The WarnAfter setting specified for the The specified CAU Updating Run In the Updating Run options, configure
Updating Run should be less than the timeout values make the warning a WarnAfter option value that is less
StopAfter setting timeout ineffective. An Updating Run than the StopAfter option value.
might be canceled before a warning
event log can be generated.
See also
Cluster-Aware Updating overview
Cluster-Aware Updating advanced options and
updating run profiles
9/27/2019 • 8 minutes to read • Edit Online
Applies to: Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012.
This topic describes Updating Run options that can be configured for a Cluster-Aware Updating (CAU ) Updating
Run. These advanced options can be configured when you use either the CAU UI or the CAU Windows
PowerShell cmdlets to apply updates or to configure self-updating options.
Most configuration settings can be saved as an XML file called an Updating Run Profile and reused for later
Updating Runs. The default values for the Updating Run options that are provided by CAU can also be used in
many cluster environments.
For information about additional options that you can specify for each Updating Run and about Updating Run
Profiles, see the following sections later in this topic:
Options that you specify when you request an Updating Run Use Updating Run Profiles Options that can be set in
an Updating Run Profile
The following table lists options that you can set in a CAU Updating Run Profile.
NOTE
To set the PreUpdateScript or PostUpdateScript option, ensure that Windows PowerShell and .NET Framework 4.6 or 4.5 are
installed and that PowerShell remoting is enabled on each node in the cluster. For more information, see Configure the
nodes for remote management in Requirements and Best Practices for Cluster-Aware Updating.
MaxFailedNodes For most clusters, an integer that is Maximum number of nodes on which
approximately one-third of the number updating can fail, either because the
of cluster nodes nodes fail or the Cluster service stops
running. If one more node fails, the
Updating Run is stopped.
ConfigurationName This setting only has an effect if you run Specifies the PowerShell session
scripts. configuration that defines the session in
which scripts (specified by
If you specify a pre-update script or a PreUpdateScript and
post-update script, but you do not PostUpdateScript) are run, and can
specify a ConfigurationName, the limit the commands that can be run.
default session configuration for
PowerShell (Microsoft.PowerShell) is
used.
Domain=Domain.local
NodeOrder By default, CAU starts with the node Names of the cluster nodes in the order
that owns the smallest number of that they should be updated (if
clustered roles, then progresses to the possible).
node that has the second smallest
number, and so on.
By using an Updating Run Profile, you can update a failover cluster in a repeatable fashion with consistent settings
for exception management, time bounds, and other operational parameters. Because these settings are typically
specific to a class of failover clusters—such as “All Microsoft SQL Server clusters”, or “My business-critical
clusters”—you might want to name each Updating Run Profile according to the class of Failover Clusters it will be
used with. In addition, you might want to manage the Updating Run Profile on a file share that is accessible to all
of the failover clusters of a specific class in your IT organization.
See also
Cluster-Aware Updating
Cluster-Aware Updating Cmdlets in Windows PowerShell
Cluster-Aware Updating: Frequently Asked Questions
9/27/2019 • 10 minutes to read • Edit Online
Applies to: Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012
Cluster-Aware Updating (CAU ) is a feature that coordinates software updates on all servers in a failover cluster in
a way that doesn't impact the service availability any more than a planned failover of a cluster node. For some
applications with continuous availability features (such as Hyper-V with live migration, or an SMB 3.x file server
with SMB Transparent Failover), CAU can coordinate automated cluster updating with no impact on service
availability.
NOTE
Currently, the following clustered workloads are tested and certified for CAU: SMB, Hyper-V, DFS Replication, DFS
Namespaces, iSCSI, and NFS.
Can CAU report updates that are initiated from outside CAU?
No. CAU can only report Updating Runs that are initiated from within CAU. However, when a subsequent CAU
Updating Run is launched, updates that were installed through non-CAU methods are appropriately considered to
determine the additional updates that might be applicable to each cluster node.
Advanced Updating Run options The administrator can additionally specify from a large set of advanced
Updating Run options such as the maximum number of times that the update process is retried on each node.
These options can be specified using either the CAU UI or the CAU PowerShell cmdlets. These custom settings can
be saved in an Updating Run Profile and reused for later Updating Runs.
Public plug-in architecture CAU includes features to Register, Unregister, and Select plug-ins. CAU ships with
two default plug-ins: one coordinates the Windows Update Agent (WUA) APIs on each cluster node; the second
applies hotfixes that are manually copied to a file share that is accessible to the cluster nodes. If an enterprise has
unique needs that cannot be met with these two plug-ins, the enterprise can build a new CAU plug-in according to
the public API specification. For more information, see Cluster-Aware Updating Plug-in Reference.
For information about configuring and customizing CAU plug-ins to support different updating scenarios, see
How Plug-ins Work.
Does CAU need components running on the cluster nodes that are
being updated?
CAU doesn't need a service running on the cluster nodes. However, CAU needs a software component (the WMI
provider) installed on the cluster nodes. This component is installed with the Failover Clustering feature.
To enable self-updating mode, the CAU clustered role must also be added to the cluster.
What is the difference between using CAU and VMM?
System Center Virtual Machine Manager (VMM ) is focused on updating only Hyper-V clusters, whereas
CAU can update any type of supported failover cluster, including Hyper-V clusters.
VMM requires additional licensing, whereas CAU is licensed for all Windows Server. The CAU features,
tools, and UI are installed with Failover Clustering components.
If you already own a System Center license, you can continue to use VMM to update Hyper-V clusters
because it offers an integrated management and software updating experience.
CAU is supported only on clusters that are running Windows Server 2016, Windows Server 2012 R2, and
Windows Server 2012. VMM also supports Hyper-V clusters on computers running Windows Server 2008
R2 and Windows Server 2008.
See also
Cluster-Aware Updating Overview
How Cluster-Aware Updating plug-ins work
1/14/2020 • 21 minutes to read • Edit Online
Applies to: Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012
Cluster-Aware Updating (CAU ) uses plug-ins to coordinate the installation of updates across nodes in a failover
cluster. This topic provides information about using the built-in CAU plug-ins or other plug-ins that you install for
CAU.
Install a plug-in
A plug-in other than the default plug-ins that are installed with CAU (Microsoft.WindowsUpdatePlugin and
Microsoft.HotfixPlugin) must be installed separately. If CAU is used in self-updating mode, the plug-in must be
installed on all cluster nodes. If CAU is used in remote-updating mode, the plug-in must be installed on the
remote Update Coordinator computer. A plug-in that you install may have additional installation requirements on
each node.
To install a plug-in, follow the instructions from the plug-in publisher. To manually register a plug-in with CAU, run
the Register-CauPlugin cmdlet on each computer where the plug-in is installed.
TIP
In the CAU UI, you can only specify a single plug-in for CAU to use to preview or to apply updates during an Updating Run.
By using the CAU PowerShell cmdlets, you can specify one or more plug-ins. If you need to install multiple types of updates
on the cluster, it is usually more efficient to specify multiple plug-ins in one Updating Run, rather than using a separate
Updating Run for each plug-in. For example, fewer node restarts will typically occur.
By using the CAU PowerShell cmdlets that are listed in the following table, you can specify one or more plug-ins
for an Updating Run or scan by passing the –CauPluginName parameter. You can specify multiple plug-in
names by separating them with commas. If you specify multiple plug-ins, you can also control how the plug-ins
influence each other during an Updating Run by specifying the -RunPluginsSerially, -StopOnPluginFailure,
and –SeparateReboots parameters. For more information about using multiple plug-ins, use the links provided
to the cmdlet documentation in the following table.
CMDLET DESCRIPTION
Add-CauClusterRole Adds the CAU clustered role that provides the self-updating
functionality to the specified cluster.
If you do not specify a CAU plug-in parameter by using these cmdlets, the default is the plug-in
Microsoft.WindowsUpdatePlugin.
Specify CAU plug-in arguments
When you configure the Updating Run options, you can specify one or more name=value pairs (arguments) for
the selected plug-in to use. For example, in the CAU UI, you can specify multiple arguments as follows:
Name1=Value1;Name2=Value2;Name3=Value3
These name=value pairs must be meaningful to the plug-in that you specify. For some plug-ins the arguments
are optional.
The syntax of the CAU plug-in arguments follows these general rules:
Multiple name=value pairs are separated by semicolons.
A value that contains spaces is surrounded by quotation marks, for example: Name1="Value with
Spaces".
The exact syntax of value depends on the plug-in.
To specify plug-in arguments by using the CAU PowerShell cmdlets that support the –CauPluginParameters
parameter, pass a parameter of the form:
-CauPluginArguments @{Name1=Value1;Name2=Value2;Name3=Value3}
You can also use a predefined PowerShell hash table. To specify plug-in arguments for more than one plug-in,
pass multiple hash tables of arguments, separated with commas. Pass the plug-in arguments in the plug-in order
that is specified in CauPluginName.
Specify optional plug-in arguments
The plug-ins that CAU installs (Microsoft.WindowsUpdatePlugin and Microsoft.HotfixPlugin) provide
additional options that you can select. In the CAU UI, these appear on an Additional Options page after you
configure Updating Run options for the plug-in. If you are using the CAU PowerShell cmdlets, these options are
configured as optional plug-in arguments. For more information, see Use the Microsoft.WindowsUpdatePlugin
and Use the Microsoft.HotfixPlugin later in this topic.
NOTE
To apply updates other than the important software updates that are selected by default (for example, driver updates), you
can configure an optional plug-in parameter. For more information, see Configure the Windows Update Agent query string.
Requirements
The failover cluster and remote Update Coordinator computer (if used) must meet the requirements for CAU
and the configuration that is required for remote management listed in Requirements and Best Practices for
CAU.
Review Recommendations for applying Microsoft updates, and then make any necessary changes to your
Microsoft Update configuration for the failover cluster nodes.
For best results, we recommend that you run the CAU Best Practices Analyzer (BPA) to ensure that the cluster
and update environment are configured properly to apply updates by using CAU. For more information, see
Test CAU updating readiness.
NOTE
Updates that require the acceptance of Microsoft license terms or require user interaction are excluded, and they must be
installed manually.
Additional options
Optionally, you can specify the following plug-in arguments to augment or restrict the set of updates that are
applied by the plug-in:
To configure the plug-in to apply recommended updates in addition to important updates on each node, in the
CAU UI, on the Additional Options page, select the Give me recommended updates the same way that I
receive important updates check box.
Alternatively, configure the 'IncludeRecommendedUpdates'='True' plug-in argument.
To configure the plug-in to filter the types of GDR updates that are applied to each cluster node, specify a
Windows Update Agent query string using a QueryString plug-in argument. For more information, see
Configure the Windows Update Agent query string.
Configure the Windows Update Agent query string
You can configure a plug-in argument for the default plug-in, Microsoft.WindowsUpdatePlugin, that consists
of a Windows Update Agent (WUA) query string. This instruction uses the WUA API to identify one or more
groups of Microsoft updates to apply to each node, based on specific selection criteria. You can combine multiple
criteria by using a logical AND or a logical OR. The WUA query string is specified in a plug-in argument as
follows:
QueryString="Criterion1=Value1 and/or Criterion2=Value2 and/or…"
For example, Microsoft.WindowsUpdatePlugin automatically selects important updates by using a default
QueryString argument that is constructed using the IsInstalled, Type, IsHidden, and IsAssigned criteria:
QueryString="IsInstalled=0 and Type='Software' and IsHidden=0 and IsAssigned=1"
If you specify a QueryString argument, it is used in place of the default QueryString that is configured for the
plug-in.
Example 1
To configure a QueryString argument that installs a specific update as identified by ID f6ce46c1 -971c-43f9 -
a2aa -783df125f003:
QueryString="UpdateID='f6ce46c1-971c-43f9-a2aa-783df125f003' and IsInstalled=0"
NOTE
The preceding example is valid for applying updates by using the Cluster-Aware Updating Wizard. If you want to install a
specific update by configuring self-updating options with the CAU UI or by using the Add-CauClusterRole or Set-
CauClusterRolePowerShell cmdlet, you must format the UpdateID value with two single-quote characters:
QueryString="UpdateID=''f6ce46c1-971c-43f9-a2aa-783df125f003'' and IsInstalled=0"
Example 2
To configure a QueryString argument that installs only drivers:
QueryString="IsInstalled=0 and Type='Driver' and IsHidden=0"
For more information about query strings for the default plug-in, Microsoft.WindowsUpdatePlugin, the
search criteria (such as IsInstalled), and the syntax that you can include in the query strings, see the section about
search criteria in the Windows Update Agent (WUA) API Reference.
NOTE
Hotfixes are sometimes available for download from Microsoft in Knowledge Base articles, but they are also provided to
customers on an as-needed basis.
Requirements
The failover cluster and remote Update Coordinator computer (if used) must meet the requirements for
CAU and the configuration that is required for remote management listed in Requirements and Best
Practices for CAU.
Review Recommendations for using the Microsoft.HotfixPlugin.
For best results, we recommend that you run the CAU Best Practices Analyzer (BPA) model to ensure that
the cluster and update environment are configured properly to apply updates by using CAU. For more
information, see Test CAU updating readiness.
Obtain the updates from the publisher, and copy them or extract them to a Server Message Block (SMB )
file share (hotfix root folder) that supports at least SMB 2.0 and that is accessible by all of the cluster nodes
and the remote Update Coordinator computer (if CAU is used in remote-updating mode). For more
information, see Configure a hotfix root folder structure later in this topic.
NOTE
By default, this plug-in only installs hotfixes with the following file name extensions: .msu, .msi, and .msp.
NOTE
To install most hotfixes provided by Microsoft and other updates, the default hotfix configuration file can be used
without modification. If your scenario requires it, you can customize the configuration file as an advanced task. The
configuration file can include custom rules, for example, to handle hotfix files that have specific extensions, or to
define behaviors for specific exit conditions. For more information, see Customize the hotfix configuration file later in
this topic.
Configuration
Configure the following settings. For more information, see the links to sections later in this topic.
The path to the shared hotfix root folder that contains the updates to apply and that contains the hotfix
configuration file. You can type this path in the CAU UI or configure the HotfixRootFolderPath=<Path>
PowerShell plug-in argument.
NOTE
You can specify the hotfix root folder as a local folder path or as a UNC path of the form
\\ServerName\Share\RootFolderName. A domain-based or standalone DFS Namespace path can be used. However,
the plug-in features that check access permissions in the hotfix configuration file are incompatible with a DFS
Namespace path, so if you configure one, you must disable the check for access permissions by using the CAU UI or
by configuring the DisableAclChecks='True' plug-in argument.
Settings on the server that hosts the hotfix root folder to check for appropriate permissions to access the
folder and ensure the integrity of the data accessed from the SMB shared folder (SMB signing or SMB
Encryption). For more information, see Restrict access to the hotfix root folder.
Additional options
Optionally, configure the plug-in so that SMB Encryption is enforced when accessing data from the hotfix file
share. In the CAU UI, on the Additional Options page, select the Require SMB Encryption in accessing
the hotfix root folder option, or configure the RequireSMBEncryption='True' PowerShell plug-in
argument.
IMPORTANT
You must perform additional configuration steps on the SMB server to enable SMB data integrity with SMB signing
or SMB Encryption. For more information, see Step 4 in Restrict access to the hotfix root folder. If you select the
option to enforce the use of SMB Encryption, and the hotfix root folder is not configured for access by using SMB
Encryption, the Updating Run will fail.
Optionally, disable the default checks for sufficient permissions for the hotfix root folder and the hotfix
configuration file. In the CAU UI, select Disable check for administrator access to the hotfix root folder
and configuration file, or configure the DisableAclChecks='True' plug-in argument.
Optionally, configure the HotfixInstallerTimeoutMinutes= argument to specify how long the hotfix plug-in
waits for the hotfix installer process to return. (The default is 30 minutes.) For example, to specify a timeout
period of two hours, set HotfixInstallerTimeoutMinutes=120.
Optionally, configure the HotfixConfigFileName = plug-in argument to specify a name for the hotfix
configuration file that is located in the hotfix root folder. If not specified, the default name
DefaultHotfixConfig.xml is used.
Configure a hotfix root folder structure
For the hotfix plug-in to work, hotfixes must be stored in a well-defined structure in an SMB file share (hotfix root
folder), and you must configure the hotfix plug-in with the path to the hotfix root folder by using the CAU UI or
the CAU PowerShell cmdlets. This path is passed to the plug-in as the HotfixRootFolderPath argument. You can
choose one of several structures for the hotfix root folder, according to your updating needs, as shown in the
following examples. Files or folders that do not adhere to the structure are ignored.
Example 1 - Folder structure used to apply hotfixes to all cluster nodes
To specify that hotfixes apply to all cluster nodes, copy them to a folder named CAUHotfix_All under the hotfix
root folder. In this example, the HotfixRootFolderPath plug-in argument is set to \\MyFileServer\Hotfixes\Root\.
The CAUHotfix_All folder contains three updates with the extensions .msu, .msi, and .msp that will be applied to
all cluster nodes. The update file names are only for illustration purposes.
NOTE
In this and the following examples, the hotfix configuration file with its default name DefaultHotfixConfig.xml is shown in its
required location in the hotfix root folder.
\\MyFileServer\Hotfixes\Root\
DefaultHotfixConfig.xml
CAUHotfix_All\
Update1.msu
Update2.msi
Update3.msp
...
Example 2 - Folder structure used to apply certain updates only to a specific node
To specify hotfixes that apply only to a specific node, use a subfolder under the hotfix root folder with the name of
the node. Use the NetBIOS name of the cluster node, for example, ContosoNode1. Then, move the updates that
apply only to this node to this subfolder. In the following example, the HotfixRootFolderPath plug-in argument
is set to \\MyFileServer\Hotfixes\Root\. Updates in the CAUHotfix_All folder will be applied to all cluster nodes,
and Node1_Specific_Update.msu will be applied only to ContosoNode1.
\\MyFileServer\Hotfixes\Root\
DefaultHotfixConfig.xml
CAUHotfix_All\
Update1.msu
Update2.msi
Update3.msp
...
ContosoNode1\
Node1_Specific_Update.msu
...
Example 3 - Folder structure used to apply updates other than .msu, .msi, and .msp files
By default, Microsoft.HotfixPlugin only applies updates with the .msu, .msi, or .msp extension. However, certain
updates might have different extensions and require different installation commands. For example, you might
need to apply a firmware update with the extension .exe to a node in a cluster. You can configure the hotfix root
folder with a subfolder that indicates a specific, non-default update type should be installed. You must also
configure a corresponding folder installation rule that specifies the installation command in the <FolderRules>
element in the hotfix configuration XML file.
In the following example, the HotfixRootFolderPath plug-in argument is set to \\MyFileServer\Hotfixes\Root\.
Several updates will be applied to all cluster nodes, and a firmware update SpecialHotfix1.exe will be applied to
ContosoNode1 by using FolderRule1. For information about configuring FolderRule1 in the hotfix configuration
file, see Customize the hotfix configuration file later in this topic.
\\MyFileServer\Hotfixes\Root\
DefaultHotfixConfig.xml
CAUHotfix_All\
Update1.msu
Update2.msi
Update3.msp
...
ContosoNode1\
FolderRule1\
SpecialHotfix1.exe
...
IMPORTANT
To apply most hotfixes provided by Microsoft and other updates, the default hotfix configuration file can be used without
modification. Customization of the hotfix configuration file is a task only in advanced usage scenarios.
By default, the hotfix configuration XML file defines installation rules and exit conditions for the following two
categories of hotfixes:
Hotfix files with extensions that the plug-in can install by default (.msu, .msi, and .msp files).
These are defined as <ExtensionRules> elements in the <DefaultRules> element. There is one <Extension>
element for each of the default supported file types. The general XML structure is as follows:
<DefaultRules>
<ExtensionRules>
<Extension name="MSI">
<!-- Template and ExitConditions elements for installation of .msi files follow -->
...
</Extension>
<Extension name="MSU">
<!-- Template and ExitConditions elements for installation of .msu files follow -->
...
</Extension>
<Extension name="MSP">
<!-- Template and ExitConditions elements for installation of .msp files follow -->
...
</Extension>
...
</ExtensionRules>
</DefaultRules>
If you need to apply certain update types to all cluster nodes in your environment, you can define
additional <Extension> elements.
Hotfix or other update files that are not .msi, .msu, or .msp files, for example, non-Microsoft drivers,
firmware, and BIOS updates.
Each non-default file type is configured as a <Folder> element in the <FolderRules> element. The name
attribute of the <Folder> element must be identical to the name of a folder in the hotfix root folder that will
contain updates of the corresponding type. The folder can be in the CAUHotfix_All folder or in a node-
specific folder. For example, if FolderRule1 is configured in the hotfix root folder, configure the following
element in the XML file to define an installation template and exit conditions for the updates in that folder:
<FolderRules>
<Folder name="FolderRule1">
<!-- Template and ExitConditions elements for installation of updates in FolderRule1 follow -->
...
</Folder>
...
</FolderRules>
The following tables describe the <Template> attributes and the possible <ExitConditions> subelements.
path The full path to the installation program for the file type that
is defined in the <Extension name> attribute.
<Success> Defines one or more exit codes that indicate the specified
update succeeded. This is a required subelement.
<Success_RebootRequired> Optionally defines one or more exit codes that indicate the
specified update succeeded and the node must restart.
Note: Optionally, the <Folder> element can contain the
alwaysReboot attribute. If this attribute is set, it indicates
that if a hotfix installed by this rule returns one of the exit
codes that is defined in <Success> , it is interpreted as a
<Success_RebootRequired> exit condition.
<Fail_RebootRequired> Optionally defines one or more exit codes that indicate the
specified update failed and the node must restart.
<AlreadyInstalled> Optionally defines one or more exit codes that indicate the
specified update was not applied because it is already
installed.
<NotApplicable> Optionally defines one or more exit codes that indicate the
specified update was not applied because it does not apply to
the cluster node.
IMPORTANT
Any exit code that is not explicitly defined in <ExitConditions> is interpreted as the update failed, and the node does not
restart.
IMPORTANT
You must add the account that is used for Updating Runs as a local administrator account on the SMB server. If this is not
permitted because of the security policies in your organization, configure this account with the necessary permissions on the
SMB server by using the following procedure.
To c o n fi g u r e a u se r a c c o u n t o n t h e SM B se r v e r
1. Add the account that is used for Updating Runs to the Distributed COM Users group and to one of the
following groups: Power User, Server Operation, or Print Operator.
2. To enable the necessary WMI permissions for the account, start the WMI Management Console on the
SMB server. Start PowerShell and then type the following command:
wmimgmt.msc
3. In the console tree, right-click WMI Control (Local), and then click Properties.
4. Click Security, and then expand Root.
5. Click CIMV2, and then click Security.
6. Add the account that is used for Updating Runs to the Group or user names list.
7. Grant the Execute Methods and Remote Enable permissions to the account that is used for Updating
Runs.
Step 3. Configure permissions to access the hotfix root folder
By default, when you attempt to apply updates, the hotfix plug-in checks the configuration of the NTFS file system
permissions for access to the hotfix root folder. If the folder access permissions are not configured properly, an
Updating Run using the hotfix plug-in might fail.
If you use the default configuration of the hotfix plug-in, ensure that the folder access permissions meet the
following requirements.
The Users group has Read permission.
If the plug-in will apply updates with the .exe extension, the Users group has Execute permission.
Only certain security principals are permitted (but are not required) to have Write or Modify permission.
The allowed principals are the local Administrators group, SYSTEM, CREATOR OWNER, and
TrustedInstaller. Other accounts or groups are not permitted to have Write or Modify permission on the
hotfix root folder.
Optionally, you can disable the preceding checks that the plug-in performs by default. You can do this in one of
two ways:
If you are using the CAU PowerShell cmdlets, configure the DisableAclChecks='True' argument in the
CauPluginArguments parameter for the hotfix plug-in.
If you are using the CAU UI, select the Disable check for administrator access to the hotfix root
folder and configuration file option on the Additional Update Options page of the wizard that is used
to configure Updating Run options.
However, as a best practice in many environments, we recommend that you use the default configuration to
enforce these checks.
Step 4. Configure settings for SMB data integrity
To check for data integrity in the connections between the cluster nodes and the SMB file share, the hotfix plug-in
requires that you enable settings on the SMB file share for SMB signing or SMB Encryption. SMB Encryption,
which provides enhanced security and better performance in many environments, is supported starting in
Windows Server 2012. You can enable either or both of these settings, as follows:
To enable SMB signing, see the procedure in the article 887429 in the Microsoft Knowledge Base.
To enable SMB Encryption for the SMB shared folder, run the following PowerShell cmdlet on the SMB
server:
IMPORTANT
If you select the option to enforce the use of SMB Encryption, and the hotfix root folder is not configured for connections
that use SMB Encryption, the Updating Run will fail.
See also
Cluster-Aware Updating Overview
Cluster-Aware Updating Windows PowerShell Cmdlets
Cluster-Aware Updating Plug-in Reference
Health Service in Windows Server
1/14/2020 • 4 minutes to read • Edit Online
The Health Service is a new feature in Windows Server 2016 that improves the day-to-day monitoring and
operational experience for clusters running Storage Spaces Direct.
Prerequisites
The Health Service is enabled by default with Storage Spaces Direct. No additional action is required to set it up or
start it. To learn more about Storage Spaces Direct, see Storage Spaces Direct in Windows Server 2016.
Reports
See Health Service reports.
Faults
See Health Service faults.
Actions
See Health Service actions.
Automation
This section describes workflows which are automated by the Health Service in the disk lifecycle.
Disk Lifecycle
The Health Service automates most stages of the physical disk lifecycle. Let's say that the initial state of your
deployment is in perfect health - which is to say, all physical disks are working properly.
Retirement
Physical disks are automatically retired when they can no longer be used, and a corresponding Fault is raised.
There are several cases:
Media Failure: the physical disk is definitively failed or broken, and must be replaced.
Lost Communication: the physical disk has lost connectivity for over 15 consecutive minutes.
Unresponsive: the physical disk has exhibited latency of over 5.0 seconds three or more times within an
hour.
NOTE
If connectivity is lost to many physical disks at once, or to an entire node or storage enclosure, the Health Service will not
retire these disks since they are unlikely to be the root problem.
If the retired disk was serving as the cache for many other physical disks, these will automatically be reassigned to
another cache disk if one is available. No special user action is required.
Restoring resiliency
Once a physical disk has been retired, the Health Service immediately begins copying its data onto the remaining
physical disks, to restore full resiliency. Once this has completed, the data is completely safe and fault tolerant
anew.
NOTE
This immediate restoration requires sufficient available capacity among the remaining physical disks.
NOTE
In some cases, the disk may have failed in a way that precludes even its indicator light from functioning - for example, a total
loss of power.
Physical replacement
You should replace the retired physical disk when possible. Most often, this consists of a hot-swap - i.e. powering
off the node or storage enclosure is not required. See the Fault for helpful location and part information.
Verification
When the replacement disk is inserted, it will be verified against the Supported Components Document (see the
next section).
Pooling
If allowed, the replacement disk is automatically substituted into its predecessor's pool to enter use. At this point,
the system is returned to its initial state of perfect health, and then the Fault disappears.
Example
<Components>
<Disks>
<Disk>
<Manufacturer>Contoso</Manufacturer>
<Model>XYZ9000</Model>
<AllowedFirmware>
<Version>2.0</Version>
<Version>2.1</Version>
<Version>2.2</Version>
</AllowedFirmware>
<TargetFirmware>
<Version>2.1</Version>
<BinaryPath>C:\ClusterStorage\path\to\image.bin</BinaryPath>
</TargetFirmware>
</Disk>
<Disk>
<Manufacturer>Fabrikam</Manufacturer>
<Model>QRSTUV</Model>
</Disk>
</Disks>
<Cache>
<CacheDisk>
<Manufacturer>Fabrikam</Manufacturer>
<Model>QRSTUV</Model>
</CacheDisk>
</Cache>
</Components>
To set or modify the Supported Components Document once Storage Spaces Direct has been deployed:
NOTE
The model, manufacturer, and the firmware version properties should exactly match the values that you get using the Get-
PhysicalDisk cmdlet. This may differ from your "common sense" expectation, depending on your vendor's implementation.
For example, rather than "Contoso", the manufacturer may be "CONTOSO-LTD", or it may be blank while the model is
"Contoso-XZY9000".
You can verify using the following PowerShell cmdlet:
Settings
See Health Service settings.
See also
Health Service reports
Health Service faults
Health Service actions
Health Service settings
Storage Spaces Direct in Windows Server 2016
Health Service reports
9/27/2019 • 5 minutes to read • Edit Online
Usage in PowerShell
Use this cmdlet to get metrics for the entire Storage Spaces Direct cluster:
The optional Count parameter indicates how many sets of values to return, at one second intervals.
You can also get metrics for one specific volume or server:
public CimSession Connect(string Domain = "...", string Computer = "...", string Username = "...", string
Password = "...")
{
SecureString PasswordSecureString = new SecureString();
foreach (char c in Password)
{
PasswordSecureString.AppendChar(c);
}
CimInstance Cluster;
List<CimInstance> Nodes;
List<CimInstance> Volumes;
CimInstance HealthService;
These are the same objects you get in PowerShell using cmdlets like Get-StorageSubSystem, Get-
StorageNode, and Get-Volume.
You can access all the same properties, documented at Storage Management API Classes.
...
using System.Diagnostics;
Invoke GetReport to begin streaming samples of an expert-curated list of essential metrics, which are collected
efficiently and aggregated dynamically across nodes, with built-in logic to detect cluster membership. Samples will
arrive every second thereafter. All values are real-time and point-in-time only.
Metrics can be streamed for three scopes: the cluster, any node, or any volume.
The complete list of metrics available at each scope in Windows Server 2016 is documented below.
IObserver.OnNext()
This sample code uses the Observer Design Pattern to implement an Observer whose OnNext() method will be
invoked when each new sample of metrics arrives. Its OnCompleted() method will be called if/when streaming
ends. For example, you might use it to reinitiate streaming, so it continues indefinitely.
class MetricsObserver<T> : IObserver<T>
{
public void OnNext(T Result)
{
// Cast
CimMethodStreamedResult StreamedResult = Result as CimMethodStreamedResult;
if (StreamedResult != null)
{
// For illustration, you could store the metrics in this dictionary
Dictionary<string, string> Metrics = new Dictionary<string, string>();
// Unpack
CimInstance Report = (CimInstance)StreamedResult.ItemValue;
IEnumerable<CimInstance> Records =
(IEnumerable<CimInstance>)Report.CimInstanceProperties["Records"].Value;
foreach (CimInstance Record in Records)
{
/// Each Record has "Name", "Value", and "Units"
Metrics.Add(
Record.CimInstanceProperties["Name"].Value.ToString(),
Record.CimInstanceProperties["Value"].Value.ToString()
);
}
Begin streaming
With the Observer defined, you can begin streaming.
Specify the target CimInstance to which you want the metrics scoped. It can be the cluster, any node, or any
volume.
The count parameter is the number of samples before streaming ends.
CimInstance Target = Cluster; // From among the objects discovered in DiscoverObjects()
Needless to say, these metrics can be visualized, stored in a database, or used in whatever way you see fit.
Properties of reports
Every sample of metrics is one "report" which contains many "records" corresponding to individual metrics.
For the full schema, inspect the MSFT_StorageHealthReport and MSFT_HealthRecord classes in
storagewmi.mof.
Each metric has just three properties, per this table.
PROPERTY EXAMPLE
Name IOLatencyAverage
Value 0.00021
Units 3
Coverage
Below are the metrics available for each scope in Windows Server 2016.
MSFT_StorageSubSystem
NAME UNITS
CPUUsage 4
CapacityPhysicalPooledAvailable 0
CapacityPhysicalPooledTotal 0
CapacityPhysicalTotal 0
NAME UNITS
CapacityPhysicalUnpooled 0
CapacityVolumesAvailable 0
CapacityVolumesTotal 0
IOLatencyAverage 3
IOLatencyRead 3
IOLatencyWrite 3
IOPSRead 2
IOPSTotal 2
IOPSWrite 2
IOThroughputRead 1
IOThroughputTotal 1
IOThroughputWrite 1
MemoryAvailable 0
MemoryTotal 0
MSFT_StorageNode
NAME UNITS
CPUUsage 4
IOLatencyAverage 3
IOLatencyRead 3
IOLatencyWrite 3
IOPSRead 2
IOPSTotal 2
IOPSWrite 2
IOThroughputRead 1
IOThroughputTotal 1
NAME UNITS
IOThroughputWrite 1
MemoryAvailable 0
MemoryTotal 0
MSFT_Volume
NAME UNITS
CapacityAvailable 0
CapacityTotal 0
IOLatencyAverage 3
IOLatencyRead 3
IOLatencyWrite 3
IOPSRead 2
IOPSTotal 2
IOPSWrite 2
IOThroughputRead 1
IOThroughputTotal 1
IOThroughputWrite 1
See also
Health Service in Windows Server 2016
Health Service faults
9/27/2019 • 13 minutes to read • Edit Online
Severity: MINOR
Reason: Connectivity has been lost to the physical disk.
Recommendation: Check that the physical disk is working and properly connected.
Part: Manufacturer Contoso, Model XYZ9000, Serial 123456789
Location: Seattle DC, Rack B07, Node 4, Slot 11
NOTE
The physical location is derived from your fault domain configuration. For more information about fault domains, see Fault
Domains in Windows Server 2016. If you do not provide this information, the location field will be less helpful - for example,
it may only show the slot number.
Usage in PowerShell
To see any current faults in PowerShell, run this cmdlet:
This returns any faults which affect the overall Storage Spaces Direct cluster. Most often, these faults relate to
hardware or configuration. If there are no faults, this cmdlet will return nothing.
NOTE
In a non-production environment, and at your own risk, you can experiment with this feature by triggering faults yourself -
for example, by removing one physical disk or shutting down one node. Once the fault has appeared, re-insert the physical
disk or restart the node and the fault will disappear again.
You can also view faults that are affecting only specific volumes or file shares with the following cmdlets:
This returns any faults that affect only the specific volume or file share. Most often, these faults relate to capacity
planning, data resiliency, or features like Storage Quality-of-Service or Storage Replica.
...
using System.Security;
using Microsoft.Management.Infrastructure;
public CimSession Connect(string Domain = "...", string Computer = "...", string Username = "...", string
Password = "...")
{
SecureString PasswordSecureString = new SecureString();
foreach (char c in Password)
{
PasswordSecureString.AppendChar(c);
}
These are the same objects you get in PowerShell using cmdlets like Get-StorageSubSystem, Get-
StorageNode, and Get-Volume.
You can access all the same properties, documented at Storage Management API Classes.
...
using System.Diagnostics;
Query faults
Invoke Diagnose to get any current faults scoped to the target CimInstance, which be the cluster or any volume.
The complete list of faults available at each scope in Windows Server 2016 is documented below.
public void GetFaults(CimSession Session, CimInstance Target)
{
// Set Parameters (None)
CimMethodParametersCollection FaultsParams = new CimMethodParametersCollection();
// Invoke API
CimMethodResult Result = Session.InvokeMethod(Target, "Diagnose", FaultsParams);
IEnumerable<CimInstance> DiagnoseResults =
(IEnumerable<CimInstance>)Result.OutParameters["DiagnoseResults"].Value;
// Unpack
if (DiagnoseResults != null)
{
foreach (CimInstance DiagnoseResult in DiagnoseResults)
{
// TODO: Whatever you want!
}
}
}
// Constructor
public MyFault(CimInstance DiagnoseResult)
{
CimKeyedCollection<CimProperty> Properties = DiagnoseResult.CimInstanceProperties;
FaultId = Properties["FaultId" ].Value.ToString();
Reason = Properties["Reason" ].Value.ToString();
Severity = Properties["PerceivedSeverity" ].Value.ToString();
Description = Properties["FaultingObjectDescription"].Value.ToString();
Location = Properties["FaultingObjectLocation" ].Value.ToString();
}
}
Next, implement an Observer whose OnNext() method will be invoked whenever a new event is generated.
Each event contains ChangeType indicating whether a fault is being created, removed, or updated, and the
relevant FaultId.
In addition, they contain all the properties of the fault itself.
if (SubscriptionResult != null)
{
// Unpack
CimKeyedCollection<CimProperty> Properties = SubscriptionResult.Instance.CimInstanceProperties;
String ChangeType = Properties["ChangeType"].Value.ToString();
String FaultId = Properties["FaultId"].Value.ToString();
// Create
if (ChangeType == "0")
{
Fault MyNewFault = new MyFault(SubscriptionResult.Instance);
// TODO: Whatever you want!
}
// Remove
if (ChangeType == "1")
{
// TODO: Use FaultId to find and delete whatever representation you have...
}
// Update
if (ChangeType == "2")
{
// TODO: Use FaultId to find and modify whatever representation you have...
}
}
}
public void OnError(Exception e)
{
// Handle Exceptions
}
public void OnCompleted()
{
// Nothing
}
}
PROPERTY EXAMPLE
FaultId {12345-12345-12345-12345-12345}
FaultType Microsoft.Health.FaultType.Volume.Capacity
PerceivedSeverity 5
PROPERTY EXAMPLE
ChangeType 0
FaultId {12345-12345-12345-12345-12345}
FaultType Microsoft.Health.FaultType.Volume.Capacity
PerceivedSeverity 5
PROPERTY EXAMPLE
Coverage
In Windows Server 2016, the Health Service provides the following fault coverage:
PhysicalDisk (8)
FaultType: Microsoft.Health.FaultType.PhysicalDisk.FailedMedia
Severity: Warning
Reason: "The physical disk has failed."
RecommendedAction: "Replace the physical disk."
FaultType: Microsoft.Health.FaultType.PhysicalDisk.LostCommunication
Severity: Warning
Reason: "Connectivity has been lost to the physical disk."
RecommendedAction: "Check that the physical disk is working and properly connected."
FaultType: Microsoft.Health.FaultType.PhysicalDisk.Unresponsive
Severity: Warning
Reason: "The physical disk is exhibiting recurring unresponsiveness."
RecommendedAction: "Replace the physical disk."
FaultType: Microsoft.Health.FaultType.PhysicalDisk.PredictiveFailure
Severity: Warning
Reason: "A failure of the physical disk is predicted to occur soon."
RecommendedAction: "Replace the physical disk."
FaultType: Microsoft.Health.FaultType.PhysicalDisk.UnsupportedHardware
Severity: Warning
Reason: "The physical disk is quarantined because it is not supported by your solution vendor."
RecommendedAction: "Replace the physical disk with supported hardware."
FaultType: Microsoft.Health.FaultType.PhysicalDisk.UnsupportedFirmware
Severity: Warning
Reason: "The physical disk is in quarantine because its firmware version is not supported by your solution
vendor."
RecommendedAction: "Update the firmware on the physical disk to the target version."
FaultType: Microsoft.Health.FaultType.PhysicalDisk.UnrecognizedMetadata
Severity: Warning
Reason: "The physical disk has unrecognised meta data."
RecommendedAction: "This disk may contain data from an unknown storage pool. First make sure there is no
useful data on this disk, then reset the disk."
FaultType: Microsoft.Health.FaultType.PhysicalDisk.FailedFirmwareUpdate
Severity: Warning
Reason: "Failed attempt to update firmware on the physical disk."
RecommendedAction: "Try using a different firmware binary."
Virtual Disk (2)
FaultType: Microsoft.Health.FaultType.VirtualDisks.NeedsRepair
Severity: Informational
Reason: "Some data on this volume is not fully resilient. It remains accessible."
RecommendedAction: "Restoring resiliency of the data."
FaultType: Microsoft.Health.FaultType.VirtualDisks.Detached
Severity: Critical
Reason: "The volume is inaccessible. Some data may be lost."
RecommendedAction: "Check the physical and/or network connectivity of all storage devices. You may need to
restore from backup."
Pool Capacity (1)
FaultType: Microsoft.Health.FaultType.StoragePool.InsufficientReserveCapacityFault
Severity: Warning
Reason: "The storage pool does not have the minimum recommended reserve capacity. This may limit your
ability to restore data resiliency in the event of drive failure(s)."
RecommendedAction: "Add additional capacity to the storage pool, or free up capacity. The minimum
recommended reserve varies by deployment, but is approximately 2 drives' worth of capacity."
Volume Capacity (2)1
FaultType: Microsoft.Health.FaultType.Volume.Capacity
Severity: Warning
Reason: "The volume is running out of available space."
RecommendedAction: "Expand the volume or migrate workloads to other volumes."
FaultType: Microsoft.Health.FaultType.Volume.Capacity
Severity: Critical
Reason: "The volume is running out of available space."
RecommendedAction: "Expand the volume or migrate workloads to other volumes."
Server (3)
FaultType: Microsoft.Health.FaultType.Server.Down
Severity: Critical
Reason: "The server cannot be reached."
RecommendedAction: "Start or replace server."
FaultType: Microsoft.Health.FaultType.Server.Isolated
Severity: Critical
Reason: "The server is isolated from the cluster due to connectivity issues."
RecommendedAction: "If isolation persists, check the network(s) or migrate workloads to other nodes."
FaultType: Microsoft.Health.FaultType.Server.Quarantined
Severity: Critical
Reason: "The server is quarantined by the cluster due to recurring failures."
RecommendedAction: "Replace the server or fix the network."
Cluster (1)
FaultType: Microsoft.Health.FaultType.ClusterQuorumWitness.Error
Severity: Critical
Reason: "The cluster is one server failure away from going down."
RecommendedAction: "Check the witness resource, and restart as needed. Start or replace failed servers."
Network Adapter/Interface (4)
FaultType: Microsoft.Health.FaultType.NetworkAdapter.Disconnected
Severity: Warning
Reason: "The network interface has become disconnected."
RecommendedAction: "Reconnect the network cable."
FaultType: Microsoft.Health.FaultType.NetworkInterface.Missing
Severity: Warning
Reason: "The server {server } has missing network adapter (s) connected to cluster network {cluster network}."
RecommendedAction: "Connect the server to the missing cluster network."
FaultType: Microsoft.Health.FaultType.NetworkAdapter.Hardware
Severity: Warning
Reason: "The network interface has had a hardware failure."
RecommendedAction: "Replace the network interface adapter."
FaultType: Microsoft.Health.FaultType.NetworkAdapter.Disabled
Severity: Warning
Reason: "The network interface {network interface} is not enabled and is not being used."
RecommendedAction: "Enable the network interface."
Enclosure (6)
FaultType: Microsoft.Health.FaultType.StorageEnclosure.LostCommunication
Severity: Warning
Reason: "Communication has been lost to the storage enclosure."
RecommendedAction: "Start or replace the storage enclosure."
FaultType: Microsoft.Health.FaultType.StorageEnclosure.FanError
Severity: Warning
Reason: "The fan at position {position} of the storage enclosure has failed."
RecommendedAction: "Replace the fan in the storage enclosure."
FaultType: Microsoft.Health.FaultType.StorageEnclosure.CurrentSensorError
Severity: Warning
Reason: "The current sensor at position {position} of the storage enclosure has failed."
RecommendedAction: "Replace a current sensor in the storage enclosure."
FaultType: Microsoft.Health.FaultType.StorageEnclosure.VoltageSensorError
Severity: Warning
Reason: "The voltage sensor at position {position} of the storage enclosure has failed."
RecommendedAction: "Replace a voltage sensor in the storage enclosure."
FaultType: Microsoft.Health.FaultType.StorageEnclosure.IoControllerError
Severity: Warning
Reason: "The IO controller at position {position} of the storage enclosure has failed."
RecommendedAction: "Replace an IO controller in the storage enclosure."
FaultType: Microsoft.Health.FaultType.StorageEnclosure.TemperatureSensorError
Severity: Warning
Reason: "The temperature sensor at position {position} of the storage enclosure has failed."
RecommendedAction: "Replace a temperature sensor in the storage enclosure."
Firmware Rollout (3)
FaultType: Microsoft.Health.FaultType.FaultDomain.FailedMaintenanceMode
Severity: Warning
Reason: "Currently unable to make progress while performing firmware roll out."
RecommendedAction: "Verify all storage spaces are healthy, and that no fault domain is currently in
maintenance mode."
FaultType: Microsoft.Health.FaultType.FaultDomain.FirmwareVerifyVersionFaile
Severity: Warning
Reason: "Firmware roll out was cancelled due to unreadable or unexpected firmware version information after
applying a firmware update."
RecommendedAction: "Restart firmware roll out once the firmware issue has been resolved."
FaultType: Microsoft.Health.FaultType.FaultDomain.TooManyFailedUpdates
Severity: Warning
Reason: "Firmware roll out was cancelled due to too many physical disks failing a firmware update attempt."
RecommendedAction: "Restart firmware roll out once the firmware issue has been resolved."
Storage QoS (3)2
FaultType: Microsoft.Health.FaultType.StorQos.InsufficientThroughput
Severity: Warning
Reason: "Storage throughput is insufficient to satisfy reserves."
RecommendedAction: "Reconfigure Storage QoS policies."
FaultType: Microsoft.Health.FaultType.StorQos.LostCommunication
Severity: Warning
Reason: "The Storage QoS policy manager has lost communication with the volume."
RecommendedAction: "Please reboot nodes {nodes}"
FaultType: Microsoft.Health.FaultType.StorQos.MisconfiguredFlow
Severity: Warning
Reason: "One or more storage consumers (usually Virtual Machines) are using a non-existent policy with id
{id }."
RecommendedAction: "Recreate any missing Storage QoS policies."
1 Indicates the volume has reached 80% full (minor severity) or 90% full (major severity).
2 Indicates some .vhd(s) on the volume have not met their Minimum IOPS for over 10% (minor), 30% (major), or
50% (critical) of rolling 24-hour window.
NOTE
The health of storage enclosure components such as fans, power supplies, and sensors is derived from SCSI Enclosure
Services (SES). If your vendor does not provide this information, the Health Service cannot display it.
See also
Health Service in Windows Server 2016
Health Service actions
9/27/2019 • 2 minutes to read • Edit Online
The Health Service is a new feature in Windows Server 2016 that improves the day-to-day monitoring and
operational experience for clusters running Storage Spaces Direct.
Actions
The next section describes workflows which are automated by the Health Service. To verify that an action is indeed
being taken autonomously, or to track its progress or outcome, the Health Service generates "Actions". Unlike logs,
Actions disappear shortly after they have completed, and are intended primarily to provide insight into ongoing
activity which may impact performance or capacity (e.g. restoring resiliency or rebalancing data).
Usage
One new PowerShell cmdlet displays all Actions:
Get-StorageHealthAction
Coverage
In Windows Server 2016, the Get-StorageHealthAction cmdlet can return any of the following information:
Retiring failed, lost connectivity, or unresponsive physical disk
Switching storage pool to use replacement physical disk
Restoring full resiliency to data
Rebalancing storage pool
See also
Health Service in Windows Server 2016
Developer documentation, sample code, and API reference on MSDN
Health Service settings
9/27/2019 • 2 minutes to read • Edit Online
The Health Service is a new feature in Windows Server 2016 that improves the day-to-day monitoring and
operational experience for clusters running Storage Spaces Direct.
Many of the parameters which govern the behavior of the Health Service are exposed as settings. You can modify
these to tune the aggressiveness of faults or actions, turn certain behaviors on/off, and more.
Use the following PowerShell cmdlet to set or modify settings.
Usage
Example
Common settings
Some commonly modified settings are listed below, along with their default values.
Volume Capacity Threshold
"System.Storage.Volume.CapacityThreshold.Enabled" = True
"System.Storage.Volume.CapacityThreshold.Warning" = 80
"System.Storage.Volume.CapacityThreshold.Critical" = 90
"System.Storage.StoragePool.CheckPoolReserveCapacity.Enabled" = True
"System.Storage.PhysicalDisk.AutoPool.Enabled" = True
"System.Storage.PhysicalDisk.AutoRetire.OnLostCommunication.Enabled" = True
"System.Storage.PhysicalDisk.AutoRetire.OnUnresponsive.Enabled" = True
"System.Storage.PhysicalDisk.AutoRetire.DelayMs" = 900000 (i.e. 15 minutes)
"System.Storage.PhysicalDisk.Unresponsive.Reset.CountResetIntervalSeconds" = 360 (i.e. 60 minutes)
"System.Storage.PhysicalDisk.Unresponsive.Reset.CountAllowed" = 3
Platform / Quiescence
Metrics
"System.Reports.ReportingPeriodSeconds" = 1
Debugging
"System.LogLevel" = 4
See also
Health Service in Windows Server 2016
Storage Spaces Direct in Windows Server 2016
Failover Cluster domain migration
9/27/2019 • 5 minutes to read • Edit Online
This topic provides an overview for moving Windows Server failover clusters from one domain to another.
WARNING
We recommend that you perform a full backup of all shared storage in the cluster before you move the cluster.
Options
In order to do such a move, there are two options.
The first option involves destroying the cluster and rebuilding it in the new domain.
As the animation shows, this option is destructive with the steps being:
1. Destroy the Cluster.
2. Change the domain membership of the nodes into the new domain.
3. Recreate the Cluster as new in the updated domain. This would entail having to recreate all the resources.
The second option is less destructive but requires additional hardware as a new cluster would need to be built in
the new domain. Once the cluster is in the new domain, run the Cluster Migration Wizard to migrate the resources.
Note that this doesn't migrate data - you'll need to use another tool to migrate data, such as Storage Migration
Service(once cluster support is added).
As the animation shows, this option is not destructive but does require either different hardware or a node from
the existing cluster than has been removed.
1. Create a new clusterin the new domain while still having the old cluster available.
2. Use the Cluster Migration Wizard to migrate all the resources to the new cluster. Reminder, this does not copy
data, so will need to be done separately.
3. Decommission or destroy the old cluster.
In both options, the new cluster would need to have all cluster-aware applications installed, drivers all up-to-date,
and possibly testing to ensure all will run properly. This is a time consuming process if data also needs to be
moved.
4. Use Active Directory Users and Computers to ensure the CNO and VCO computer objects associated with
all clustered names have been removed.
NOTE
It's a good idea to stop the Cluster service on all servers in the cluster and set the service startup type to Manual so
that the Cluster service doesn't start when the servers are restarting while changing domains.
5. Change the servers' domain membership to a workgroup, restart the servers, join the servers to the new
domain, and restart again.
6. Once the servers are in the new domain, sign in to a server with a domain user or administrator account
that has Active Directory permissions to create objects, has access to the Cluster, and open PowerShell. Start
the Cluster Service, and set it back to Automatic.
7. Bring the Cluster Name and all other cluster Network Name resources to an Online state.
8. Change the cluster to be a part of the new domain with associated active directory objects. To do this, the
command is below and the network name resources must be in an online state. What this command will do
is recreate the name objects in Active Directory.
NOTE: If you do not have any additional groups with network names (i.e. a Hyper-V Cluster with only
virtual machines), the -UpgradeVCOs parameter switch is not needed.
9. Use Active Directory Users and Computers to check the new domain and ensure the associated computer
objects were created. If they have, then bring the remaining resources in the groups online.
Known issues
If you are using the new USB witness feature, you will be unable to add the cluster to the new domain. The
reasoning is that the file share witness type must utilize Kerberos for authentication. Change the witness to none
before adding the cluster to the domain. Once it is completed, recreate the USB witness. The error you will see is:
New-ClusternameAccount : Cluster name account cannot be created. This cluster contains a file share witness
with invalid permissions for a cluster of type AdministrativeAccesssPoint ActiveDirectoryAndDns. To proceed,
delete the file share witness. After this you can create the cluster name account and recreate the file share
witness. The new file share witness will be automatically created with valid permissions.
Troubleshooting a Failover Cluster using Windows
Error Reporting
9/27/2019 • 8 minutes to read • Edit Online
Applies to: Windows Server 2019, Windows Server 2016, Windows Server
Windows Error Reporting (WER ) is a flexible event-based feedback infrastructure designed to help advanced
administrators or Tier 3 support gather information about the hardware and software problems that Windows can
detect, report the information to Microsoft, and provide users with any available solutions. This reference provides
descriptions and syntax for all WindowsErrorReporting cmdlets.
The information on troubleshooting presented below will be helpful for troubleshooting advanced issues that have
been escalated and that may require data to be sent to Microsoft for triaging.
PS C:\Windows\system32> (get-cluster).EnabledEventLogs
Microsoft-Windows-Hyper-V-VmSwitch-Diagnostic,4,0xFFFFFFFD
Microsoft-Windows-SMBDirect/Debug,4
Microsoft-Windows-SMBServer/Analytic
Microsoft-Windows-Kernel-LiveDump/Analytic
The EnabledEventLogs property is a multistring, where each string is in the form: channel-name, log-level,
keyword-mask. The keyword-mask can be a hexadecimal (prefix 0x), octal (prefix 0), or decimal number (no
prefix) number. For instance, to add a new event channel to the list and to configure both log-level and keyword-
mask you can run:
(get-cluster).EnabledEventLogs += "Microsoft-Windows-WinINet/Analytic,2,321"
If you want to set the log-level but keep the keyword-mask at its default value, you can use either of the
following commands:
(get-cluster).EnabledEventLogs += "Microsoft-Windows-WinINet/Analytic,2"
(get-cluster).EnabledEventLogs += "Microsoft-Windows-WinINet/Analytic,2,"
If you want to keep the log-level at its default value, but set the keyword-mask you can run the following
command:
(get-cluster).EnabledEventLogs += "Microsoft-Windows-WinINet/Analytic,,0xf1"
If you want to keep both the log-level and the keyword-mask at their default values, you can run any of the
following commands:
(get-cluster).EnabledEventLogs += "Microsoft-Windows-WinINet/Analytic"
(get-cluster).EnabledEventLogs += "Microsoft-Windows-WinINet/Analytic,"
(get-cluster).EnabledEventLogs += "Microsoft-Windows-WinINet/Analytic,,"
These event channels will be enabled on every cluster node when the cluster service starts or whenever the
EnabledEventLogs property is changed.
Gathering Logs
After you have enabled event channels, you can use the DumpLogQuery to gather logs. The public resource type
property DumpLogQuery is a mutistring value. Each string is an XPATH query as described here.
When troubleshooting, if you need to collect additional event channels, you can a modify the DumpLogQuery
property by adding additional queries or modifying the list.
To do this, first test your XPATH query using the get-WinEvent PowerShell cmdlet:
Directory of C:\ProgramData\Microsoft\Windows\WER\ReportQueue
Inside the WER folder, the ReportsArchive folder contains reports that have already been uploaded to Watson.
Data in these reports is deleted, but the Report.wer file persists.
Directory of c:\ProgramData\Microsoft\Windows\WER\ReportArchive
Windows Error Reporting provides many settings to customize the problem reporting experience. For further
information, please refer to the Windows Error Reporting documentation.
PS C:\Windows\system32> dir
C:\ProgramData\Microsoft\Windows\WER\ReportArchive\Critical_PhysicalDisk_b46b8883d892cfa8a26263afca228b17df8133
d_00000000_cab_08abc39c
Next, start triaging from the Report.wer file — this will tell you what failed.
EventType=Failover_clustering_resource_error
<skip>
Sig[0].Name=ResourceType
Sig[0].Value=Physical Disk
Sig[1].Name=CallType
Sig[1].Value=ONLINERESOURCE
Sig[2].Name=RHSCallResult
Sig[2].Value=5018
Sig[3].Name=ApplicationCallResult
Sig[3].Value=999
Sig[4].Name=DumpPolicy
Sig[4].Value=5225058577
DynamicSig[1].Name=OS Version
DynamicSig[1].Value=10.0.17051.2.0.0.400.8
DynamicSig[2].Name=Locale ID
DynamicSig[2].Value=1033
DynamicSig[27].Name=ResourceName
DynamicSig[27].Value=Cluster Disk 10
DynamicSig[28].Name=ReportId
DynamicSig[28].Value=8d06c544-47a4-4396-96ec-af644f45c70a
DynamicSig[29].Name=FailureTime
DynamicSig[29].Value=2017//12//12-22:38:05.485
Since the resource failed to come online, no dumps were collected, but the Windows Error Reporting report did
collect logs. If you open all .evtx files using Microsoft Message Analyzer, you will see all of the information that
was collected using the following queries through the system channel, application channel, failover cluster
diagnostic channels, and a few other generic channels.
Message Analyzer enables you to capture, display, and analyze protocol messaging traffic. It also lets you trace and
assess system events and other messages from Windows components. You can download Microsoft Message
Analyzer from here. When you load the logs into Message Analyzer, you will see the following providers and
messages from the log channels.
You can also group by providers to get the following view:
To identify why the disk failed, navigate to the events under FailoverClustering/Diagnostic and
FailoverClustering/DiagnosticVerbose. Then run the following query: EventLog.EventData["LogString"]
contains "Cluster Disk 10". This will give you give you the following output:
Physical disk timed out
To diagnose this issue, navigate to the WER report folder. The folder contains log files and dump files for RHS,
clussvc.exe, and of the process that hosts the “smphost” service, as shown below:
PS C:\Windows\system32> dir
C:\ProgramData\Microsoft\Windows\WER\ReportArchive\Critical_PhysicalDisk_64acaf7e4590828ae8a3ac3c8b31da9a789586
d4_00000000_cab_1d94712e
EventType=Failover_clustering_resource_timeout_2
<skip>
Sig[0].Name=ResourceType
Sig[0].Value=Physical Disk
Sig[1].Name=CallType
Sig[1].Value=ONLINERESOURCE
Sig[2].Name=DumpPolicy
Sig[2].Value=5225058577
Sig[3].Name=ControlCode
Sig[3].Value=18
DynamicSig[1].Name=OS Version
DynamicSig[1].Value=10.0.17051.2.0.0.400.8
DynamicSig[2].Name=Locale ID
DynamicSig[2].Value=1033
DynamicSig[26].Name=ResourceName
DynamicSig[26].Value=Cluster Disk 10
DynamicSig[27].Name=ReportId
DynamicSig[27].Value=75e60318-50c9-41e4-94d9-fb0f589cd224
DynamicSig[29].Name=HangThreadId
DynamicSig[29].Value=10008
The list of services and processes that we collect in a dump is controlled by the following property: PS
C:\Windows\system32> (Get-ClusterResourceType -Name "Physical Disk").DumpServicesSmphost
To identify why the hang happened, open the dum files. Then run the following query:
EventLog.EventData["LogString"] contains "Cluster Disk 10" This will give you give you the following
output:
We can cross-examine this with the thread from the memory.hdmp file:
# 21 Id: 1d98.2718 Suspend: 0 Teb: 0000000b`f1f7b000 Unfrozen
# Child-SP RetAddr Call Site
00 0000000b`f3c7ec38 00007ff8`455d25ca ntdll!ZwDelayExecution+0x14
01 0000000b`f3c7ec40 00007ff8`2ef19710 KERNELBASE!SleepEx+0x9a
02 0000000b`f3c7ece0 00007ff8`3bdf7fbf clusres!ResHardDiskOnlineOrTurnOffMMThread+0x2b0
03 0000000b`f3c7f960 00007ff8`391eed34 resutils!ClusWorkerStart+0x5f
04 0000000b`f3c7f9d0 00000000`00000000 vfbasics+0xed34
Failover Clustering system log events
1/14/2020 • 65 minutes to read • Edit Online
This topic lists the Failover Clustering events from the Windows Server System log (viewable in Event Viewer).
These events all share the event source of FailoverClustering and can be helpful when troubleshooting a cluster.
Critical events
Event 1000: UNEXPECTED_FATAL_ERROR
Cluster service suffered an unexpected fatal error at line %1 of source module %2. The error code was %3.
Event 1001: ASSERTION_FAILURE
Cluster service failed a validity check on line %1 of source module %2. '%3'
Event 1006: NM_EVENT_MEMBERSHIP_HALT
Cluster service was halted due to incomplete connectivity with other cluster nodes.
Event 1057: DM_DATABASE_CORRUPT_OR_MISSING
The cluster database could not be loaded. The file may be missing or corrupt. Automatic repair might be attempted.
Event 1070: NM_EVENT_BEGIN_JOIN_FAILED
The node failed to join failover cluster '%1' due to error code '%2'.
Event 1073: CS_EVENT_INCONSISTENCY_HALT
The Cluster service was halted to prevent an inconsistency within the failover cluster. The error code was '%1'.
Event 1080: CS_DISKWRITE_FAILURE
The Cluster service failed to update the cluster database (error code '%1'). Possible causes are insufficient disk
space or file system corruption.
Event 1090: CS_EVENT_REG_OPERATION_FAILED
The Cluster service cannot be started. An attempt to read configuration data from the Windows registry failed with
error '%1'. Please use the Failover Cluster Management snap-in to ensure that this machine is a member of a
cluster. If you intend to add this machine to an existing cluster use the Add Node Wizard. Alternatively, if this
machine has been configured as a member of a cluster, it will be necessary to restore the missing configuration
data that is necessary for the Cluster Service to identify that it is a member of a cluster. Perform a System State
Restore of this machine in order to restore the configuration data.
Event 1092: NM_EVENT_MM_FORM_FAILED
Failed to form cluster '%1' with error code '%2'. Failover cluster will not be available.
Event 1093: NM_EVENT_NODE_NOT_MEMBER
The Cluster service cannot identify node '%1' as a member of failover cluster '%2'. If the computer name for this
node was recently changed, consider reverting to the previous name. Alternatively, add the node to the failover
cluster and if necessary, reinstall clustered applications.
Event 1105: CS_EVENT_RPC_INIT_FAILED
The Cluster service failed to start because it was unable to register interface(s) with the RPC service. The error
code was '%1'.
Event 1135: EVENT_NODE_DOWN
Cluster node '%1' was removed from the active failover cluster membership. The Cluster service on this node may
have stopped. This could also be due to the node having lost communication with other active nodes in the failover
cluster. Run the Validate a Configuration wizard to check your network configuration. If the condition persists,
check for hardware or software errors related to the network adapters on this node. Also check for failures in any
other network components to which the node is connected such as hubs, switches, or bridges.
Event 1146: RCM_EVENT_RESMON_DIED
The cluster Resource Hosting Subsystem (RHS ) process was terminated and will be restarted. This is typically
associated with cluster health detection and recovery of a resource. Refer to the System event log to determine
which resource and resource DLL is causing the issue.
Event 1177: MM_EVENT_ARBITRATION_FAILED
The Cluster service is shutting down because quorum was lost. This could be due to the loss of network
connectivity between some or all nodes in the cluster, or a failover of the witness disk.
Run the Validate a Configuration wizard to check your network configuration. If the condition persists, check for
hardware or software errors related to the network adapter. Also check for failures in any other network
components to which the node is connected such as hubs, switches, or bridges.
Event 1181: NETRES_RESOURCE_START_ERROR
Cluster resource '%1' cannot be brought online because the associated service failed to start. The service return
code is '%2'. Please check for additional events associated with the service and ensure the service starts correctly.
Event 1247: CLUSTER_EVENT_INVALID_SERVICE_SID_TYPE
The Security Identifier (SID ) type for the cluster service is configured as '%1' but the expected SID type is
'Unrestricted'. The cluster service is automatically modifying its SID type configuration with the Service Control
Manager (SCM ) and will restart in order for this change to take effect.
Event 1248: CLUSTER_EVENT_SERVICE_SID_MISSING
The Security Identifier (SID ) '%1' associated with the cluster service is not present in the process token. The cluster
service will automatically correct this problem and restart.
Event 1282: SM_EVENT_HANDSHAKE_TIMEOUT
Security Handshake between local and remote endpoints '%2' did not complete in '%1' seconds, node terminating
the connection
Event 1542: SERVICE_PRERESTORE_FAILED
The restore request for the cluster configuration data has failed. This restore failed during the 'pre-restore' stage
usually indicating that some nodes comprising the cluster are not currently operational. Ensure that the cluster
service is running successfully on all nodes comprising this cluster.
Event 1543: SERVICE_POSTRESTORE_FAILED
The restore operation of the cluster configuration data has failed. This restore failed during the 'post-restore' stage
usually indicating that some nodes comprising the cluster are not currently operational. It is recommended that
you replace the current cluster configuration data file (ClusDB ) with '%1'.
Event 1546: SERVICE_FORM_VERSION_INCOMPATIBLE
Node '%1' failed to form a failover cluster. This was due to one or more nodes executing incompatible versions of
the cluster service software. If node '%1' or a different node in the cluster has been recently upgraded, please re-
verify that all nodes are executing compatible versions of the cluster service software.
Event 1547: SERVICE_CONNECT_VERSION_INCOMPATIBLE
Node '%1' attempted to join a failover cluster but failed due to incompatibility between versions of the cluster
service software. If node '%1' or a different node in the cluster has been recently upgraded, please verify that the
changed cluster deployment with different versions of the cluster service software is supported.
Event 1553: SERVICE_NO_NETWORK_CONNECTIVITY
This cluster node has no network connectivity. It cannot participate in the cluster until connectivity is restored. Run
the Validate a Configuration wizard to check your network configuration. If the condition persists, check for
hardware or software errors related to the network adapter. Also check for failures in any other network
components to which the node is connected such as hubs, switches, or bridges.
Event 1554: SERVICE_NETWORK_CONNECTIVITY_LOST
This cluster node has lost all network connectivity. It cannot participate in the cluster until connectivity is restored.
The cluster service on this node will be terminated.
Event 1556: SERVICE_UNHANDLED_EXCEPTION_IN_WORKER_THREAD
The cluster service encountered an unexpected problem and will be shut down. The error code was '%2'.
Event 1561: SERVICE_NONSTORAGE_WITNESS_BETTER_TAG
Cluster service failed to start because this node detected that it does not have the latest copy of cluster
configuration data. Changes to the cluster occurred while this node was not in membership and as a result was not
able to receive configuration data updates.
Guidance
Attempt to start the cluster service on all nodes in the cluster so that nodes with the latest copy of the cluster
configuration data can first form the cluster. This node will then be able join the cluster and will automatically
obtain the updated cluster configuration data. If there are no nodes available with the latest copy of the cluster
configuration data, run the 'Start-ClusterNode -FQ' Windows PowerShell cmdlet. Using the ForceQuorum (FQ )
parameter will start the cluster service and mark this node's copy of the cluster configuration data to be
authoritative. Forcing quorum on a node with an outdated copy of the cluster database may result in cluster
configuration changes that occurred while the node was not participating in the cluster to be lost.
Event 1564: RES_FSW_ARBITRATEFAILURE
File share witness resource '%1' failed to arbitrate for the file share '%2'. Please ensure that file share '%2' exists
and is accessible by the cluster.
Event 1570: SERVICE_CONNECT_AUTHENTICATION_FAILURE
Node '%1' failed to establish a communication session while joining the cluster. This was due to an authentication
failure. Please verify that the nodes are running compatible versions of the cluster service software.
Event 1571: SERVICE_CONNECT_AUTHORIZAION_FAILURE
Node '%1' failed to establish a communication session while joining the cluster. This was due to an authorization
failure. Please verify that the nodes are running compatible versions of the cluster service software.
Event 1572: SERVICE_NETFT_ROUTE_INITIAL_FAILURE
Node '%1' failed to join the cluster because it could not send and receive failure detection network messages with
other cluster nodes. Please run the Validate a Configuration wizard to ensure network settings. Also verify the
Windows Firewall 'Failover Clusters' rules.
Event 1574: DM_DATABASE_UNLOAD_FAILED
The failover cluster database could not be unloaded. If restarting the cluster service does not fix the problem,
please restart the machine.
Event 1575: DM_DATABASE_CORRUPT_OR_MISSING_FIXQUORUM
An attempt to forcibly start the cluster service has failed because the cluster configuration data on this node is
either missing or corrupt. Please first start the cluster service on another node that has an intact and valid copy of
the cluster configuration data. Then, reattempt the start operation on this node (which will attempt to obtain
updated valid configuration information automatically). If no other node is available, please use WBAdmin.msc to
perform a System State Restore of this node in order to restore the configuration data.
Event 1593: DM_COULD_NOT_DISCARD_CHANGES
The failover cluster database could not be unloaded and any potentially incorrect changes in memory could not be
discarded. The cluster service will attempt to repair the database by retrieving it from another cluster node. If the
cluster service does not come online, restart the cluster service on this node. If restarting the cluster service does
not fix the problem, please restart the machine. If the cluster service fails to come online after a reboot, please
restore the cluster database from the last backup. The current database was copied to '%1'. If no backups are
available, please copy '%1' to '%2' and attempt to start the cluster service. If the cluster service then comes online
on this node, some cluster configuration changes may be lost and the cluster may not function properly. Run the
Validate a Configuration wizard to check your cluster configuration and verify that the hosted Services and
Applications are online and functioning correctly.
Event 1672: EVENT_NODE_QUARANTINED
Cluster node '%1' has been quarantined. The node experienced '%2' consecutive failures within a short amount of
time and has been removed from the cluster to avoid further disruptions. The node will be quarantined until '%3'
and then the node will automatically attempt to re-join the cluster.
Refer to the System and Application event logs to determine the issues on this node. When the issue is resolved,
quarantine can be manually cleared to allow the node to rejoin with the 'Start-ClusterNode –ClearQuarantine'
Windows PowerShell cmdlet.
Node Name : %1
Number of consecutive cluster membership loses: %2
Time quarantine will be automatically cleared: %3
Error events
Event 1024: CP_REG_CKPT_RESTORE_FAILED
The registry checkpoint for cluster resource '%1' could not be restored to registry key
HKEY_LOCAL_MACHINE\%2. The resource may not function correctly. Make sure that no other processes have
open handles to registry keys in this registry subtree.
Event 1034: RES_DISK_MISSING
Cluster physical disk resource '%1' cannot be brought online because the associated disk could not be found. The
expected signature of the disk was '%2'. If the disk was replaced or restored, in the Failover Cluster Manager snap-
in, you can use the Repair function (in the properties sheet for the disk) to repair the new or restored disk. If the
disk will not be replaced, delete the associated disk resource.
Event 1035: RES_DISK_MOUNT_FAILED
While disk resource '%1' was being brought online, access to one or more volumes failed with error '%2'. Run the
Validate a Configuration wizard to check your storage configuration. Optionally you may want to run Chkdsk to
verify the integrity of all volumes on this disk.
Event 1037: RES_DISK_FILESYSTEM_FAILED
The file system for one or more partitions on the disk for resource '%1' may be corrupt. Run the Validate a
Configuration wizard to check your storage configuration. Optionally, you may want to run Chkdsk to verify the
integrity of all volumes on this disk.
Event 1038: RES_DISK_RESERVATION_LOST
Ownership of cluster disk '%1' has been unexpectedly lost by this node. Run the Validate a Configuration wizard to
check your storage configuration.
Event 1039: RES_GENAPP_CREATE_FAILED
Generic application '%1' could not be brought online (with error '%2') during an attempt to create the process.
Possible causes include: the application may not be present on this node, the path name may have been specified
incorrectly, the binary name may have been specified incorrectly.
Event 1040: RES_GENSVC_OPEN_FAILED
Generic service '%1' could not be brought online (with error '%2') during an attempt to open the service. Possible
causes include: the service is either not installed or the specified service name is invalid.
Event 1041: RES_GENSVC_START_FAILED
Generic service '%1' could not be brought online (with error '%2') during an attempt to start the service. Possible
cause: the specified service parameters might be invalid.
Event 1042: RES_GENSVC_FAILED_AFTER_START
Generic service '%1' failed with error '%2'. Please examine the application event log.
Event 1044: RES_IPADDR_NBT_INTERFACE_CREATE_FAILED
Encountered a failure when attempting to create a new NetBIOS interface while bringing resource '%1' online
(error code '%2'). The maximum number of NetBIOS names may have been exceeded.
Event 1046: RES_IPADDR_INVALID_SUBNET
Cluster IP address resource '%1' cannot be brought online because the subnet mask value is invalid. Please check
your IP address resource properties.
Event 1047: RES_IPADDR_INVALID_ADDRESS
Cluster IP address resource '%1' cannot be brought online because the address value is invalid. Please check your
IP address resource properties.
Event 1048: RES_IPADDR_INVALID_ADAPTER
Cluster IP address resource '%1' failed to come online. Configuration data for the network adapter corresponding
to cluster network interface '%2' could not be determined (error code was '%3'). Please check that the IP address
resource is configured with the correct address and network properties.
Event 1049: RES_IPADDR_IN_USE
Cluster IP address resource '%1' cannot be brought online because a duplicate IP address '%2' was detected on the
network. Please ensure all IP addresses are unique.
Event 1050: RES_NETNAME_DUPLICATE
Cluster network name resource '%1' cannot be brought online because name '%2' matches this cluster node name.
Ensure that network names are unique.
Event 1051: RES_NETNAME_NO_IP_ADDRESS
Cluster network name resource '%1' cannot be brought online. Ensure that the network adapters for dependent IP
address resources have access to at least one DNS server. Alternatively, enable NetBIOS for dependent IP
addresses.
Event 1052: RES_NETNAME_CANT_ADD_NAME_STATUS
Cluster Network Name resource '%1' cannot be brought online because the name could not be added to the
system. The associated error code is stored in the data section.
Event 1053: RES_SMB_CANT_CREATE_SHARE
Cluster File Share '%1' cannot be brought online because the share could not be created.
Event 1054: RES_SMB_SHARE_NOT_FOUND
Health check for file share resource '%1' failed. Retrieving information for share '%2' (scoped to network name %3)
returned error code '%4'. Ensure the share exists and is accessible.
Event 1055: RES_SMB_SHARE_FAILED
Health check for file share resource '%1' failed. Retrieving information for share '%2' (scoped to network name %3)
indicated that the share does not exist (error code '%4'). Please ensure the share exists and is accessible.
Event 1069: RCM_RESOURCE_FAILURE
Cluster resource '%1' in clustered role '%2' failed.
Event 1069: RCM_RESOURCE_FAILURE_WITH_TYPENAME
Cluster resource '%1' of type '%3' in clustered role '%2' failed.
Based on the failure policies for the resource and role, the cluster service may try to bring the resource online on
this node or move the group to another node of the cluster and then restart it. Check the resource and group state
using Failover Cluster Manager or the Get-ClusterResource Windows PowerShell cmdlet.
Event 1069: RCM_RESOURCE_FAILURE_WITH_CAUSE
Cluster resource '%1' of type '%3' in clustered role '%2' failed. The error code was '%5' ('%4').
Based on the failure policies for the resource and role, the cluster service may try to bring the resource online on
this node or move the group to another node of the cluster and then restart it. Check the resource and group state
using Failover Cluster Manager or the Get-ClusterResource Windows PowerShell cmdlet.
Event 1069: RCM_RESOURCE_FAILURE_WITH_ERROR_CODE
Cluster resource '%1' of type '%3' in clustered role '%2' failed. The error code was '%4'.
Based on the failure policies for the resource and role, the cluster service may try to bring the resource online on
this node or move the group to another node of the cluster and then restart it. Check the resource and group state
using Failover Cluster Manager or the Get-ClusterResource Windows PowerShell cmdlet.
Event 1069: RCM_RESOURCE_FAILURE_DUE_TO_VETO
Cluster resource '%1' of type '%3' in clustered role '%2' failed due to an attempt to block a required state change in
that cluster resource.
Event 1077: RES_IPADDR_IPV4_ADDRESS_INTERFACE_FAILED
Health check for IP interface '%1' (address '%2') failed (status is '%3'). Run the Validate a Configuration wizard to
ensure that the network adapter is functioning properly.
Event 1078: RES_IPADDR_WINS_ADDRESS_FAILED
Cluster IP address resource '%1' cannot be brought online because WINS registration failed on interface '%2' with
error '%3'. Ensure that a valid, accessible WINS server has been specified.
Event 1121: CP_CRYPTO_CKPT_RESTORE_FAILED
Encrypted settings for cluster resource '%1' could not be successfully applied to the container name '%2' on this
node.
Event 1127: TM_EVENT_CLUSTER_NETINTERFACE_FAILED
Cluster network interface '%1' for cluster node '%2' on network '%3' failed. Run the Validate a Configuration
wizard to check your network configuration. If the condition persists, check for hardware or software errors related
to the network adapter. Also check for failures in any other network components to which the node is connected
such as hubs, switches, or bridges.
Event 1129: TM_EVENT_CLUSTER_NETWORK_PARTITIONED
Cluster network '%1' is partitioned. Some attached failover cluster nodes cannot communicate with each other
over the network. The failover cluster was not able to determine the location of the failure. Run the Validate a
Configuration wizard to check your network configuration. If the condition persists, check for hardware or software
errors related to the network adapter. Also check for failures in any other network components to which the node is
connected such as hubs, switches, or bridges.
Event 1130: TM_EVENT_CLUSTER_NETWORK_DOWN
Cluster network '%1' is down. None of the available nodes can communicate using this network. Run the Validate a
Configuration wizard to check your network configuration. If the condition persists, check for hardware or software
errors related to the network adapter. Also check for failures in any other network components to which the node is
connected such as hubs, switches, or bridges.
Event 1137: RCM_DRAIN_MOVE_FAILED
Move of cluster role '%1' for drain could not be completed. The operation failed with error code %2.
Event 1138: RES_SMB_CANT_CREATE_DFS_ROOT
Cluster file share resource '%1' cannot be brought online. Creation of DFS namespace root failed with error '%3'.
This may be due to failure to start the 'DFS Namespace' service or failure to create the DFS -N root for share '%2'.
Event 1141: RES_SMB_CANT_INIT_DFS_SVC
Cluster file share resource '%1' cannot be brought online. Resynchronization of DFS root target '%2' failed with
error '%3'.
Event 1142: RES_SMB_CANT_ONLINE_DFS_ROOT
Cluster file share resource '%1' for DFS Namespace cannot be brought online due to error '%2'.
Event 1182: NETRES_RESOURCE_STOP_ERROR
Cluster resource '%1' cannot be brought online because the associated service failed an attempted restart. The
error code is '%2'. The service required a restart in order to update parameters. However, the service failed before
it could be stopped and restarted. Please check for additional events associated with the service and ensure the
service is functioning correctly.
Event 1183: RES_DISK_INVALID_MP_SOURCE_NOT_CLUSTERED
Cluster disk resource '%1' contains an invalid mount point. Both the source and target disks associated with the
mount point must be clustered disks, and must be members of the same group.
Mount point '%2' for volume '%3' references an invalid source disk. Please ensure that the source disk is also a
clustered disk and in the same group as the target disk (hosting the mount point).
Event 1191: RES_NETNAME_DELETE_COMPUTER_ACCOUNT_FAILED_STATUS
Cluster network name resource '%1' failed to delete its associated computer object in domain '%2'. The error code
was '%3'.
Please have a domain administrator manually delete the computer object from the Active Directory domain.
Event 1192: RES_NETNAME_DELETE_COMPUTER_ACCOUNT_FAILED
Cluster network name resource '%1' failed to delete its associated computer object in domain '%2' for the
following reason:
%3.
Please have a domain administrator manually delete the computer object from the Active Directory domain.
Event 1193: RES_NETNAME_ADD_COMPUTER_ACCOUNT_FAILED_STATUS
Cluster network name resource '%1' failed to create its associated computer object in domain '%2' for the
following reason: %3.
Ensure that the network adapters associated with dependent IP address resources are configured with at least one
accessible DNS server.
Event 1205: RCM_EVENT_GROUP_FAILED_ONLINE_OFFLINE
The Cluster service failed to bring clustered role '%1' completely online or offline. One or more resources may be
in a failed state. This may impact the availability of the clustered role.
Event 1206: RES_NETNAME_UPDATE_COMPUTER_ACCOUNT_FAILED_STATUS
The computer object associated with the cluster network name resource '%1' could not be updated in domain '%2'.
The error code was '%3'. The cluster identity '%4' may lack permissions required to update the object. Please work
with your domain administrator to ensure that the cluster identity can update computer objects in the domain.
Event 1207: RES_NETNAME_UPDATE_COMPUTER_ACCOUNT_FAILED
The computer object associated with the cluster network name resource '%1' could not be updated in domain '%2'
during the
%3 operation.
The cluster identity '%5' may lack permissions required to update the object. Please work with your domain
administrator to ensure that the cluster identity can update computer objects in the domain.
Event 1208: RES_DISK_INVALID_MP_TARGET_NOT_CLUSTERED
Cluster disk resource '%1' contains an invalid mount point. Both the source and target disks associated with the
mount point must be clustered disks, and must be members of the same group.
Mount point '%2' for volume '%3' references an invalid target disk. Please ensure that the target disk is also a
clustered disk and in the same group as the source disk (hosting the mount point).
Event 1211: RES_NETNAME_NO_WRITEABLE_DC_STATUS
Cluster network name resource '%1' cannot be brought online. Attempt to locate a writeable domain controller (in
domain %2) in order to create or update a computer object associated with the resource failed. The error code was
'%3'. Ensure that a writeable domain controller is accessible to this node within the configured domain. Also ensure
that the DNS server is running in order to resolve the name of the domain controller.
Event 1212: RES_NETNAME_NO_WRITEABLE_DC
Cluster network name resource '%1' cannot be brought online. Attempt to locate a writeable domain controller (in
domain %2) in order to create or update a computer object associated with the resource failed for the following
reason:
%3.
The error code was '%4'. Ensure that a writeable domain controller is accessible to this node within the configured
domain. Also ensure that the DNS server is running in order to resolve the name of the domain controller.
Event 1213: RES_NETNAME_RENAME_RESTORE_FAILED
Cluster network name resource '%1' could not completely rename the associated computer object on domain
controller '%2'. Attempting to rename the computer object from new name '%3' back to its original name '%4' has
also failed. The error code was '%5'. This may affect client connectivity until the network name and its associated
computer object name are consistent. Contact your domain administrator to manually rename the computer
object.
Event 1214: RES_NETNAME_CANT_ADD_NAME2
Cluster Network Name resource cannot be registered with Netbios.
Run nbtstat for the network name to ensure that the name is not already registered with Netbios.
Event 1215: RES_NETNAME_NOT_REGISTERED_WITH_RDR
Cluster network name resource '%1' failed a health check. Network name '%2' is no longer registered on this node.
The error code was '%3'. Check for hardware or software errors related to the network adapter. Also, you can run
the Validate a Configuration wizard to check your network configuration.
Event 1218: RES_NETNAME_ONLINE_RENAME_RECOVERY_MISSING_ACCOUNT
Cluster network name resource '%1' failed to perform a name change operation (attempting to change original
name '%3' to name '%4'). The computer object could not be found on the domain controller '%2' (where it was
created). An attempt will be made to recreate the computer object the next time the resource is brought online.
Additionally, please work with your domain administrator to ensure that the computer object exists in the domain.
Event 1219: RES_NETNAME_ONLINE_RENAME_DC_NOT_FOUND
Cluster network name resource '%1' failed to perform a name change operation. The domain controller '%2' where
computer object '%3' was being renamed, could not be contacted. The error code was '%4'. Ensure a writeable
domain controller is accessible and check for any connectivity issue.
Event 1220: RES_NETNAME_ONLINE_RENAME_RECOVERY_FAILED
The computer account for resource '%1' failed to be renamed from %2 to %3 using Domain Controller %4. The
associated error code is stored in the data section.
The computer account for this resource was in the process of being renamed and did not complete. This was
detected during the online process for this resource. In order to recover, the computer account must be renamed to
the current value of the Name property, i.e., the name presented on the network.
The Domain Controller where the renamed was attempted might not be available; if this is the case, wait for the
Domain Controller to be available again. The Domain Controller could be denying access to the account; after
resolving access, try to bring the name online again.
If this is not possible, disable and re-enable Kerberos Authentication and an attempt will be made to find the
computer account on a different DC. You need to change the Name property to %2 in order to use the existing
computer account.
Event 1223: RES_IPADDR_INVALID_NETWORK_ROLE
Cluster IP address resource '%1' cannot be brought online because the cluster network '%2' is not configured to
allow client access. Please use the Failover Cluster Manager snap-in to check the configured properties of the
cluster network.
Event 1226: RES_NETNAME_TCB_NOT_HELD
Network Name resource '%1' (with associated network name '%2') has Kerberos Authentication support enabled.
Failed to add required credentials to the LSA - the associated error code '%3' indicates insufficient privileges
normally required for this operation. The required privilege is 'Trusted Computing Base' and must be locally
enabled on each node comprising the cluster.
Event 1227: RES_NETNAME_LSA_ERROR
Network Name resource '%1' (with associated network name '%2') has Kerberos Authentication support enabled.
Failed to add required credentials to the LSA - the associated error code is '%3'.
Event 1228: RES_NETNAME_CLONE_FAILURE
Cluster network name resource '%1' encountered an error enabling the network name on this node. The reason for
the failure was:
'%2'.
You may take the network name resource offline and online again to retry.
Event 1229: RES_NETNAME_NO_IPS_FOR_DNS
Cluster network name resource '%1' was unable to identify any IP addresses to register with a DNS server. Ensure
that there is one or more networks that are enabled for cluster use with the 'Allow clients to connect through this
network' setting, and that each node has a valid IP address configured for the networks.
Event 1230: RCM_DEADLOCK_OR_CRASH_DETECTED
A component on the server did not respond in a timely fashion. This caused the cluster resource '%1' (resource
type '%2', DLL '%3') to exceed its time-out threshold. As part of cluster health detection, recovery actions will be
taken. The cluster will try to automatically recover by terminating and restarting the Resource Hosting Subsystem
(RHS ) process that is running this resource. Verify that the underlying infrastructure (such as storage, networking,
or services) that are associated with the resource are functioning correctly.
Event 1230: RCM_RESOURCE_CONTROL_DEADLOCK_DETECTED
A component on the server did not respond in a timely fashion. This caused the cluster resource '%1' (resource
type '%2', DLL '%3') to exceed its time-out threshold while processing control code '%4;'. As part of cluster health
detection, recovery actions will be taken. The cluster will try to automatically recover by terminating and restarting
the Resource Hosting Subsystem (RHS ) process that is running this resource. Verify that the underlying
infrastructure (such as storage, networking, or services) that are associated with the resource are functioning
correctly.
Event 1231: RES_NETNAME_LOGON_FAILURE
Cluster network name resource '%1' encountered an error logging on to the domain. The reason for the failure
was:
'%2'.
Ensure that a domain controller is accessible to this node within the configured domain.
Event 1232: RES_GENSCRIPT_TIMEOUT
Entry point '%2' in cluster generic script resource '%1' did not complete execution in a timely manner. This could be
due to an infinite loop or other issues possibly resulting in an infinite wait. Alternatively, the specified pending
timeout value may be too short for this resource. Please review the '%2' script entry point to ensure all possible
infinite waits in the script code have been corrected. Then, consider increasing the pending timeout value if deemed
necessary.
Event 1233: RES_GENSCRIPT_HANGMODE
Cluster generic script resource '%1': request to perform the '%2' operation will not be processed. This is due to a
previously failed attempt to execute the '%3' entry point in a timely fashion. Please review the script code for this
entry point to ensure there does not exist any infinite loop or other issues possibly resulting in an infinite wait.
Then, consider increasing the resource pending timeout value if deemed necessary.
Event 1234: CLUSTER_EVENT_ACCOUNT_MISSING_PRIVS
The Cluster service has detected that its service account is missing one or more of the required privileges. The
missing privilege list is: '%1' and is not currently granted to the service account. Use the 'sc.exe qprivs clussvc' to
verify the privileges of the Cluster service (ClusSvc). Additionally check for any security policies or group policies in
Active Directory Domain Services that may have altered the default privileges. Type the following command to
grant the Cluster service the necessary privileges to function correctly:
sc.exe privs
clussvc
SeBackupPrivilege/SeRestorePrivilege/SeIncreaseQuotaPrivilege/SeIncreaseBasePriorityPrivilege/SeTcbPrivilege/Se
DebugPrivilege/SeSecurityPrivilege/SeAuditPrivilege/SeImpersonatePrivilege/SeChangeNotifyPrivilege/SeIncreaseWo
rkingSetPrivilege/SeManageVolumePrivilege/SeCreateSymbolicLinkPrivilege/SeLoadDriverPrivilege
Ensure that cluster name object (CNO ) is granted permissions to the Secure DNS Zone.
Event 1258: RES_NETNAME_DNS_REGISTRATION_FAILED_TIMEOUT
Cluster network name resource failed registration of one or more associated DNS name(s) because the a DNS
server could not be reached.
Ensure that the network adapters associated with dependent IP address resources are configured with at least one
accessible DNS server.
Event 1259: RES_NETNAME_DNS_REGISTRATION_FAILED_CLEANUP
Cluster network name resource failed registration of one or more associated DNS name(s) because the cluster
service failed clean up the existing records corresponding to the network name.
Ensure that cluster name object (CNO ) is granted permissions to the Secure DNS Zone.
Event 1260: RES_NETNAME_DNS_REGISTRATION_MODIFY_FAILED
Cluster network name resource failed to modify the DNS registration.
Cluster Network name: '%1'
Error code: '%2'
Guidance
Ensure that the network adapters associated with dependent IP address resources are configured with access to at
least one DNS server.
Event 1261: RES_NETNAME_DNS_REGISTRATION_MODIFY_FAILED_STATUS
Cluster network name resource failed to modify the DNS registration.
Cluster resource: %1
Guidance
The storage account's access key may no longer be valid. Use the Configure Cluster Quorum Wizard in the
Failover Cluster Manager or the Set-ClusterQuorum Windows PowerShell cmdlet, to configure the Cloud witness
resource with the updated storage account access key.
Event 1573: SERVICE_FORM_WITNESS_FAILED
Node '%1' failed to form a cluster. This was because the witness was not accessible. Please ensure that the witness
resource is online and available.
Event 1580: RES_NETNAME_DNS_REGISTRATION_SECURE_ZONE_FAILED
Cluster network name resource '%1' failed to register the name '%2' over adapter '%4' in a secure DNS zone. This
was due to an existing record with this name and the cluster identity does not have the sufficient privileges to
update that record. The error code was '%3'. Please contact your DNS server administrator to verify the cluster
identity has permissions on DNS record '%2'.
Event 1580: RES_NETNAME_DNS_REGISTRATION_SECURE_ZONE_FAILED
Cluster network name resource '%1' failed to register the name '%2' over adapter '%4' in a secure DNS zone. This
was due to an existing record with this name and the cluster identity does not have the sufficient privileges to
update that record. The error code was '%3'. Please contact your DNS server administrator to verify the cluster
identity has permissions on DNS record '%2'.
Event 1585: RES_FILESERVER_FSCHECK_SRVSVC_STOPPED
Cluster file server resource '%1' failed a health check. This was due to the Server service not being started. Please
use Server Manager to confirm the state of the Server service on this cluster node.
Event 1586: RES_FILESERVER_FSCHECK_SCOPED_NAME_NOT_REGISTERED
Cluster file server resource '%1' failed a health check. This was because some of its shared folders were
inaccessible. Verify that the folders are accessible from clients. Additionally, confirm the state of the Server service
on this cluster node using Server Manager and look for other events related to the Server service on this cluster
node. It may be necessary to restart the network name resource '%2' in this clustered role.
Event 1587: RES_FILESERVER_FSCHECK_FAILED
Cluster file server resource '%1' failed a health check. This was because some of its shared folders were
inaccessible. Verify that the folders are accessible from clients. Additionally, confirm the state of the Server service
on this cluster node using Server Manager and look for other events related to the Server service on this cluster
node.
Event 1588: RES_FILESERVER_SHARE_CANT_ADD
Cluster file server resource '%1' cannot be brought online. The resource failed to create file share '%2' associated
with network name '%3'. The error code was '%4'. Verify that the folders exist and are accessible. Additionally,
confirm the state of the Server service on this cluster node using Server Manager and look for other related events
on this cluster node. It may be necessary to restart the network name resource '%3' in this clustered role.
Event 1600: CLUSAPI_CREATE_CANNOT_SET_AD_DACL
Cluster service failed to set the permissions on the cluster computer object '%1'. Please contact your network
administrator to check the cluster security descriptor of the computer object in Active Directory, verify that the
DACL is not too big, and remove any unnecessary extra ACE (s) on the object if necessary.
Event 1603: RES_FILESERVER_CLONE_FAILED
File Server could not start because expected dependency on 'Network Name' resource was not found or it was not
configured properly. Error=0x%2.
Event 1606: RES_DISK_CNO_CHECK_FAILED
Cluster disk resource '%1' contains a BitLocker-protected volume, '%2', but for this volume, the Active Directory
cluster name account (also called the cluster name object or CNO ) is not a BitLocker protector for the volume. This
is required for BitLocker-protected volumes. To correct this, first remove the disk from the cluster. Next, use the
Manage-bde.exe command-line tool to add the cluster name as an ADAccountOrGroup protector, using the format
domain\ClusterName$ for the cluster name. Then add the disk back to the cluster. For more information, see the
documentation for Manage-bde.exe
Event 1607: RES_DISK_CNO_UNLOCK_FAILED
Cluster disk resource '%1' was unable to unlock the BitLocker-protected volume '%2'. The cluster name object
(CNO ) is not set to be a valid BitLocker protector for this volume. To correct this, remove the disk from the cluster.
Then use the Manage-bde.exe command-line tool to add the cluster name as an ADAccountOrGroup protector,
using the format domain\ClusterName$, and add the disk back to the cluster. For more information, see the
documentation for Manage-bde.exe.
Event 1608: RES_FILESERVER_LEADER_FAILED
File Server could not start because expected dependency on 'Network Name' resource was not found or it was not
configured properly. Error=0x%2.
Event 1609: RES_SODA_FILESERVER_LEADER_FAILED
Scale Out File Server could not start because expected dependency on 'Distributed Network Name' resource was
not found or it was not configured properly. Error=0x%2.
Event 1632: CLUSAPI_CREATE_MISMATCHED_OU
The creation of the cluster failed. Unable to create the cluster name object '%1' in active directory organizational
unit '%2'. The object already exists in organizational unit '%3'. Verify that the specified distinguished name path
and the cluster name object are correct. If the distinguished name path is not specified, the existing computer
object '%1' will be used.
Event 1652: SERVICE_TCP_CONNECTION_FAILURE
Cluster node '%1' failed to join the cluster. A TCP connection could not be established to node(s) '%2'. Verify
network connectivity and configuration of any network firewalls.
Event 1652: SERVICE_UDP_CONNECTION_FAILURE
Cluster node '%1' failed to join the cluster. A UDP connection could not be established to node(s) '%2'. Verify
network connectivity and configuration of any network firewalls.
Event 1652: SERVICE_VIRTUAL_TCP_CONNECTION_FAILURE
Cluster node '%1' failed to join the cluster. A TCP connection using the Microsoft Failover Cluster Virtual Adapter
could not be established to node(s) '%2'. Verify network connectivity and configuration of any network firewalls.
Event 1653: SERVICE_NO_CONNECTIVITY
Cluster node '%1' failed to join the cluster because it could not communicate over the network with any other node
in the cluster. Verify network connectivity and configuration of any network firewalls.
Event 1654: RES_VIPADDR_INVALID_ADAPTERNAME
Cluster Disjoint IP address resource '%1' failed to come online. Configuration data for the network adapter
corresponding to network adapter '%2' could not be determined (error code was '%3'). Check that the IP address
resource is configured with the correct address and network properties.
Event 1655: RES_VIPADDR_INVALID_VSID
Cluster Disjoint IP address resource '%1' failed to come online. Configuration data for the network adapter
corresponding to Virtual Subnet Id '%2' and Routing Domain Id '%3' could not be determined (error code was
'%4'). Check that the IP address resource is configured with the correct address and network properties.
Event 1656: RES_VIPADDR_ADDRESS_CREATE_FAILED
Failed to add the IP Address '%2' for Disjoint IP address resource '%1' (error code was '%3'). Check for hardware
or software errors related to the physical or virtual network adapters.
Event 1664: CLUSTER_UPGRADE_INCOMPLETE
Upgrading the functional level of the cluster failed. Check that all nodes of the cluster are currently running and are
the same version of Windows Server, then run the Update-ClusterFunctionalLevel Windows PowerShell cmdlet
again.
Event 1676: EVENT_LOCAL_NODE_QUARANTINED
Local cluster node has been quarantined by '%1'. The node will be quarantined until '%2' and then the node will
automatically attempt to re-join the cluster.
Refer to the System and Application event logs to determine the issues on this node. When the issue is resolved,
quarantine can be manually cleared to allow the node to rejoin with the 'Start-ClusterNode –ClearQuarantine'
Windows PowerShell cmdlet.
QuarantineType : Quarantined by %1
Time quarantine will be automatically cleared: %2
Event 1677: EVENT_NODE_DRAIN_FAILED
Node drain failed on Cluster node %1.
Reference the node's System and Application event logs and cluster logs to investigate the cause of the drain
failure. When the problem is resolved, you can retry the drain operation.
Event 1683: RES_NETNAME_COMPUTER_ACCOUNT_NO_DC
The cluster service was unable to reach any available domain controller on the domain. This may impact
functionality that is dependent on Cluster network name authentication.
DC Server: %1
Guidance
Verify that domain controllers are accessible on the network to the cluster nodes.
Event 1684: RES_NETNAME_COMPUTER_OBJECT_VCO_NOT_FOUND
Cluster network name resource failed to find the associated computer object in Active Directory. This may impact
functionality that is dependent on Cluster network name authentication.
Network Name: %1
Organizational Unit: %2
Guidance
Restore the computer object for the network name from the Active Directory recycle bin. Alternately, offline the
cluster network name resource and run the Repair action to recreate the computer object in Active Directory.
Event 1685: RES_NETNAME_COMPUTER_OBJECT_CNO_NOT_FOUND
Cluster network name resource failed to find the associated computer object in Active Directory. This may impact
functionality that is dependent on Cluster network name authentication.
Network Name: %1
Organizational Unit: %2
Guidance
Restore the computer object for the network name from the Active Directory recycle bin.
Event 1686: RES_NETNAME_COMPUTER_OBJECT_VCO_DISABLED
Cluster network name resource found the associated computer object in Active Directory to be disabled. This may
impact functionality that is dependent on Cluster network name authentication.
Network Name: %1
Organizational Unit: %2
Guidance
Enable the computer object for the network name in Active Directory.
Event 1687: RES_NETNAME_COMPUTER_OBJECT_CNO_DISABLED
Cluster network name resource found the associated computer object in Active Directory to be disabled. This may
impact functionality that is dependent on Cluster network name authentication.
Network Name: %1
Organizational Unit: %2
Guidance
Enable the computer object for the network name in Active Directory. Alternately, offline the cluster network name
resource and run the Repair action to enable the computer object in Active Directory.
Event 1688: RES_NETNAME_COMPUTER_OBJECT_FAILED
Cluster network name resource detected that the associated computer object in Active Directory was disabled and
failed in its attempt to enable it. This may impact functionality that is dependent on Cluster network name
authentication.
Network Name: %1
Organizational Unit: %2
Guidance
Enable the computer object for the network name in Active Directory.
Event 4608: NODECLEANUP_GET_CLUSTERED_DISKS_FAILED
Cluster service failed to retrieve the list of clustered disks while destroying the cluster. The error code was '%1'. If
these disks are not accessible, execute the 'Clear-ClusterDiskReservation' PowerShell cmdlet.
Event 4611: NODECLEANUP_RELEASE_CLUSTERED_DISKS_FROM_PARTMGR_FAILED
Clustered disk with ID '%2' was not released by the Partition Manager while destroying the cluster. The error code
was '%1'. Restarting the machine will ensure the disk is released by the Partition Manager.
Event 4613: NODECLEANUP_CLEAR_CLUSDISK_DATABASE_FAILED
The cluster service failed to properly cleanup a clustered disk with ID '%2' while destroying the cluster. The error
code was '%1'. You may unable to access this disk until cleanup has been successfully completed. For manual
cleanup, delete the 'AttachedDisks' value of the
'HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ClusDisk\Parameters' key in the Windows
registry.
Event 4615: NODECLEANUP_DISABLE_CLUSTER_SERVICE_FAILED
The cluster service has been stopped and set as disabled as part of cluster node cleanup.
Event 4616: NODECLEANUP_DISABLE_CLUSTER_SERVICE_TIMEOUT
Termination of the cluster service during cluster node cleanup has not completed within the expected time period.
Please restart this machine to ensure the cluster service is no longer running.
Event 4618: NODECLEANUP_RESET_CLUSTER_REGISTRY_ENTRIES_FAILED
Resetting cluster service registry entries during cluster node cleanup failed. The error code was '%1'. You may be
unable to create or join a cluster with this machine until cleanup has been successfully completed. For manual
cleanup, execute the 'Clear-ClusterNode' PowerShell cmdlet on this machine.
Event 4620: NODECLEANUP_UNLOAD_CLUSTER_HIVE_FAILED
Unloading the cluster service registry hive during cluster node cleanup failed. The error code was '%1'. You may be
unable to create or join a cluster with this machine until cleanup has been successfully completed. For manual
cleanup, execute the 'Clear-ClusterNode' PowerShell cmdlet on this machine.
Event 4622: NODECLEANUP_ERRORS
The Cluster service encountered an error during node cleanup. You may be unable to create or join a cluster with
this machine until cleanup has been successfully completed. Use the 'Clear-ClusterNode' PowerShell cmdlet on
this node.
Event 4624: NODECLEANUP_RESET_NLBSFLAGS_FAILED
Resetting the IPSec security association timeout registry value failed during cluster node cleanup. The error code
was '%1'. For manual cleanup, execute the 'Clear-ClusterNode' PowerShell cmdlet on this machine. Alternatively,
you may reset the IPSec security association timeout by deleting the '%2' value and the '%3' value from
HKEY_LOCAL_MACHINE in the Windows registry.
Event 4627: NODECLEANUP_DELETE_CLUSTER_TASKS_FAILED
Deletion of clustered tasks during node cleanup failed. The error code was '%1'. Use Windows Task Scheduler to
delete any remaining clustered tasks.
Event 4629: NODECLEANUP_DELETE_LOCAL_ACCOUNT_FAILED
During node cleanup, the local user account that is managed by the cluster was not deleted. The error code was
'%1'. Open Local Users and Groups (lusrmgr.msc) to delete the account.
Event 4864: RES_VSSTASK_OPEN_FAILED
Volume shadow copy service task resource '%1' creation failed. The error code was '%2'.
Event 4865: RES_VSSTASK_TERMINATE_TASK_FAILED
Volume shadow copy service task resource '%1' failed. The error code was '%2'. This is because the associated task
could not be stopped as part of an offline operation. You may need to stop it manually using the Task Scheduler
snapin.
Event 4866: RES_VSSTASK_DELETE_TASK_FAILED
Volume shadow copy service task resource '%1' failed. The error code was '%2'. This is because the associated task
could not be deleted as part of an offline operation. You may need to delete it manually using the Task Scheduler
snapin.
Event 4867: RES_VSSTASK_ONLINE_FAILED
Volume shadow copy service task resource '%1' failed. The error code was '%2'. This is because the associated task
could not be added as part of an online operation. Please use the Task Scheduler snapin to ensure your tasks are
properly configured.
Event 4868: UNABLE_TO_START_AUTOLOGGER
Cluster service failed to start the cluster log trace session. The error code was '%2'. The cluster will function
properly, but supplemental logging information will be missing. Use the Performance Monitor snapin to verify the
event channel settings for '%1'.
Event 4869: NETFT_WATCHDOG_PROCESS_HUNG
User mode health monitoring has detected that the system is not being responsive. The Failover cluster virtual
adapter has lost contact with the '%1' process with a process ID '%2', for '%3' seconds. Please use Performance
Monitor to evaluate the health of the system and determine which process may be negatively impacting the
system.
Event 4870: NETFT_WATCHDOG_PROCESS_TERMINATED
User mode health monitoring has detected that the system is not being responsive. The Failover cluster virtual
adapter has lost contact with the '%1' process with a process ID '%2', for '%3' seconds. Recovery action will be
taken.
Event 4871: NETFT_MINIPORT_INITIALIZATION_FAILURE
The cluster service failed to start. This was because the failover cluster virtual adapter failed to initialize the
miniport adapter. The error code was '%1'. Verify that other network adapters are functioning properly and check
the device manager for errors. If the configuration was changed, it may be necessary to reinstall the failover
clustering feature on this computer.
Event 4872: NETFT_MISSING_DATALINK_ADDRESS
The failover cluster virtual adapter failed to generate a unique MAC address. Either it was unable to find a physical
Ethernet adapter from which to generate a unique address or the generated address conflicts with another adapter
on this machine. Please run the Validate a Configuration wizard to check your network configuration.
Event 5122: DCM_EVENT_ROOT_CREATION_FAILED
Cluster service failed to create the Cluster Shared Volumes root directory '%2'. The error message was '%1'.
Event 5142: DCM_VOLUME_NO_ACCESS
Cluster Shared Volume '%1' ('%2') is no longer accessible from this cluster node because of error '%3'. Please
troubleshoot this node's connectivity to the storage device and network connectivity.
Event 5143: DCM_VETO_RESOURCE_MOVE_DUE_TO_CC
Move of the disk ('%2') is vetoed based on the current state of the Cache Manager on the node '%1' to prevent a
potential deadlock. 'Cache Manager Dirty Pages Theshold' is %3, and 'Cache Manager Dirty Pages' is %4. Move is
allowed if 'Cache Manager Dirty Pages' is less than 70% of 'Cache Manager Dirty Pages Theshold' or if 'Cache
Manager Dirty Pages Theshold' minus 'Cache Manager Dirty Pages' is greater than 128000 pages (about 500MB
if a page size is 4096 bytes). Cluster vetoed resource move to prevent potential deadlock due to Cache Manager
throttling buffered writes while Cluster Shared Volumes on this disk are being paused.
Event 5144: DCM_SNAPSHOT_DIFF_AREA_FAILURE
While adding the disk ('%1') to Cluster Shared Volumes, setting explicit snapshot diff area association for volume
('%2') failed with error '%3'. The only supported software snapshot diff area association for Cluster Shared
Volumes is to self.
Event 5145: DCM_SNAPSHOT_DIFF_AREA_DELETE_FAILURE
Cluster disk resource '%1' failed to delete a software snapshot. The diff area on volume '%3' could not be
dissociated from volume '%2'. This may be caused by active snapshots. Cluster Shared Volumes requires that the
software snapshot be located on the same disk.
Event 5146: DCM_VETO_RESOURCE_MOVE_DUE_TO_DISMOUNT
Move of the Cluster Shared Volume resource '%1' is vetoed because one of the volumes belonging to the resource
is in dismounted state. Please retry the action after the dismount operation is completed.
Event 5147: DCM_VETO_RESOURCE_MOVE_DUE_TO_SNAPSHOT
Move of the Cluster Shared Volume resource '%1' is vetoed because one of the volumes belonging to the resource
is in dismounted state. Please retry the action after the dismount operation is completed.
Event 5148: DCM_VETO_RESOURCE_MOVE_DUE_TO_IO_MODE_CHANGE
Move of the Cluster Shared Volume resource '%1' is vetoed because an IO mode change operation (Direct IO to
Redirected IO or vice versa) is in progress on one of the volumes belonging to the resource. Please retry the action
after the operation is completed.
Event 5150: DCM_SET_RESOURCE_IN_FAILED_STATE
Cluster physical disk resource '%1' failed. The Cluster Shared Volume was put in failed state with the following
error: '%2'
Event 5200: CAM_CANNOT_CREATE_CNO_TOKEN
Cluster service failed to create a cluster identity token for Cluster Shared Volumes. The error code was '%1'. Ensure
the domain controller is accessible and check for connectivity issues. Until connection to the domain controller is
recovered, some operations on this node against the Cluster Shared Volumes might fail.
Event 5216: CSV_SW_SNAPSHOT_FAILED
Software snapshot creation on Cluster Shared Volume '%1' ('%2') failed with error %3. The resource must be
online to support snapshot creation. Please check the state of the resource.
Event 5217: CSV_SW_SNAPSHOT_SET_FAILED
Software snapshot creation on Cluster Shared Volume(s) ('%1') with snapshot set id '%2' failed with error '%3'.
Please check the state of the CSV resources and the system events of the resource owner nodes.
Event 5219: CSV_REGISTER_SNAPSHOT_PROV_WITH_VSS_FAILED
Cluster service failed to register the Cluster Shared Volumes snapshot provider with the Volume Shadow Service
(VSS ). This may be due to the VSS service shutting down or may be a problem with the VSS service having a
problem that causes it to not accept incoming requests.
Error: %1
Event 5377: OPERATION_EXCEEDED_TIMEOUT
An internal Cluster service operation exceeded the defined threshold of '%2' seconds. The Cluster service has been
terminated to recover. Service Control Manager will restart the Cluster service and the node will rejoin the cluster.
Event 5396: TWO_PARTITIONS_HAVE_QUORUM
The Cluster service on this node is shutting down because it has detected that there are other cluster nodes that
have quorum. This occurs when the Cluster service detects another node that was started with the Force Quorum
switch (/fq). The node which was started with the Force Quorum Switch will remain running. Use Failover Cluster
Manager to verify that this node automatically joined the cluster when the cluster service restarted.
Event 5397: RLUA_ACCOUNT_FAILED
The cluster resource '%1' could not create or modify the replicated local user account '%2' on this node. Check the
cluster logs for more information.
Event 5398: NM_EVENT_CLUSTER_FAILED_TO_FORM
Cluster failed to start. The latest copy of cluster configuration data was not available within the set of nodes
attempting to start the cluster. Changes to the cluster occurred while the set of nodes were not in membership and
as a result were not able to receive configuration data updates. .
Warning events
Event 1011: NM_NODE_EVICTED
Cluster node %1 has been evicted from the failover cluster.
Event 1045: RES_IPADDR_IPV4_ADDRESS_CREATE_FAILED
No matching network interface found for resource '%1' IP address '%2' (return code was '%3'). If your cluster
nodes span different subnets, this may be normal.
Event 1066: RES_DISK_CORRUPT_DISK
Cluster disk resource '%1' indicates corruption for volume '%2'. Chkdsk is being run to repair problems. The disk
will be unavailable until Chkdsk completes. Chkdsk output will be logged to file '%3'.
Chkdsk may also write information to the Application Event Log.
Event 1068: RES_SMB_SHARE_CANT_ADD
Cluster file share resource '%1' cannot be brought online. Creation of file share '%2' (scoped to network name %3)
failed due to error '%4'. This operation will be automatically retried.
Event 1071: RCM_RESOURCE_ONLINE_BLOCKED_BY_LOCKED_MODE
The operation attempted on cluster resource '%1' of type '%3' in clustered role '%2' could not be completed
because the resource or one of its providers has locked status.
Event 1071: RCM_RESOURCE_OFFLINE_BLOCKED_BY_LOCKED_MODE
The operation attempted on cluster resource '%1' of type '%3' in clustered role '%2' could not be completed
because the resource or one of its dependents has locked status.
Event 1094: SM_INVALID_SECURITY_LEVEL
The cluster common property SecurityLevel cannot be changed on this cluster. The cluster security level cannot be
changed because the cluster is currently configured for no authentication mode.
Event 1119: RES_NETNAME_DNS_REGISTRATION_MISSING
Cluster network name resource '%1' failed to register DNS name '%2' over adapter '%4' for the following reason:
'%3'
Event 1125: TM_EVENT_CLUSTER_NETINTERFACE_UNREACHABLE
Cluster network interface '%1' for cluster node '%2' on network '%3' is unreachable by at least one other cluster
node attached to the network. The failover cluster was not able to determine the location of the failure. Run the
Validate a Configuration wizard to check your network configuration. If the condition persists, check for hardware
or software errors related to the network adapter. Also check for failures in any other network components to
which the node is connected such as hubs, switches, or bridges.
Event 1149: RES_NETNAME_CANT_DELETE_DNS_RECORDS
The DNS Host (A) and Pointer (PTR ) records associated with Cluster resource '%1' were not removed from the
resource's associated DNS server. If necessary, they can be deleted manually. Contact your DNS administrator to
assist with this effort.
Event 1150: RES_NETNAME_DNS_PTR_RECORD_DELETE_FAILED
The removal of the DNS Pointer (PTR ) record '%2' for host '%3' which is associated with the cluster network name
resource '%1' failed with error '%4'. If necessary, the record can be deleted manually. Contact your DNS
administrator for assistance.
Event 1151: RES_NETNAME_DNS_A_RECORD_DELETE_FAILED
The removal of the DNS Host (A) record '%2' associated with the cluster network name resource '%1' failed with
error '%3'. If necessary, the record can be deleted manually. Contact your DNS administrator for assistance.
Event 1155: RCM_EVENT_EXITED_QUEUING
The pending move for the role '%1' did not complete.
Event 1197: RES_NETNAME_DELETE_DISABLE_FAILED
Cluster network name resource '%1' failed to delete or disable its associated computer object '%2' during resource
deletion. The error code was '%3'.
Please check if the site is Read-Only. Ensure that the cluster name object has the appropriate permissions on the
'%2' object in Active Directory.
Event 1198: RES_NETNAME_DELETE_VCO_GUID_FAILED
Cluster network name resource '%1' failed to delete computer object with guid '%2'. The error code was '%3'.
Please check if the site is Read-Only. Ensure that the cluster name object has the appropriate permissions on the
'%2' object in Active Directory.
Event 1216: SERVICE_NETNAME_CHANGE_WARNING
A name change operation on the cluster core netname resource has failed. Attempting to revert the name change
operation back to the original name has also failed. The error code was '%1'. You may not be able to remotely
manage the cluster using the cluster name until this situation has been manually corrected.
Event 1221: RES_NETNAME_RENAME_OUT_OF_SYNCH_WITH_COMPOBJ
Cluster network name resource '%1' has a name '%2' which does not match the corresponding computer object
name '%3'. It is likely that a previous name change of the computer object has not replicated to all domain
controllers in the domain. You will be unable to rename the network name resource until the names become
consistent. If the computer object has not been recently changed, please contact your domain administrator to
rename the computer object and thereby make it consistent. Also, ensure that replication across domain controllers
has been successfully completed.
Event 1222: RES_NETNAME_SET_PERMISSIONS_FAILED
The computer object associated with cluster network name resource '%1' could not be updated.
The cluster identity '%3' may lack permissions required to update the object. Please work with your domain
administrator to ensure that the cluster identity can update computer objects in the domain.
Event 1240: RES_IPADDR_OBTAIN_LEASE_FAILED
Cluster IP address resource '%1' failed to obtain a leased IP address.
Event 1243: RES_IPADDR_RELEASE_LEASE_FAILED
Cluster IP address resource '%1' failed to release the lease for IP address '%2'.
Event 1251: RCM_GROUP_PREEMPTED
Clustered role '%2' was taken offline. This role was preempted by the higher priority clustered role '%1'. The
cluster service will attempt to bring clustered role '%2' online later when system resources are available.
Event 1544: SERVICE_VSS_ONABORT
The backup operation for the cluster configuration data has been canceled. The cluster Volume Shadow Copy
Service (VSS ) writer received an abort request.
Event 1548: SERVICE_CONNECT_VERSION_COMPATIBLE
Node '%1' established communication with node '%2' and detected that it is running a different, but compatible,
version of the operating system. We recommend that all nodes run the same version of the operating system. After
all nodes have been upgraded, run the Update-ClusterFunctionalLevel Windows PowerShell cmdlet to complete
upgrading the cluster.
Event 1550: SERVICE_CONNECT_NOVERCHECK
Node '%1' established a communication session with node '%2' without performing a version compatibility check
because version compatibility checking is disabled. Disabling version compatibility checking is not supported.
Event 1551: SERVICE_FORM_NOVERCHECK
Node '%1' formed a failover cluster without performing a version compatibility check because version
compatibility checking is disabled. Disabling version compatibility checking is not supported.
Event 1555: SERVICE_NETFT_DISABLE_AUTOCONFIG_FAILED
Attempting to use IPv4 for '%1' network adapter failed. This was due to a failure to disable IPv4 auto-configuration
and DHCP. This may be expected if the DHCP Client service is already disabled. IPv6 will be used if enabled,
otherwise this node may not be able to participate in a failover cluster.
Event 1558: SERVICE_WITNESS_FAILOVER_ATTEMPT
The cluster service detected a problem with the witness resource. The witness resource will be failed over to
another node within the cluster in an attempt to reestablish access to cluster configuration data.
Event 1562: RES_FSW_ALIVEFAILURE
File share witness resource '%1' failed a periodic health check on file share '%2'. Please ensure that file share '%2'
exists and is accessible by the cluster.
Event 1576: RES_NETNAME_DNS_REGISTRATION_SECURE_ZONE_REFUSED
Cluster network name resource '%1' failed to register the name '%2' over adapter '%4' in a secure DNS zone. This
was due to an existing record with this name and the cluster identity does not have the sufficient privileges to
update that record. The error code was '%3'. Please contact your DNS server administrator to verify the cluster
identity has permissions on DNS record '%2'.
Event 1576: RES_NETNAME_DNS_REGISTRATION_SECURE_ZONE_REFUSED
Cluster network name resource '%1' failed to register the name '%2' over adapter '%4' in a secure DNS zone. This
was due to an existing record with this name and the cluster identity does not have the sufficient privileges to
update that record. The error code was '%3'. Please contact your DNS server administrator to verify the cluster
identity has permissions on DNS record '%2'.
Event 1577: RES_NETNAME_DNS_SERVER_COULD_NOT_BE_CONTACTED
Cluster network name resource '%1' failed to register the name '%2' over adapter '%4'. The DNS server could not
be contacted. The error code was '%3.' Ensure that a DNS server is accessible from this cluster node. The DNS
registration will be retried later.
Event 1577: RES_NETNAME_DNS_SERVER_COULD_NOT_BE_CONTACTED
Cluster network name resource '%1' failed to register the name '%2' over adapter '%4'. The DNS server could not
be contacted. The error code was '%3.' Ensure that a DNS server is accessible from this cluster node. The DNS
registration will be retried later.
Event 1578: RES_NETNAME_DNS_TEST_FOR_DYNAMIC_UPDATE_FAILED
Cluster network name resource '%1' failed to register dynamic updates for name '%2' over adapter '%4'. The DNS
server may not be configured to accept dynamic updates. The error code was '%3'. Please contact your DNS server
administrator to verify that the DNS server is available and configured for dynamic updates.
Alternatively, you can disable dynamic DNS updates by unchecking the 'Register this connection's addresses in
DNS' setting in the advanced TCP/IP settings for adapter '%4' under the DNS tab.
Event 1578: RES_NETNAME_DNS_TEST_FOR_DYNAMIC_UPDATE_FAILED
Cluster network name resource '%1' failed to register dynamic updates for name '%2' over adapter '%4'. The DNS
server may not be configured to accept dynamic updates. The error code was '%3'. Please contact your DNS server
administrator to verify that the DNS server is available and configured for dynamic updates.
Alternatively, you can disable dynamic DNS updates by unchecking the 'Register this connection's addresses in
DNS' setting in the advanced TCP/IP settings for adapter '%4' under the DNS tab.
Event 1579: RES_NETNAME_DNS_RECORD_UPDATE_FAILED
Cluster network name resource '%1' failed to update the DNS record for name '%2' over adapter '%4'. The error
code was '%3'. Ensure that a DNS server is accessible from this cluster node and contact your DNS server
administrator to verify the cluster identity can update the DNS record '%2'.
Event 1579: RES_NETNAME_DNS_RECORD_UPDATE_FAILED
Cluster network name resource '%1' failed to update the DNS record for name '%2' over adapter '%4'. The error
code was '%3'. Ensure that a DNS server is accessible from this cluster node and contact your DNS server
administrator to verify the cluster identity can update the DNS record '%2'.
Event 1581: CLUSSVC_UNABLE_TO_MOVE_HIVE_TO_SAFE_FILE
The restore request for the cluster configuration data failed to make a copy of the existing cluster configuration
data file (ClusDB ). While attempting to preserve the existing configuration, the restore operation was unable to
create a copy at location '%1'. This might be expected if the existing configuration data file was corrupt. The restore
operation has continued but attempts to revert to the existing cluster configuration may not be possible.
Event 1582: CLUSSVC_UNABLE_TO_MOVE_RESTORED_HIVE_TO_CURRENT
Cluster Service failed to move the restored cluster hive at '%1' to '%2'. This may prevent the restore operation
from succeeding successfully. If the cluster configuration was not properly restored, please retry the restore action.
Event 1583: CLUSSVC_NETFT_DISABLE_CONNECTIONSECURITY_FAILED
Cluster service failed to disable Internet Protocol security (IPsec) on the Failover cluster virtual adapter '%1'. This
could have a negative impact on cluster communication performance. If this problem persists, please verify your
local and domain connection security policies applying to IPSec and the Windows Firewall. Additionally, please
check for events related to the Base Filtering Engine service.
Event 1584: SHARED_VOLUME_NOT_READY_FOR_SNAPSHOT
A backup application initiated a VSS snapshot on Cluster Shared Volume '%1' ('%3') without properly preparing
the volume for snapshot. This snapshot may be invalid and the backup may not be usable for restore operations.
Please contact your backup application vendor to verify compatibility with Cluster Shared Volumes.
Event 1589: RES_NETNAME_DNS_RETURNING_IP_THAT_IS_NOT_PROVIDER
Cluster network name resource '%1' found one or more IP addresses associated with DNS name '%2' that are not
dependent IP address resources. The additional addresses found were '%3'. This may affect client connectivity until
the network name and its associated DNS records are consistent. Please contact your DNS server administrator to
verify the records associated with name '%2'.
Event 1604: RES_DISK_CHKDSK_SPOTFIX_NEEDED
Cluster disk resource '%1' detected corruption for volume '%2'. Spotfix Chkdsk is required to repair problems.
Event 1605: RES_DISK_SPOTFIX_PERFORMED
Cluster disk resource '%1' completed running ChkDsk.exe /spotfix on volume '%2'. The return code was '%4'.
Output from the ChkDsk has been logged to file '%3'.
Check the application event log for additional information from ChkDsk.
Event 1671: RES_DISK_ONLINE_SET_ATTRIBUTES_COMPLETED_FAILURE
Cluster physical disk resource cannot be brought online.
Refer to the System and Application event logs to determine the issues on this node. When the issue is resolved,
quarantine can be manually cleared to allow the node to rejoin with the 'Start-ClusterNode –ClearQuarantine'
Windows PowerShell cmdlet.
Node Name : %1
QuarantineType : Quarantine by %2
Time quarantine will be automatically cleared: %3
Event 1681: CLUSTER_GROUPS_UNMONITORED_ON_NODE
Virtual machines on node '%1' have entered an unmonitored state. The virtual machines health will be monitored
again once the node returns from an isolated state or may failover if the node does not return. The virtual machine
no longer being monitored are: %2.
Event 1689: EVENT_DISABLE_AND_STOP_OTHER_SERVICE
The cluster service detected a service which is not compatible with Failover Clustering. The service has been
disabled to avoid possible problems with the Failover Cluster.
Informational events
Event 1592: CLUSSVC_TCP_RECONNECT_CONNECTION_REESTABLISHED
Cluster node '%1' lost communication with cluster node '%2'. Network communication was reestablished. This
could be due to communication temporarily being blocked by a firewall or connection security policy update. If the
problem persists and network communication are not reestablished, the cluster service on one or more nodes will
stop. If that happens, run the Validate a Configuration wizard to check your network configuration. Additionally,
check for hardware or software errors related to the network adapters on this node, and check for failures in any
other network components to which the node is connected such as hubs, switches, or bridges.
Event 1594: CLUSTER_FUNCTIONAL_LEVEL_UPGRADE_COMPLETE
Cluster service successfully upgraded the cluster functional level.
Functional Level: %1
Upgrade Version: %2
Event 1635: RCM_RESOURCE_FAILURE_INFO_WITH_TYPENAME
Cluster resource '%1' of type '%3' in clustered role '%2' failed.
Event 1636: CLUSSVC_PASSWORD_CHANGED
The Cluster service has changed the password of account '%1' on node '%2'.
Event 1680: CLUSTER_NODE_EXITED_ISOLATED_STATE
Cluster node '%1' has exited the isolated state.
Event 1682: CLUSTER_GROUP_MOVED_NO_LONGER_UNMONITORED
Virtual machine '%2' which was unmonitored on the isolated node '%1' has been failed over to another node. The
health of the virtual machine is once again being monitored.
Event 1682: CLUSTER_MULTIPLE_GROUPS_NO_LONGER_UNMONITORED
Node '%1' has rejoined the cluster and the following virtual machines running on that node are once again having
their health state monitored: %2.
Event 4621: NODECLEANUP_SUCCESS
This node was successfully removed from the cluster.
Event 5121: DCM_VOLUME_NO_DIRECT_IO_DUE_TO_FAILURE
Cluster Shared Volume '%1' ('%2') is no longer directly accessible from this cluster node. I/O access will be
redirected to the storage device over the network to the node that owns the volume. If this results in degraded
performance, please troubleshoot this node's connectivity to the storage device and I/O will resume to a healthy
state once connectivity to the storage device is reestablished.
Event 5218: CSV_OLD_SW_SNAPSHOT_DELETED
Cluster physical disk resource '%1' deleted a software snapshot. The software snapshot on Cluster Shared Volume
'%2' was deleted because it was older than '%3' day(s). The snapshot ID was '%4' and it was created from node
'%5' at '%6'. It is expected that snapshots are deleted by a backup application after a backup job is completed. This
snapshot exceeded the time that is expected for a snapshot to exist. Verify with the backup application that backup
jobs are completing successfully.
See also
Detailed event info for Failover Clustering components in Windows Server 2008
Change history for Failover Clustering topics
1/14/2020 • 2 minutes to read • Edit Online
This topic lists new and updated topics in the Failover Clustering documentation for Windows Server.
If you're looking for update history for Windows Server 2016, see Windows 10 and Windows Server 2016
update history.
January 2020
NEW OR CHANGED TOPIC DESCRIPTION
March 2019
NEW OR CHANGED TOPIC DESCRIPTION
February 2019
NEW OR CHANGED TOPIC DESCRIPTION
January 2019
NEW OR CHANGED TOPIC DESCRIPTION
November 2018
NEW OR CHANGED TOPIC DESCRIPTION
Configuring cluster accounts in Active Directory Migrated from the Previous Versions library
October 2018
NEW OR CHANGED TOPIC DESCRIPTION
June 2018
NEW OR CHANGED TOPIC DESCRIPTION
May 2018
NEW OR CHANGED TOPIC DESCRIPTION
Configure and manage quorum Migrated from the Previous Versions library.
April 2018
NEW OR CHANGED TOPIC DESCRIPTION
Scale-Out File Server for application data Migrated from the Previous Versions library.
Use Cluster Shared Volumes (CSVs) Migrated from the Previous Versions library.
Deploy a Cloud Witness for a Failover Cluster Migrated from the Previous Versions library.
June 2017
NEW OR CHANGED TOPIC DESCRIPTION
Cluster-Aware Updating advanced options Added info about using run profile paths that include spaces.
April 2017
NEW OR CHANGED TOPIC DESCRIPTION
Deploy a cloud witness for a Failover Cluster Clarified the type of storage account that's required (you can't
use Azure Premium Storage or Blob storage accounts).
March 2017
NEW OR CHANGED TOPIC DESCRIPTION
Deploy a cloud witness for a Failover Cluster Updated screenshots to match changes to Microsoft Azure.
February 2017
NEW OR CHANGED TOPIC DESCRIPTION
Cluster operating system rolling upgrade Removed an unnecessary Caution note and added a link.