What is Failover Clustering?
A Failover Cluster is a collection of independent computers working together to increase the efficiency and scalability of clustered services & applications. Clustered servers, also known as nodes, are linked together by software and physical cables. If one or more nodes in a cluster fail for any reason, the service is taken over by other nodes in the cluster (a failover process). Furthermore, the clustered roles are proactively monitored to ensure that they are functioning properly. They are restarted or moved to another node if they are not working as expected.
Table of Contents
- Cluster Shared Volume (CSV)
- Deployment
- Prerequisites to setup Failover Cluster
- Installation of Failover Clustering feature
- Failover Cluster creation using Failover Cluster Manager snap-in
- Failover Cluster creation using WindowsPowerShell
- Features of Windows Server 2016 Failover Clusters
- Conclusion
Cluster Shared Volume (CSV)
CSV (Cluster Shared Volumes) is a Windows Server feature that allows shared discs to be accessed by all nodes in a failover cluster at the same time. The feature was introduced in Windows Server 2008 R2 as a way to simplify storage for clustered Hyper-V virtual machines (VMs) by reducing the overall disks needed for failover clustering.
Cluster Shared Volume (CSV) is nothing but a functionality of Failover clusters that provides a consistent, distributed namespace to be used by clustered roles to access shared storage from all the nodes. Users will experience fewer service interruptions when using the Failover Clustering feature.
To know more about Cluster Shared Volume (CSV) click here.
Failover Clustering has many practical applications, including:
- File share storage that is highly available or continuously available for applications such as Microsoft SQL Server and Hyper-V virtual machines
- Highly available clustered roles that run on physical servers or virtual machines installed on Hyper-V servers
Deployment
A failover cluster can be created either through the Failover Cluster Manager snap-in or through Windows PowerShell
Prerequisites to setup Failover Cluster
Verify the following prerequisites before you proceed:
- Make sure that all cluster servers (cluster nodes) that you wish to add are running the same version of Windows Server
- Review the following hardware requirements to ensure that support is provided for your configuration:
- Servers: It is recommended to use a set of matching computers that contain the same or similar components.
- Network adapters and cable (for network communication): If using iSCSI, you must devote each network adapter to either network communication or iSCSI, but not both.
NOTE: When you connect cluster nodes with a single network, the network will pass the redundancy test in the “Validate a Configuration” Wizard. The wizard’s report may, however, include an alert that the network should not have single points of failure. - iSCSI: If you are using iSCSI, each clustered server should have one or more network adapters or Host Bus Adapters (HBAs) that are dedicated to the cluster storage.
- The network you use for iSCSI should not be used for network communication.
- In all clustered servers, the network adapters you use to connect to the iSCSI storage target should be identical, and it is recommended that you use Gigabit Ethernet or higher.
- Storage: Make sure the shared storage is compatible with the Windows Server 2016
- You can use the shared storage that is attached, and also use SMB 3.0 file shares as shared storage for servers that are running Hyper-V configured in a failover cluster.
- Use basic disks, instead of dynamic disks for the native disk support included in the Failover Clustering.
- It is recommended to format the partitions with either NTFS or ReFS (ReFs in case If you have a disk witness for your quorum configuration). If Cluster Shared Volumes (CSV) is used then, the partition for each of those must be of NTFS.
- Either Master boot record (MBR) or GUID partition table (GPT) can be used for disk partition.
- To add clustered storage during cluster creation, make sure that all servers can access the storage. (clustered storage can also be added after creating the cluster).
- Make sure all servers you want to add as cluster nodes are joined to the same Active Directory domain
- The account to create the cluster must be a domain user who owns administrator rights on all servers that are to be added as cluster nodes.
Installation of Failover Clustering feature
Must install the Failover Clustering feature on every server that is to be added as a failover cluster node.
Step 1: Start Server Manager.
Step 2: Select Add Roles and Features from the Manage menu.
Step 3: Click Next, On the Before you begin page.
Step 4: On the Select Installation Type page, choose Role-based or Feature-based installation, and click Next.
Step 5: On the Select Destination Server page, select the server where you want to install the feature, and then click Next.
Step 6: Click Next on the Select Server Roles page
Step 7: On the Select Features page, select the Failover Clustering checkbox.
Step 8: To install the Failover Cluster Management tools, select Add Features, and click Next.
Step 9: On the Confirm Installation Selections page, click Install. (Server restart is not required for the Failover Clustering feature).
Step 10: When the installation is completed, click Close.
Step 11: Repeat this procedure on every server that you want to add as a failover cluster node.
Failover Cluster creation using Failover Cluster Manager snap-in
Before we start, attach an iSCSI storage in all the nodes and make sure all virtual switches in the nodes are identical.
Step 1: Select the Failover Cluster Manager in the Tools menu of the Server Manager.
Step 2: In the Failover Cluster Manager, select Create Cluster option under the Management pane.
Step 3: The Create Cluster Wizard will open the start page, click on Next to continue.
Step 4: Browse & Select the nodes you want and click Next.
Step 5: Specify a Name and IP address for the cluster, & click Next.
Step 6: After reviewing the cluster configuration, click on Next to start the cluster creation.
Step 7: On the Summary page, you can see the status of the cluster creation. If there were any warnings or errors, view the summary output or select View Report. Once done, click on Finish to close the wizard.
Step 8: Now open Failover Cluster Manager, expand storage, and click on Disks.
Step 9: Click Add Disk and select the available iSCSI storage.
Step10: Then right-click on the Cluster Disk and select Add to Cluster storage. You can also check the storage by opening the C:\ClusterStorage in all the nodes.
Failover Cluster creation using WindowsPowerShell
In this topic, the following Windows PowerShell cmdlets perform the same functions as that of the Failover Cluster creation using Failover Cluster Manager snap-in:
Step 1: Open the Windows Powershell editor.
Step 2: Enter the following command to Install the Windows failover cluster feature along with management tools.
cmd: Install-WindowsFeature –Name Failover-Clustering –IncludeManagementTools
Step 3: Tun the cluster validation tests on computers named Server1 and Server 2 by executing the following command.
Cmd: Test-Cluster –Node Server1, Server2
Note: The Test-Cluster cmdlet outputs the results to a log file in the current working directory. For example: C:\Users
Step 4: Create a failover cluster named MyCluster with Server-1 and Server-2 nodes, and assign a static IP address 192.168.10.182 and transfer all qualifying data to the failover cluster. You can use any IP address of your choice.
Cmd: New-Cluster –Name MyCluster –Node Server1, Server2 –StaticAddress 192.168.10.182
Step 5: Create a failover cluster named as MyCluster in the Cluster OU of the domain testvembu.com. You can use your domain in the DC tag.
Cmd: New-Cluster -Name CN=MyCluster,OU=Cluster,DC=testvembu,DC=com -Node Server1, Server2
That’s it, a failover cluster is created with static IP, Storage, and posted in the domain testvembu.com.
Features of Windows Server 2016 Failover Clusters
Cluster Operating System Rolling Upgrade:
With the new feature like Cluster OS Rolling upgrade, the Administrator can upgrade the Cluster Nodes Operating System from Windows Server 2012 R2 to Windows Server 2016 without stopping the Services of Hyper-V. This new feature helps to avoid downtime penalties against Service Level Agreements (SLA).
Cloud Witness for a Failover Cluster:
A new type of quorum witness that leverages Microsoft Azure to determine which cluster node should be authoritative if a node goes offline.
Health Service:
Improves the day-to-day monitoring, operations, and maintenance experience of Storage Spaces Direct clusters.
Fault Domains:
Helps to define which fault domain to use with a Storage Spaces Direct cluster. A fault domain is a set of hardware that shares a single point of failures, such as a server node, server chassis or rack.
VM load balancing:
The load is distributed across nodes evenly with its help, in a Failover Cluster by finding out busy nodes and live-migrating VMs on these nodes to less busy nodes.
Simplified SMB Multichannel and multi-NIC cluster networks:
Enables a user to easily configure multiple network adapters in a cluster.
Workgroup and Multi-domain clusters in Windows Server 2016:
Windows Server 2016 breaks down the previous barrier of creating clusters between the member nodes joined to the same domain and introduces the ability to create a Failover Cluster without Active Directory dependencies. The following configuration is implemented in Failover Clusters can now, be created in:
- Single-domain: Clusters with all nodes joined to the same domain.
- Multi-domain: Clusters with nodes that are members of different domains.
- Workgroup: Clusters with nodes that are member servers/workgroup (not domain joined).
Conclusion
The new & enhanced features of Windows Server 2016 Failover Cluster has made the concept of Clustering and High-Availability much easier. Thus, we recommend upgrading the previous versions of the Failover Cluster to the new Windows Server 2016 Failover Cluster where you can experience the advantage of all new features.
Bolster the protection of your Windows Server data with the dependable backup solution provided by BDRSuite. This robust tool acts as a formidable shield, ensuring the security of your critical information. Explore its capabilities through a 30-day full-featured trial.
Enhance the security of your Windows Server effortlessly with BDRSuite today: Download BDRSuite
Dive into the world of Windows Server backup possibilities with BDRSuite. Learn more here: Windows Server Backup with BDRSuite
Read related articles below:
Windows Server Failover Cluster Hyper-V Basics
Windows Server 2019 Failover Clustering Types and Uses
Implementing Failover Cluster in Windows Server 2019
Perform Hyper-V VM Live Migration without Failover Clustering
Hyper-V High Availability and Failover Clustering
Follow our Twitter and Facebook feeds for new releases, updates, insightful posts and more.