Microsoft Windows Server

Windows Server 2012 Failover Clustering iSCSI target step by step.

In this blog, I will configure iSCSI SAN which is a feature in Windows 2012, after setting up iSCSI SAN I will create a 2 Node Failover clustering in Windows 2012 accessing the shared iSCSI SAN.

Server 2012 Failover Clustering iSCSI

Environment Details.

Server2012-DC

Ethernet0 10.0.0.20

iSCSI (Server2012)

Ethernet0 10.0.0.100

Server-1 (Node1)

Ethernet0 10.0.0.20

Ethernet1 192.168.0.10

Server-1 (Node2)

Ethernet0 10.0.0.20

Ethernet1 192.168.0.20

CLUSTER IP ADDRESS – 10.0.0.110

First, we’d like to put in and Configure target iSCSI server in Windows Server 2012 (iSCSI – Server2012)

How to install and Configure iSCSI SAN in Server 2012 Click Here

How to Add Failover Manager Feature and iSCSI virtual disk to first Node (Server-1).

1- Open Server Manage, left side select dashboard and click on ADD Roles and Features.

server manager dashboard 2012

2- Click Next.

add roles and features wizard

3- Click Role-based or feature-based installation and then click Next.

role based or feature based installation

4- Select a server from the server pool and click on next.

server 2012 server selection

5- Click the Application Serve role and click next.

server roles application sever

6- Select the Failover clustering box.

install failover clustering feature server 2012

7- Click Add features.

server 2012 add required features

8- After enabling the failover clustering feature, click next.

install failover clustering features

9- Application Server feature, click next.

server roles application server 2012

10- Click Next.

server roles distributed transactions

11- Click Install.

server 2012 confirm installation

12- Successfully enable the failover cluster feature, click Close.

server 2012 installation selections

Adding the Virtual Disk.

13- Open Server Manager, click Tools and Click iSCSI initiator.

server manager dashboard 2012

14- Type the IP address or Name of the Target iSCSI server (my iSCSI target server IP is 10.0.0.100) and click Quick Connect.

iscsi initiator properties

15- Click on all the inactive disks and click connect.

iscsi initiator properties quick connect

16- After all the disk is connected, click Done.

iscsi initiator properties connect

17- Click OK.

iscsi initiator properties discovered targets

Adding Failover Manager Feature and iSCSI virtual disk to 2 Node (Server-2).

Follow all the steps (from 1 to 17) the same as 1 Node (Server-1).

18- After successfully added the disk and connected.

server manager local server

Initializing the Disk and Formatting

Note: If you are working on a Failover cluster the following steps need to be performed only on a Single Node of the cluster.

The following steps are performed on the 1 Node (Server-1).

19- In Server Manager click Tools and click Computer Management.

server manager tools 2012

20- Click on Disk Management.

In Computer Management You will see 2 disk’s which we added using iSCSI initiator as Unknown and offline status.

disk management

21- Right-click on each disk and select Online.

disk management online

22- Right-click on disk and click Initialize Disk.

disk management initialize disk

23- Select both the disks and click ok.

disk to gpt or mbr

24- Now both the Disk are online and Unallocated.

disk management

25- Right-click on the unallocated disk and select New Simple Volume.

computer management disk unallocated

26- Click Next.

new simple volume wizard

27- Click Next.

simple volume wizard size

28- Assign a drive letter and click next.

simple volume wizard drive letter

29- Type a volume label and click next.

simple volume wizard format partition

30- Click Finish.

simple volume wizard finish

Follow the same steps (from 25 to 30) for the 2nd disk (QUORUM).

31- Now both the disks are online and healthy.

disk management

The next step is to log in to 2 Node (Server-2).

Open Computer Management and click Disk Management.

Note:  Disks are offline and unallocated status.

32- Right-click and bring the disk online.

disk management

33- You will notice that disk are online with assigned drive letters and volume name.

disk management

34- Right-click on each disk and select offline on both the Nodes (Server-1 and Server-2)

disk management

35- Now both the disks are offline.

disk management

FAILOVER Cluster MANAGER CONFIGURATION.

I am logged in on 1 Node (Server-1) with domain Administrative rights.

36- Open Server Manager > select tools and then click Failover Cluster Manager.

server manager tools 2012 failover cluster manager

37- Click Validate configuration.

failover cluster manager 2012

38- Click Next.

validation configuration wizard

39- Click the Browse button.

validation select servers or cluster

40- Type node names, click check names and then click ok.

enter the object names to select

41- After selecting both the servers, so click next.

validation select servers or cluster

42- Select Run all tests (Recommended) and then click next.

failover cluster validation testing options

43- Click Next.

failover cluster validation confirmation

Make sure all the Failover Cluster Validation testing completes with no errors.

44- leave the Checkbox selected to create the cluster now using the validated nodes and then click Finish it will start the cluster creation wizard.

failover cluster validation summary

45- Click Next.

create failover cluster wizard

46- Click the Browse button.

create failover cluster wizard select servers

47- Type server names, click check names and then click ok.

enter the object names to select

48- Type a Cluster Name and IP address and then click next.

access point for administering the failover cluster

49- Leave the Checkbox to add all storage to Cluster and then click next.

create failover cluster wizard confirmation

50- Default Running Process.

create failover cluster wizard creating

51- Failover cluster Successfully completed, so click Close.

create failover cluster wizard summary

Quorum Settings.

52- When creating a cluster, depending on the number of Nodes it automatically picks the correct quorum settings and then disk.

failover cluster manager

53- If you need to change settings, right-click cluster, more action select configure cluster quorum settings.

failover cluster manager

We have successfully created the Failover Cluster, let’s test the Failover.

54- Active Node (Server-1) before Failover.

failover cluster manager

55- Active Node (Server-2) after Failover.

We have successfully tested the Failover Cluster in Windows Server 2012.

failover cluster manager

For more details click here

Jamil Parvez

Jamil Pervez works as a Network Administrator, based in Kuwait with a Primary focus on Microsoft technologies. Microsoft Certified MCSE, MCTP, MCITP, CCNP, CCIP, CCVP with 20 years of experience in administering Windows Servers, Exchange, VMWare, Veeam B&R, Veritas BackupExec.

Related Articles

4 Comments

  1. Great beat ! I wish to apprentice while you amend your web site, how could i subscribe for a blog web site? The account aided me a acceptable deal. I had been a little bit acquainted of this your broadcast offered bright clear idea

Leave a Reply

Back to top button