How i can install and configure Starwind iscsi san for my VMware lab?
Well, read below!
- Create an SAN volume
- 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.
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.
Accept the agreement and click Next.
Click on Next.
Choose path destination and click on Next.
Select Full Installation and click on Next.
Click on Next
If you have already downloaded the license file, click on Next.
Enter the license file path and click on Next.
Check you license file configuration and click on Next
Click on Install
Select Always trust software from “StarWind” and click on Install.
Click on Finish
You can see now the Management Console starting.
After the Starwind Management console open. Click on Starwind Server and select Targets.
Choose Virtual Hard Disk and click on Next.
Select Image File Device and click on Next.
Select Create new virtual disk and click on Next.
Enter path where to store the Virtual Disk (don’t forget to add *.img) and choose the size.Click on Next.
Select Asynchronous mode and click on Next.
Select Write-back catching and click on Next.
Select Create a new target, enter Target Alias. Click on Next.
Verify if all is ok for you and click on Next.
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.
By now we have a SAN Volume for our Esxi servers. We can leave the StarWind server and connect on a Vcenter or Esxi.
When connect to our Vcenter, select the esxi server, then go to configuration and select Storage adapters.
Click on Add.
Click on Add Software ISCSI Adpater.
Click on OK.
Now you can see a new vmhba (vmhba33). Click on Properties.
Click on Configure and enter the ISCSI Name. Don’t forget to select the Status to Enabled. Click on Ok.
You can see on the vmhba33 properties, the General tab with the iscsi name and alias.
Select Dynamic Discovery tab and click on Add.
Enter the FQDN of your StarWind server and click on OK.
Go on Static Discovery tab, all information should be already there. Click on Ok.
A rescan must be done after the configuration change. Click on Ok.
By now, when you select the new adapter (vmhba33) you can see:
- Connected Target
Please remember that this configuration is for a lab!
Now, click on Storage, then Add Storage.
Select Disk / Lun then click on Next.
Now a new LUN appears, click on Next.
Select the file system version depending from your esxi server version. Click on Next.
Click on Next to format the blank disk. Click on Next.
Enter the new LUN Name and click on Next.
Select the capacity you need , click on Next.
Check your information and click on finish.
Now you new SAN LUN appears in the storage view.
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.