You may use the following method to connect your VMware ESXi 5.x host to an iSCSI SAN. Please keep in mind that this post assumes you have configured the SAN to allow the VMware host access to the appropriate LUN(s).

After logging into the vSphere Client navigate to Configuration > Networking then click Add Networking.

00

Under Connection Types select VMkernel then click Next >.

01

Select the vmnic that will be used for iSCSI traffic then click Next >. In this example it is vmnic0.

02

Type iSCSI for the Network Label: setting then click Next >.

03

Select Use the following IP settings: and enter the correct Internet Protocol (IP) address and subnet mask for your particular network then click Next > (no VMkernel Default Gateway: setting is necessary because the iSCSI traffic will exist on the same local network). In this example the IP address is 192.168.31.82 and the subnet mask is 255.255.255.0. The iSCSI traffic will exist on the 192.168.31.0/24 network.

04

On the Ready to Complete page click Finish.

05

On the  Configuration > Networking page you will now see a new switch labeled Standard Switch: vSwitch 1.

06

Next, navigate to Configuration > Storage Adapters. Right click the iSCSI Software Adapter (vmhbaxx) and select Properties….

07

Under the Network Configuration tab click Add….

08

Under Port Group select iSCSI (vSwitch 1) and click OK.

09

On the Dynamic Discovery tab click Add….

10

In the iSCSI Server: field type the IP address of the iSCSI target server then click OK. In this example it is 192.168.31.91.

11

The IP address of the iSCSI targer server should now be visible under the Dynamic Discovery and Static Discovery tab. If so, click Close.

12

13

Select Yes when prompted to rescan the host bus adapter.

14

Under the Details section of the window you should now see the LUN(s) that have been configured for use.

15

Next, navigate to Configuration > Storage then click Add Storage….

16

Under Storage Type select Disk/LUN then click Next >.

17

Select the LUN(s) then click Next >.

18

Under File System Version select VMFS-5 then click Next >.

19

After reviewing the configuration click Next >.

20

Enter a datastore name that will identify the datastore then click Next >. In this I chose openfiler01 because that is the hostname of the iSCSI SAN used in this example.

21

Under Capacity select Maximum available space then click Next >.

22

On the Disk layout: page click Finish.

23

After the VMFS datastore is created it will be visible on the Configuration > Storage page.

24

Now when you create virtual machines you may store them on this VMFS datastore.

This completes the process.

Enjoy!