Install and configure iSCSI with NAS4Free Part 2

In the previous article we have seen how to install NAS4Free and configure the disks which will be used as main storage. This article focuses on the setup for the iSCSI drives which will be provisioned to the other VMs from the NAS4Free main storage. In my case the ISCSI drives will be used for a Clustered SQL instance in my lab

From the Services > iSCSI Target Menu let’s enable the service as in the screenshot below. This will generate the name of the SCSI target to configure for the clients

Let’s create a Portal. We can leave the default settings. Let’s make sure the IP Address is correct and there is no firewall

Apply Changes

Let’s define which initiators (our clients) are allows to connect. ALL is a “catch all” configuration for all IP addresses in the subnet configured in the Authorized Network text box

Apply Changes

Now we are ready for our Targets. We need to setup the extent first and then associate the extents to the Targets. The first one I’m creating is for the Quorum Disk.

Note: due to a bug when creating the extent choose file as a type and create an extent of the approximate size of the provisioned disk. In my case Quorum disk is 1GB=1024MB and I have used 1020MB

Apply Changes

At this point we are ready to create the Targets. Let’s add 1 by 1 associating the proper extents

The final result will look to something similar to this

We are now ready to mount the iSCSI drives on the SQL Cluster nodes. By starting the iSCSI client (Windows 2008 separate download, Windows 2012 is built-in) we can now specify the hostname/IPAddress of the iSCSI Target server

By hitting refresh will show the available drives and the current status with the local machine

After connecting them and then browsing the Computer Management panel we need to:

  • Put the Disk Online

  • Initialize the Disk

  • Create a new Simple Volume and proceed with the wizard

We now have the iSCSI disks connected to our SQL server. This operation needs to be performed on all the nodes participating to the cluster using exactly the same mounting points:

Q:\ for Quorum

S:\ for SQL Data

L:\ for SQL Logs

 

I’m now ready to start the install and configure a clustered SQL instance which is the topic for my next blog post!

Michele Domanico

Passionate about Virtualization, Storage, Data Availability and Software Defined Data Center technologies. The aim of Domalab.com is sharing with the Community the knowledge and experience gained with customers, industry leaders and like minded peers. Always open to constructive feedback and new challenges.

Leave a Reply

%d bloggers like this: