How i can install and configure Starwind iscsi san for my VMware lab?

Well, read below!

Goals:

  • Create an SAN volume

Requirements:

  • First of all you need to download the product here!
  • Don’t forget to download license file too!
  • Install a VM with Windows 2008 R2 up to date.
  • Add another disk (300 Go) to store the ISCSI virtual disk.
  • Have at least 2 Esxi 4.1 or above.

StarWind Installation

Ok, now we have a new server W2K8 R2 up to date, and just added in our AD domain.

Launch StarWind ISCSI setup, this screen appears, click on Next.install-image-01

Accept the agreement and click Next.install-image-02

Click on Next.

install-image-03

Choose path destination and click on Next.install-image-04

Select Full Installation and click on Next.install-image-05

Click on Next

install-image-06

If you have already downloaded the license file, click on Next.install-image-07

Enter the license file path and click on Next.install-image-08

Check you license file configuration and click on Nextinstall-image-09_0

Click on Install

install-image-010

Select Always trust software from “StarWind” and click on Install.install-image-011

Click on Finish

install-image-012

You can see now the Management Console starting.install-image-013

 StarWind Configuration

After the Starwind Management console open. Click on Starwind Server and select Targets.

configuration-images-01

Choose Virtual Hard Disk and click on Next.configuration

Select Image File Device and click on Next.configuration

Select Create new virtual disk and click on Next.configuration

Enter path where to store the Virtual Disk (don’t forget to add *.img) and choose the size.Click on Next.configuration

Select Asynchronous mode and click on Next.configuration

Select Write-back catching and click on Next.configuration

Select Create a new target, enter Target Alias. Click on Next.configuration

Verify if all is ok for you and click on Next.configuratio

A succesful message should appears giving you the target name (we will need it in order to setup our Esxi servers after that).

Click on Finish.configuratio

By now we have a SAN Volume for our Esxi servers. We can leave the StarWind server and connect on a Vcenter or Esxi.

Esxi configuration

When connect to our Vcenter, select the esxi server, then go to configuration and select Storage adapters.

Click on Add.starwind-esxi-01

Click on Add Software ISCSI Adpater.

starwind-esxi-02

Click on OK.

starwind-esxi-03

Now you can see a new vmhba (vmhba33). Click on Properties.starwind-esxi-04

Click on Configure and enter the ISCSI Name. Don’t forget to select the Status to Enabled. Click on Ok.

starwind-esxi-05

You can see on the vmhba33 properties, the General tab with the iscsi name and alias. starwind-esxi-06

Select Dynamic Discovery tab and click on Add.starwind-esxi-07

Enter the FQDN of your StarWind server and click on OK.starwind-esxi-08

Go on Static Discovery tab, all information should be already there. Click on Ok.starwind-esxi-09

A rescan must be done after the configuration change. Click on Ok.starwind-esxi-010

By now, when you select the new adapter (vmhba33) you can see:

  • Connected Target
  • Devices
  • Paths

Please remember that this configuration is for a lab!

starwind-esxi-011

Now, click on Storage, then Add Storage.starwind-esxi-012

Select Disk / Lun then click on Next.starwind-esxi-013

Now a new LUN appears, click on Next.starwind-esxi-014

Select the file system version depending from your esxi server version. Click on Next.starwind-esxi-015

Click on Next to format the blank disk. Click on Next.starwind-esxi-016

Enter the new LUN Name and click on Next.starwind-esxi-017

Select the capacity you need , click on Next.starwind-esxi-018

Check your information and click on finish.starwind-esxi-019

Now you new SAN LUN appears in the storage view. starwind-esxi-020

Any new virtual machine must be stored on a LUN seen by several esxi in order to set features like HA (High availabilty) and DRS (Distribued Resouces Scheduler) fo vsphere environement.