• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Yellow Bricks

by Duncan Epping

  • Home
  • ESXTOP
  • Stickers/Shirts
  • Privacy Policy
  • About
  • Show Search
Hide Search

Back to Basics: Using the vSphere 5.1 Web Client to configure iSCSI

Duncan Epping · Sep 14, 2012 ·

In this article I will take you through the steps required to setup iSCSI using the vSphere 5.1 Web Client. In most iSCSI environment the VMware software iSCSI adapter is used, so that is what I will use. I had already setup a storage VMkernel NIC in one of my previous post, read that if you haven’t yet. Adding a software adapter can be done in a couple of simple steps:

  • On the “Manage” section of your host click on “Storage”
  • Click the green “plus” and select “Software iSCSI adapter”
  • Click “OK”
  • Now a new adapter will be added to the “Storage Adapters” list

Now we will need to configure this “iSCSI Software Adapter”:

  • Select the newly added adapter under “Storage Adapters”
  • Click on “Targets” and then “Add”
  • Enter the fully qualified domain name or the IP address of the iSCSI target and click “OK”
  • If the target and devices do not show up you can do a rescan of the storage by click the server icon with the green bar underneath

If after a rescan it still doesn’t show up it could be that the iSCSI target uses CHAP authentication for instance. You can find this on the “Properties” view of the iSCSI software adapter at the bottom. Note that for those who want to use multiple VMkernel NICs there is the option to do “Network Port Binding” in the Web Client.

Adding a VMFS Datastore
Now that there are devices attached to your host you can create a VMFS datastore. The process for this is simple. The device (LUN) can either be iSCSI, FCoE or FC based. This how you create a VMFS datastore:

  • Go to your host under “vCenter” —> “Hosts and Clusters”
  • Click on “Related Objects”
  • Click on “Datastores”
  • Click the datastore icon with the green plus
  • Provide a name for the datastore and click “Next”
  • Select “VMFS datastore” and click “Next”
  • Select the correct “Device” and click “Next”
  • Select “VMFS 5” (only if all hosts in the cluster are ESXi 5.0 or higher) click “Next”
  • Select “Use all available partitions” in the “Partition Configuration” dropdown and click “Next”
  • Click “Finish”

Now a new VMFS datastore will be created. After is has been created vCenter will automatically do a rescan on all hosts in your cluster. Note that in some cases a second rescan is required before the hosts sees the new VMFS volume. You can see these rescan tasks in the “Recent Tasks” pane on the upper right.

Share it:

  • Tweet

Related

Server, Storage 5.1, back 2 basics, iscsi, Storage, vSphere

Reader Interactions

Comments

  1. Ram says

    14 September, 2012 at 13:53

    Can you install and share the procedure to configure on virtual storage appliance pls….

    • Duncan Epping says

      14 September, 2012 at 14:04

      You mean the VMware Virtual Storage Appliance aka VSA? (how to install and configure it?)

      • Ram says

        14 September, 2012 at 18:25

        Yes – If possible in NESTED environment (vesxi 5.1)

  2. cercacasa.it says

    20 February, 2013 at 12:07

    Mentioned previously at first on this article, the United States offers
    a wide array of holiday destinations, that are certain to you should pretty much anyone.
    Through the national park systems, towards the
    a huge number of kilometers of coastline, the United States delivers
    something for anyone. Next time you are planning to
    traveling, use the ideas out of this report to help
    you select the best place to go for you.

  3. Keith says

    14 July, 2013 at 16:13

    I’m following you.r directions (which are awesome) for OpenFiler iSCSCI access. This is all on VMWare Workstation 9 with two ESXi 5.1 “hosts”, vCenter Server appliance, openfiler 2.99.

    The iSCSI HBA doesn’t see the device mapping for the target LUN (same /dev/vmnet2 LAN etc etc, all pingable etc).

    I don’t see in the above where you map the “Network Storage” vmk to the iSCSI adapter, and when I go to make that mapping, none of the vmks I made in your previous tutorial are compliant… ideas on what to do next? Cheers

  4. Oscar Mas says

    4 January, 2014 at 22:42

    Thanks a lot, very well howto 😉

Primary Sidebar

About the author

Duncan Epping is a Chief Technologist in the Office of CTO of the Cloud Platform BU at VMware. He is a VCDX (# 007), the author of the "vSAN Deep Dive", the “vSphere Clustering Technical Deep Dive” series, and the host of the "Unexplored Territory" podcast.

Upcoming Events

Feb 9th – Irish VMUG
Feb 23rd – Swiss VMUG
March 7th – Dutch VMUG
May 24th – VMUG Poland
June 1st – VMUG Belgium

Recommended Reads

Sponsors

Want to support Yellow-Bricks? Buy an advert!

Advertisements

Copyright Yellow-Bricks.com © 2023 · Log in