On Fri, Jun 27, 2008 at 10:05:31AM -0500, Andrew M. Hettinger wrote:
> The b77 target is horribly out of date, and likely has a number of
> bugs. I would recommend upgrading your opensolaris box. (current is
> b91) I haven't used HP-UX, at the initiator, but I am using 3-4
> different initiators/HBAs with b86 and it seems to be performing great
> (I plan on moving to 91 shortly).
Just upgraded to b91 and see the same problem:
(solaris target)
# iscsitadm list tpgt -v
TPGT: 1
IP Address: 192.168.1.15 <-- hp-ux initiator IP
# iscsitadm list target -v
Target: tww/opt/hpvm/2g
iSCSI Name: iqn.1986-03.com.sun:02:d0774d84-2a4a-6f8d-ee11-da6fcfd0e481
Alias: tww/opt/hpvm/2g
Connections: 0
ACL list:
TPGT list:
TPGT: 1
LUN information:
LUN: 0
GUID: 0
VID: SUN
PID: SOLARIS
Type: disk
Size: 2.0G
Backing store: /dev/zvol/rdsk/tww/opt/hpvm/2g
Status: online
(hp-ux 11.23/IA initiator)
# /opt/iscsi/bin/iscsiutil -p
Discovery Target Information
----------------------------
Target # 1
-----------
IP Address : 192.168.1.15
iSCSI TCP Port : 3260
iSCSI Portal Group Tag : 1
User Configured:
----------------
Authenticaton Method : None
CHAP Method : CHAP_UNI
Initiator CHAP Name :
CHAP Secret :
Header Digest : None,CRC32C (default)
Data Digest : None,CRC32C (default)
/var/adm/syslog/syslog.log
Jun 28 02:35:03 saitou islpd[1423]: SLPFindSrvs failed:
Connection timed out
Jun 28 02:36:16 saitou vmunix: 255/0: Invalid key value
(192.168.1.15,1) received from the
target for
Jun 28 02:36:16 saitou vmunix: TargetAddress key.
> Also, see what happens if you disable CHAP on both ends. If it starts
> working, then you probably have a problem where you have only set up
> one way in each direction, and on each machine it was the opposite.
> (CHAP can be used by either side to authenticate the other, having
> each side trying to authenticate, but neither side configured to
> accept the authentication is not an unheard of problem)
I haven't changed any of the default CHAP settings.
I ran snoop on the solaris host and captured the transaction between
both hosts. The HP-UX initiator sends a login command, then a text
command to SendTargets=All. The Solaris target then responds with the
TargetName and TargetAddress=192.168.1.15,1. Seems the HP-UX initiator
doesn't like the TargetAddress. If I remove the TPGT from the
tww/opt/hpvm/2g target:
# iscsitadm delete target --tpgt 1 tww/opt/hpvm/2g
the TargetAddress response is still "192.168.1.15,1". How do I get rid
of the ",1" in the TargetAddress response?
If I then remove TPGT #1:
# iscsitadm list tpgt -v
I still get TargetAddress=192.168.1.15,1 as a response.
--
albert chin ([EMAIL PROTECTED])
_______________________________________________
storage-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/storage-discuss