HomeMicrosoftiSCSI Target Failover Clustering in Server 2022

iSCSI Target Failover Clustering in Server 2022

This article will describe the iSCSI Target Failover Clustering in Server 2022 setup and configuration. The two-node failover cluster configuration setup in Windows Server 2022 using iSCSI shared disks mapped. All of these settings we will now use to configure the iSCSI Target cluster on Server 2022. This guide will cover the process of creating a two-node Active/Passive Failover Cluster in Windows Server 2022. Visit this site for more information.

I have the experience to create High Availability solutions for enterprise products, and based on that work, I worked a short time ago with failover clustering and network load balancing clustering in Windows Server 2022. I have built multi-node failover clusters for SQL Server, Hyper-V, network load balancing, and different application clusters.

iSCSI target Failover clustering Deployment

The following steps are the high-level steps required for your Windows cluster deployment.

Install two Windows Server 2022
Install all Windows Updates
Join servers to the domain controller
Each Node must have two network interfaces
Primary Network
Cluster Network
Add DNS records
Primary Server
Secondary Server
Cluster Server Name (iSCSI Cluster)
Attach the same ISCSI disk (LUN) to primary node-01 and node-02.
Install Failover clustering role on both servers (node-01 and node-02)
Bring the disk online via computer management on the primary node.
Join nodes to a cluster

Virtual Machines Settings

NameRoleIP Address
DC2022Domain Controller192.168.121.200
iSCSIiSCSI Shared192.168.121.210
SRV2022-01Node-01192.168.121.212
 Cluster Network192.168.52.1
