iSCSI presentation with a virtualized vSphere Host

iSCSI presentation with a virtualized vSphere Host

Hi,

This is my first post to my blog, hope it comes useful for someone Smiley Happy

Situation:

1 host with Fedora 16 and Workstation 8 on it

1 ESXi 5.0 Ent+ virtualized in that Workstation (bridged mode for networking)

1 host with Openfiler

Same LAN for hosts and VMs

Symptom:

After trying to present the LUNs in the Openfiler appliance to the virtual ESXi VM, no devices were showing. No datastore was available to be added.

Ping is ok.

vmkping is ok.

Chap is ok.

Paths are showing in software iSCSI initiator.

Cause:

Workstation tries to enable promiscuous mode in "vmnet0" of the host containing the ESXi VM with a user that doesn't have permisson to do it.

Solution:

Add the desired user the appropiate permissons to do it. For instance:

chmod a+rw /dev/vmnet0

With this command you will add "a" or "all" users...good enough for my lab enviroment Smiley Happy You could also specify a user or create a group with the desired users in it with the +rw permissons.

Ok...that was short Smiley Happy Hope it helped you!

Regards,

elgreco81

Version history
Revision #:
1 of 1
Last update:
‎10-03-2012 10:16 AM
Updated by: