leiw324
Contributor
Contributor

ESXi 4.0 can't connect to iscsi-target

Hello

Here's my step to coonect iscsi-target:

1. Open vSphere Client

2. Click Configuration

3. Click Propertes

4. Click Dynamic Discovery

5. Click Add > iSCSI Server: 172.16.1.218 (no CHAP)

6. Click all OK button

But it can't display on Storage Adapters

Please help !

Thank !

0 Kudos
24 Replies
jhiraldo
Contributor
Contributor

What kind of storage is your target (Netapp, EMC, HP, or .....)?

0 Kudos
ablej
Hot Shot
Hot Shot

Just to be clear have you setup a VMkernel port? Also check out the VMware iSCSI setup guide.

David Strebel

www.holy-vm.com

If you find this information useful, please award points for "correct" or "helpful"

David Strebel www.david-strebel.com If you find this information useful, please award points for "correct" or "helpful"
0 Kudos
leiw324
Contributor
Contributor

Hello

I'm using Linux iscsi-target.

I just created the VMkernel port, it can show me the iscsi storage in .......

And then goto Storage to Add storage, but it can't detect the iscsi storage.

0 Kudos
krowczynski
Virtuoso
Virtuoso

Can you ping your Storage from the console of your ESXi host?

MCP, VCP

MCP, VCP3 , VCP4
0 Kudos
leiw324
Contributor
Contributor

Yes, can ping between two machines.

Do you skilled on Linux iscsi-target ? if yes, I can post the iscsi-target information to you.

Thank !!

0 Kudos
krowczynski
Virtuoso
Virtuoso

Not really, but what storage are you using?

MCP, VCP

MCP, VCP3 , VCP4
0 Kudos
leiw324
Contributor
Contributor

IBM system x 3200 M2 Linux Centos5.3 with iscsi-target and DRBD

0 Kudos
krowczynski
Virtuoso
Virtuoso

Oh about thid unforunately I haven't got any issue.

But if I see the screen properly it mus be somethign wrong with you storage config.

Can you send me the screen of your vmkernel port config?

MCP, VCP

MCP, VCP3 , VCP4
0 Kudos
leiw324
Contributor
Contributor

0 Kudos
krowczynski
Virtuoso
Virtuoso

My config looks like this.

Why you don't have different networks for Service Console an vmkernel?

MCP, VCP

MCP, VCP3 , VCP4
0 Kudos
leiw324
Contributor
Contributor

I don't understand, could you tech me ?

Thank !

0 Kudos
leiw324
Contributor
Contributor

Here's IP address information:

ESXi : 172.16.1.217

Linux iscsi-target server : 172.16.1.218

no VLAN ....

Thank !

0 Kudos
krowczynski
Virtuoso
Virtuoso

Have you opend Port 3260 on your ESXi host?

MCP, VCP

MCP, VCP3 , VCP4
0 Kudos
leiw324
Contributor
Contributor

How to delete the VMkernel Port vmk1 172.16.1.218 ?

I think this is wrong ...

0 Kudos
krowczynski
Virtuoso
Virtuoso

Just delete Portgroup on the vswitch!!

MCP, VCP

MCP, VCP3 , VCP4
0 Kudos
leiw324
Contributor
Contributor

How can I know the 3260 port is open in ESXi ? I didn't do anything on port ....

But I can't telnet 3260 port from another Windows XP machine.

0 Kudos
leiw324
Contributor
Contributor

Is the setting correct ? if yes, I don't want to delete it ...

0 Kudos
DSTAVERT
Immortal
Immortal

How can I know the 3260 port is open in ESXi ? I didn't do anything on port ....

But I can't telnet 3260 port from another Windows XP machine.

You need to make sure the 3620 port is open on the LINUX iscsi-target machine.

Check the firewall ports on the linux machine.

-- David -- VMware Communities Moderator
0 Kudos
leiw324
Contributor
Contributor

Here's the Linux iscsi-target port information:

root@san01 ~# netstat -a | grep iscsi

tcp 0 0 *:iscsi-target : LIST

tcp 0 0 *:iscsi-target : LIST

udp 0 0 *:iscsi :

# tgtadm --lld iscsi --op show --mode target

Target 1: iqn.2008-08.com.example:rhcs-storage

System information:

Driver: iscsi

State: ready

I_T nexus information:

LUN information:

LUN: 0

Type: controller

SCSI ID: deadbeaf1:0

SCSI SN: beaf10

Size: 0 MB

Online: Yes

Removable media: No

Backing store: No backing store

LUN: 1

Type: disk

SCSI ID: deadbeaf1:1

SCSI SN: beaf11

Size: 1599957 MB

Online: Yes

Removable media: No

Backing store: /dev/drbd0

Account information:

ACL information:

all

Also I added an IP address in Virtual Switch:

7199_7199.JPG

0 Kudos