Create Virtual SAN Using Microsoft iSCSI Software Target

This is one of the perfect free tool from Microsoft which was really useful for me to create an SAN virtually for my testing purposes. You can use this for any kind of requirement which are related to SAN Spaces.

Here my requirement was to use this SAN for a windows Cluster as SAN space is an mandatory for it.

clip_image001

Note – This is for testing environments and NOT to be Used in Production.

Download and Install the application first. Download from here

Tool located under administrative tools as below once you installed .

clip_image002

Configure Target

Target is – the central location which holding the main configuration and storage for Virtual SAN.

Lets get create a New …….

Right click on iSCSI Targets , create new Target

Click next to continue

clip_image003

Provide a Name for your New Target and Next to continue.

clip_image004

Here to define IQN Identifiers. This is used to add your identifiers (Other Nodes which will use this Target).you will need to guess this by referring to below syntax as we haven’t setup our client yet

So will come back t this to verify once we configured our client.

The syntax for IQN is – iqn.1991-05.com.microsoft:machinename.domainname.com

Here I gave my client’s IQN as I have already setup it.

Click next to proceed and click finish to complete.

clip_image005

Now we need to create Virtual disks for this Target. Get in to Create Virtual Disk wizard to do it.

clip_image006

Give a Name to New Disk and define the path as you wish.it will create a virtual disk in particular location.

clip_image007

Size of the virtual disk to be defined in MB.

clip_image008

Give a description for better identification while you work in Console.

clip_image009

Click finish to complete the disk creation.

clip_image010

Direct to Properties of the New Target. You can see here all the settings you given.

clip_image011

all the initiators you added are shown here. Also you can add more initiators if your other hosts need to use this Target (V-SAN)

clip_image012

Virtual disks are shows here in this tab

clip_image013

More Details on the disks are discoverable in root.

clip_image014

Configure Clients (Initiators) via ISCSI Initiator

This can be setup in most operating systems, tool is available in Windows 7 /Server 2008 by default so you don’t need to install this.

For Other Operating Systems = From the download earlier – get the following file for installation

iscsitargetClient_public.msi

Each and every clients should be configured for accessing the Target we created.

Find iSCSI Initiator at administrative tools and get in to the interface shown below.

clip_image015

Click Yes for the verification massage box as you get it once launching this tool for the first time.

Copy Initiator’s Name of the client by Direct to Configuration tab. Initiator Name is the Unique Name for particular client which we need to include in Initiators list in our ‘Target’.

clip_image016

Go back to Target’s Properties and insert this name in to Initiators list.

Click Add to insert

clip_image017

Paste Name Here which you copied from client and click OK.

clip_image018

Go Back to the Client and direct to ‘Discover’ Tab and click Discover Portal.

Give the IP/DNS Name of the ‘Target’, This is the place to connect to Target from clients.

clip_image019

clip_image020

Here will appear you Portal.

clip_image021

Then next is to connect to our Target. Go to Targets tab and it should appear yours as inactive bby default.

clip_image022

Click Connect to continue and click OK to connect

clip_image023

Now status becomes connected as it was success.

clip_image024

Click ‘Auto configure’ in Volumes and Devices tab. What ever the disks are created in your Target should appear here once it’s success.

clip_image025

Also disks are can be viewed via ‘Devices’ in Targets tab as shown below.

clip_image026

Map Disks to clients

Now we can map disks to each clients as required.

Get in to the disk management utility, it will appear in initialization wizard to disks, check for each disk as required and click ‘OK’ get mapped.

clip_image027

That’s all for configuring Client and our new disks are Ready to Rock and Roll……….. !!!!!!

Now You can create volumes as required.

clip_image028

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s