1752379 Members
6190 Online
108788 Solutions
New Discussion юеВ

Re: ISCSI SETUP ON HP-UX

 
SOLVED
Go to solution
Carlo Henrico_1
Regular Advisor

ISCSI SETUP ON HP-UX

Hi All

I have been trying to read up on the forums and elsewhere but am getting more confused as I go along.

I have an HP-UX 11.23 server and have installed the iscsi initiator. We have loaned an intel-based storage system which has ISCSI on it (to do a POC). I have done all kinds of things on the HP server to try and access the storage system but am now more confused than ever.

obelix2:/ (root) $ iscsiutil -p

Discovery Target Information
----------------------------

Target # 1
-----------
IP Address : 192.169.32.182
iSCSI TCP Port : 3260
iSCSI Portal Group Tag : 1

User Configured:
----------------

Authenticaton Method : None
CHAP Method : CHAP_UNI
Initiator CHAP Name :
CHAP Secret : password1234
Header Digest : None,CRC32C
Data Digest : None,CRC32C (default)

obelix2:/ (root) $ iscsiutil -l
Initiator Name : iqn.1986-03.com.hp:obelix2.Z3dfc11f3bce85c29
Initiator Alias :

Authentication Method : None
CHAP Method : CHAP_UNI
Initiator CHAP Name :
CHAP Secret : 1qazxc1qazxc
NAS Hostname : snap711058
NAS Secret : password1234
Radius Server Hostname : snap711058
Header Digest : None,CRC32C
Data Digest : None,CRC32C (default)
SLP Scope list for iSLPD :


Please help. A step-by-step dummy guide would be appreciated please!

Thanks

Carlo
Live fast, die young - enjoy a good looking corpse!
17 REPLIES 17
Asif Sharif
Honored Contributor
Solution

Re: ISCSI SETUP ON HP-UX

Carlo Henrico_1
Regular Advisor

Re: ISCSI SETUP ON HP-UX

...this being one of the confusing pages I have been to.

Live fast, die young - enjoy a good looking corpse!
Carlo Henrico_1
Regular Advisor

Re: ISCSI SETUP ON HP-UX

...the last 2 steps being:

obelix2:/ (root) $ /usr/sbin/ioscan -H 255
H/W Path Class Description
=================================
255/0 iscsi iSCSI Virtual Node
obelix2:/ (root) $ /usr/sbin/insf -H 255
obelix2:/ (root) $ iscsiutil -p -O
obelix2:/ (root) $


No errors but no success either.
Live fast, die young - enjoy a good looking corpse!
Asif Sharif
Honored Contributor

Re: ISCSI SETUP ON HP-UX

Hi Carlo,

Same thing i have simulated on 11.31, same behavior i am getting, I am working on it, and will come back ASAP.

Regards,
Asif Sharif
Regards,
Asif Sharif
Carlo Henrico_1
Regular Advisor

Re: ISCSI SETUP ON HP-UX

Thanks!
Live fast, die young - enjoy a good looking corpse!
Asif Sharif
Honored Contributor

Re: ISCSI SETUP ON HP-UX

I rebooted the system and run these commands and my disks are showing.

#PATH=$PATH:/opt/iscsi/bin
#iscsiutil -a -I 192.168.2.105 -P 3260
#iscsiutil -p -D
#ioscan -H 255
#insf -H 255
#iscsiutil -p -O
#ioscan -fnC disk

check the iswd process is running?

# ps -ef|grep iswd

Regards,
Asif Sharif
Regards,
Asif Sharif
Carlo Henrico_1
Regular Advisor

Re: ISCSI SETUP ON HP-UX

Hi Asif

I have also done all the and that process is running.

I do however see the following in the syslog:

Oct 13 13:18:53 obelix2 vmunix: 255/0: Invalid iSCSI Name format (iqn.2008-10:dss.target0) received from the target.

Carlo
Live fast, die young - enjoy a good looking corpse!
Asif Sharif
Honored Contributor

Re: ISCSI SETUP ON HP-UX

Oct 13 13:18:53 obelix2 vmunix: 255/0: Invalid iSCSI Name format (iqn.2008-10:dss.target0) received from the target.

--> Invalid iSCSI Name format (iqn.2008-10:dss.target0)

Verify that the iSCSI Name is valid.

The iSCSI Initiator Name or iSCSI Target Name is referred to as an iSCSI Name. The iSCSI Software Initiator configures a default Initiator Name in the "iqn" format. If you have changed the Initiator Name from its default using iscsiutil and the Initiator Name is in an invalid format, iSCSI login negotiation could fail leaving target devices inaccessible from the HP-UX host.

http://docs.hp.com/en/T1452-90012/ch06s02.html
Regards,
Asif Sharif
Carlo Henrico_1
Regular Advisor

Re: ISCSI SETUP ON HP-UX

Ok, change the iqn ID and now gone a step further:
obelix2:/ (root) $ iscsiutil -p -O

Operational Target Information
------------------------------

Target # 1
-----------
Target Name : iqn.2008-10.perago.com:intelstore.target0
Target Alias :
No. of Target Addresses : 1

Target Address # 1
-------------------
IP Address : 192.169.32.182
iSCSI TCP Port : 3260
iSCSI Portal Group Tag : 1

User Configured:
----------------

Authenticaton Method : None
CHAP Method : CHAP_UNI
Initiator CHAP Name :
CHAP Secret : password1234
Header Digest : None,CRC32C
Data Digest : None,CRC32C (default)


which it did not show erlier, and no more errors in the syslog.

The next step ioscan -fnC disk still does not show it...

Any other ideas?
Live fast, die young - enjoy a good looking corpse!