VMware Cloud Community
dandelo
Contributor
Contributor

vmkiscsi-tool changes in 3.5??

Hopefully someone can help me out. I've set up software iscsi initiators in ESX many times, but in the 3.5 release I'm getting strange errors about not finding valid OIDs. I know that the device changed from vmhba40 to vmhba32, but it doesn't seem to matter. I've also noticed what look like some new vmkiscsi commands, but they aren't documented, even -h doesn't do anything. A manpage would be nice. I have setup the iscsi portgroup on a separate vSwitch and I included a service console vswif on the same subnet/vSwitch. Any help would be great, I'm probably just missing something simple. I'm using the Solaris 10 iscsi target

# esxcfg-swiscsi -e

Enabling software iSCSI...

# esxcfg-firewall -e swISCSIClient

# vmkiscsi-tool -D -a 10.10.15.1 vmhba32

Could not find valid OIDs for adapter vmhba32

# vmkiscsi-tool -D -a 10.10.15.1 vmhba40

Could not find valid OIDs for adapter vmhba40

# esxcfg-vswitch -l

Switch Name Num Ports Used Ports Configured Ports MTU Uplinks

vSwitch0 64 4 64 1500 vmnic0

PortGroup Name VLAN ID Used Ports Uplinks

VM Network 3 0 vmnic0

Service Console 3 1 vmnic0

Switch Name Num Ports Used Ports Configured Ports MTU Uplinks

vSwitch1 64 5 64 1500 vmnic1

PortGroup Name VLAN ID Used Ports Uplinks

iscsi 15 1 vmnic1

SC_iscsi 15 1 vmnic1

# esxcfg-vmknic -l

Interface Port Group IP Address Netmask Broadcast MAC Address MTU TSO MSS Enabled

vmk2 iscsi 10.10.15.3 255.255.255.240 10.10.15.15 00:50:56:75:5a:6f 1500 40960 true

# esxcfg-vswif -l

Name Port Group IP Address Netmask Broadcast Enabled DHCP

vswif0 Service Console 10.10.10.10 255.255.255.0 10.10.10.255 true false

vswif1 SC_iscsi 10.10.15.2 255.255.255.240 10.10.15.15 true false

    1. On the Solaris BOX ###

# iscsitadm list target -v

Target: iscsi01

iSCSI Name: iqn.1986-03.com.sun:02:1d2b6b1b-3ae8-cf8b-def2-b9510a319768.iscsi01

Connections: 0

ACL list:

TPGT list:

LUN information:

LUN: 0

GUID: 0

VID: SUN

PID: SOLARIS

Type: disk

Size: 270G

Backing store: /dev/vx/rdsk/rootdg/iscsi_lun0

Status: online

Tags (2)
0 Kudos
1 Reply
dandelo
Contributor
Contributor

I solved the problem. I just thought I would post in case anyone else has this same issue. I ended up having to use vmhba33 instead of vmhba32 for some reason. I don't have Virtual Center access on the box I'm playing with, but my friend said that vmhba32 is showing up in virtual center belonging to the boards SATA controller. If I do a esxcfg-vmhbadevs -q I don't see any mention of the vmhba32 though. Oh well, now I just need to figure out why my iscsi speeds are so slow. Maybe it has something to do with this vmhba32/33 problem. Anyone have any ideas?

# esxcfg-vmhbadevs -q

vmhba33:3:0 /dev/sdd

vmhba4:0:0 /dev/sda

vmhba4:1:0 /dev/sdb

0 Kudos