feature photo

 

 Work from Anywhere

 Freedom & Flexibility

 

 All your applications, data and services

 in one secure place.

 

 Accessible from any device, anywhere

 

  Find out more here

 

 

 

 

Lee Wynne | May 31st, 2008 | Continued

feature photo

 

 Welcome to the Future

 Cloud Consultancy

 

 Intelligent, cost effective, Citrix and 

 VMware project delivery solutions.

 

 At the world’s most cost effective rate

 

  Find out more here

 

 

 

 

 

 

 

Lee Wynne | May 31st, 2008 | Continued

  • Featured Business Solutions
  • 1
  • 2
Testimonials

About the Author

Enterprise, Citrix & VMware Consultant. Technical Author, Technical Project Management, Solution Design, Integration and Delivery. I currently work for app.delivery (www.applicationdelivery.co.uk) and for Multiple Award Winning Citrix Platinum Partner, Point to Point Ltd in the UK, prior to joining Point to Point Ltd I was the European Application Delivery Manager at HJ Heinz Co Ltd. I have been lucky enough to have worked with Citrix technology since the introduction of Winframe and I started on VMware with version 2 of ESX

See All Posts by This Author

Setting up a development environment up with VMware ESX, Virtual Center and a Windows iSCSI Target

Here is a cheap way of building an VMware ESX and Virtual Center development / demo environment with iSCSI which includes all the Virtual Center high availability functions, including HA, DRS and VCB. You will need to following to build this environment:
  1.  2 x VMware ESX servers (obviously:)
  2. 1 x Windows 2003 Server (with a fair amount of storage)
  3. A valid license from VMware or an eval license for VMware’s Virtual Infrastructure 3.

The following procedure assumes that you have 2 ESX servers built already or have the ability to do so, and that Virtual Center is up and ready.Setting up a Windows 2003 Server as a software iSCSI target.  First, you will need the iSCSI components which comes with ‘Windows Unified Storage Server’ embedded OS. 

Downloading the Microsoft iSCSI target software. 
  • Launch a browser and stick this in the address bar http://microsoft.download-ss.com/ESP/thankyou.asp?ordernumber=42472920
  • This link will take you to the registration site for Windows Unified Storage Server components, fill in the details as requested.
  • Once you receive the email click on the required link, this will take you to the download section, choose the ‘Disk 3, Microsoft iSCSI Software Target and Management.iso’ for either 32bit or 64bit.
  • Once this has downloaded, run the setup and install it on your Windows 2003 Server.
  • You are now ready to create an iSCSI target disk for your ESX servers to share.
Setting up an iSCSI target disk
  • Logon to your Windows 2003 Server
  • Navigate to the newly installed iSCSI target program files link

picture-5.png

  • Create the iSCSI target

picture-12.png

  • Give it a descriptive name

picture-11.png 

  • Add the iSCSI initiator identifiers (you can find these within Virtual Center if you select the ESX host, choose the configuration tab and then the storage adapters option, I have included both screen shots).
  • Ensure you click the advanced button and add the second ESX host’s iSCSI initiator address

picture-14.png 

(The ESX host’s iSCSI initiator address can be found within Virtual Center)                            

 picture-1.png

  •  Hit next and then review the summary screen and your finished.
Now it is time to setup the actual iSCSI disk
  •  Right click on ‘Devices’ and then choose ‘Create virtual disk’.

picture-6.png

  •  Create the path for the disk (don’t forget the vhd extension)

picture-7.png

  • Specify the size of the disk (in MB)

picture-9.png

  •  Add a description

picture-10.png

  • Next you add the iSCSI target name

picture-11.png

  • Add the iSCSI targets you created earlier (your ESX server iSCSI initiator addresses)

picture-19.png

  • Click Next and then Finish to complete the add iSCSI disk wizard

picture-20.png

Setting up your ESX hosts 
  • Logon to into Virtual Center with the Virtual Infrastructure Client 
  • Select the ESX host and then the configuration tab
  • Select the storage adapters option
  • Right click the iSCSI software initiator and choose properties

picture-1.png

  • Enable the iSCSI software initiator on both ESX hosts
  • Click on the dynamic discovery tab and then add the iSCSI target servers ip address

picture-3.png

  • Click close
Next you will need to check the ESX servers firewall configuration to ensure the iSCSI software initiator is allowed through.
  •  Again, on your ESX hosts, click on the configuration tab and then on the bottom left choose security profile.
  • Ensure the iSCSI initiator is selected
  • That’s it, if you can - reboot your ESX hosts
  • When they come back online, you will have your iSCSI shared disk available for hosting your virtual machines and testing VMotion, HA and DRS etc.  
  • You can also add the disk to a windows machine for testing VMware Backup Consolidator but that post is for another day.

Hope I have explained it well enough.

Regards,

Lee Wynne 

 

Feel free to join me on linkedin 

 

View Lee Wynne's profile on LinkedIn  

There Are 8 Responses So Far. »

  1. Very nice article. I am getting prepared to setup this very thing at home over the next month or so.

  2. Thank you. If you have any issues, feel free to comment here and I will come back to you. There is another way of doing this with a product called ‘Openfiler’ http://www.openfiler.com.

    Regards,
    Lee Wynne

  3. The iSCSI target software, after installed, is only a 90 day eval.
    Is there a way around this?
    Can this software be purchased? I thought it was a component of the Windows Storage Server product that only OEMs could sell.

  4. Hi Shawn,

    It is an eval, it is for test / dev or demo purposes.

    Regards,
    Lee Wynne

  5. …and if you’re looking for completely FREE and powerful iSCSI Target for Microsoft Windows you’re welcomed to give a try to StarWind iSCSI Target from Rocket Division Software.

    Just in case here’s an URL:

    StarWind iSCSI Target

    Arigato!

    -ichiro

  6. Thanks! may write an article on that in the future!

  7. Thank you very much!!!! really helpful!!!!

  8. Lee Wynne,
    I really like your articles and appreciate your help to those like me who just started IT field.
    If you would not mind and connect that article with “How to set up a free iSCSI or NAS storage system for VMware ESX using Openfiler”. There was a comment “You must configure the virtual switch to accomplish this. 2 ways: 1)Have the service console port and VMKernel port share a virtual switch and be in the same subnet (I would never, ever do this in production). 2)Have them on separate networks and have routing in place. If you have VMotion, then you just have 2 VMKernel ports. One for VMotion and one for iSCSI communication” by Megan. That forum unfortunately closed. I was wondering if you could explain VMKernel eather her or maybe in one of your future article especially with OpenFiler.
    With deep respect!

Post a Response

You must be logged in to post a comment.