SRV2022-02`Node-02192.168.121.214
 Cluster Network192.168.52.2
iSCSI-ClusterCluster192.168.121.216

Nodes Network Connections

Network connections

Add DNS Records for Cluster

Right-click on your local domain, and then click on New Host (A or AAA)..

DNS Manager

Fill in the details, and then click Add Host.

Create host record

Click ok twice
You can view DNS records.

DNS Manager

Install Failover Clustering Feature via the PowerShell

Run Windows PowerShell, enter the below command, and then hit enter.

Install-WindowsFeature Failover-Clustering –IncludeManagementTools
Install failover clustering PowerShell

Install Failover Cluster Windows Server 2022

We can install the failover cluster feature with GUI in the server manager dashboard and select Add roles and features.

Server manager 2022

Click next to continue

Add roles and features wizard

Choose Role-Based installation, and then hit next.

Select installation type

For server selection, choose the server and then click next.

Select destination server

Server Roles, click next

Select server roles

Tick the failover cluster box.

Enable failover clustering features

Click on add features

Add required features for failover clustering

Select next.

Install feature failover clustering

Click Install

Confirm installation selection failover

Click close

Failover clustering feature results

Once failover clustering installation is successfully done, it shows up in the Server Manager Tools, and then open Failover Cluster Manager.

Server manager tools

iSCSI Target Failover Clustering: Configure iSCSI Initiator

Creating Windows Server cluster – iSCSI to connect to shared storage
Run the iSCSI Initiator from the first Node (SRV2022-01).
Click on the Tools tab and then the iSCSI initiator

Server manager 2022

Choose the Yes button to enable the iSCSI initiator service and to start automatically each time when a server restarts.

Microsoft iSCSI service is not running

The iSCSI Initiator properties will open, choose the Discovery tab and then click the Discover Portal button.

iSCSI initiator properties discovery

Enter the IP Address of the iSCSI shared disk and then click on the Advanced button.

Discover target portal

Next to the Local Adapter choose the Microsoft iSCSI Initiator from the dropdown box. Next to the Initiator IP box select the IP Address of the NIC that is dedicated to the iSCSI connection. Click ok twice

Discover target portal advanced settings

Choose the LUN you want to connect to and then choose to connect button.

iSCSI initiator properties targets

Click ok

iSCSI initiator connect to target

Now your iSCSI target is connected.

iSCSI initiator properties target

Follow the above steps for your secondary node (SRV2022-02)

Create Windows cluster configuring shared disk in the cluster node-01 (SRV2022-01)

We will have a look at configuring the volumes we have attached to your prospective cluster nodes.
Click on the Tools tab and then choose computer management.

Server manager tools

The shared disk (iSCSI) is displayed as offline, Unknown, and Unallocated.
Right-click on the offline disk and then choose Online.

Disk management online disk

Right-click on the disk, and then choose Initialize Disk.

Disk management initialize disk

Click ok

Initialize disk

Right-click on the disk and then New Simple Volume.

Disk management new simple volume

Click Next

Welcome to new simple volume

Click Next

New simple volume size

Assign the drive letter from the dropdown list. In this shared disk I am using E volume. Click Next

New simple volume drive letter

Enter a volume label name and then click next.

New simple volume format partition

Choose the Finish button to complete the creation of the volume.

Completing-the-simple-volume-wizard

You can see the shared disk.

Disk management

After configuring the disks on your first node (node-01), take them offline. Right-click on the disk and then Offline.

Disk management disk offline

Now on your second cluster node-2 (SRV2022-02) launch computer management.
Right-click on the disk and then Online.

Disk management disk online

The disk appears and is formatted with the drive letter.
If the drive letter doesn’t show then choose Rescan Disks from the Action menu.

Disk management

If the drive letter mismatch so you need to match them.

Failover Cluster Readiness check on Node-01 (SRV2022-01)

We have successfully mapped 2 nic’s to both servers, added the same ISCSI san on both servers, formatted, and have a volume up on one server.
Let’s verify if everything is ok.
In Server Manager, choose the Tools tab and then select Failover Cluster Manager.

Server manager

From the Action menu, choose Validate Configuration.

iSCSI Target Failover Clustering

Click Next.

Validate a configuration wizard

Click on the browse button.

Select servers or a clustering

Type node name and then click on check names.

Enter the object name to select

Select both nodes and then choose ok.

Multiple names found

Click ok

Enter the object name to select

Click next.

Select servers or a cluster

Select the Run all tests box and then click next

Validate a configuration run all tests

Review the configuration and then click next.

Validate a configuration confirmation

Cluster validation tests will take a while.

Failover cluster validation in progress

If you get an error, Validate Switch Enabled Teaming Configuration and correct them before you proceed. Once validation completes, then click Finish.

Validate configuration failover cluster summary

ISCSI Target Failover Clustering – Create Failover Cluster in Windows Server 2022

Click on Create Cluster.

Failover cluster manager

Select Next.

Create cluster wizard

Click on the browse button.

Creating cluster wizard select servers

Enter both the node’s names, choose check name, and then hit ok.

Enter the object name to select

Click next

Creating cluster wizard servers

Type a unique cluster name, type your cluster IP address and then click next.

Access point for administering the cluster

Tick add all eligible storage….. and then hit next.

Creating cluster wizard confirmation

Creating a New cluster.

Creating New cluster

Once done, click Finish

Create cluster wizard summary

Failover cluster manager.

Failover cluster manager 2022

Select the nodes option and then see both the Nodes are up now.

Failover cluster manager Nodes

Choose the Storage option, we can see the disk being mapped.

Failover cluster manager disks

Verify the DNS Configuration.

Active directory users and computers

Verify if the iSCSI-Cluster address is pingable.

Ping command
Jamil
Jamilhttp://jamiltech.com
A Professional Technology Blog Writer | An energetic professional with more than 20+ years of rich experience in Technology, Planning, Designing, Installation, and Networking.
RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments

what is cryptocurrency and bitcoin on How to Backup and Restore IIS Configuration
경기광주출장안마 on How to Backup and Restore IIS Configuration
영등포출장마사지 on How to Backup and Restore IIS Configuration
Twalsu light mirror for vanity on How to Backup and Restore IIS Configuration
fitspresso analysis on How to Reset Microsoft 365 Password
historical landmarks tours for history buffs on How to Add Hyper-V Server Altaro VM Backup
9780443186882 PDF download on How to Migrate Active Directory 2012 to 2022
Shaik Mohammad Jaheer on How to Enable Night Light on Windows 11