1824940 Members
4053 Online
109678 Solutions
New Discussion юеВ

VSA and HPUX

 
Michael_556
Advisor

VSA and HPUX

Hi

We have a target with some LUNs that we want to work with an HPUX host which has HPUX HBA.
We want to work in VSA (Volume Set Addressing ) mode.
In this mode we can work with larger LU numbers (16k) by setting bit 6 in the first byte of the LUN. This will cause for example LUN 1 to appear as LUN 4001h in the Finisar (FC) trace.

The problem is that sometimes our LU number are not sequential - not 4000h,4001h,4002h but
4000h,4007h,4010h for example.
However i could see that HPUX searches LUNs not sequntial but it is jumping 8 numbers
(4000h,4008h,4010h).
I also saw that if the HPUX found for example an active LUN in 4008h then it will inquiry LUNs 4009h-400fh, however if no active LUN is found in 4008h then it will skip to LUN 4010h.
And that means that if i do not have a LUN whose number is 4008h that means that HPUX will not see any LUNs in 4009h-400fh.

Is there a way to solve it?
Is there something special i should return in inquiry commands (regular and page 80h) to the HPUX?

Thanks,
Michael
5 REPLIES 5
Steven E. Protter
Exalted Contributor

Re: VSA and HPUX

Give the web server a few minutes to get back online and then look at this doc:

http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&admit=-682735245+1104939645225+28353475&docId=200000067424466

It tells how to renumber instance numbers and might prove useful.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Alzhy
Honored Contributor

Re: VSA and HPUX

VSA on HP-UX is best explained in the FCMS Chapter of the HP-UX Software Reocvery Handbook. The link is:

http://www1.itrc.hp.com/service/iv/docDisplay.do?docId=prodITRC/DE_SW_UX_swrec_EN_01_E/FibreChannel.pdf

It is only supposedly available for support contract customers.
Hakuna Matata.
Michael_556
Advisor

Re: VSA and HPUX

Hi

For some reason i can not see this doc because i can not login (although i do have a user).
Can you please send this doc to :
micbarca@walla.co.il ?

Thanks,
Michael

Re: VSA and HPUX

Michael,

Is this a HPUX11.00 box? This sounds like the old sequential LUN numbering problem - basically to save time the ioscan command used to look at LUN0 on a given SCSI target, and if it found nothing wouldn't bother looking at LUNs 1-7. So what you would see in a trace is exactly what you would decribed. This was fixed many years ago by patch PHKL_21607:

http://www4.itrc.hp.com/service/patch/patchDetail.do?BC=patch.breadcrumb.main|patch.breadcrumb.search|&patchid=PHKL_21607&context=hpux:800:11:00

Look at SR 8606132288.

PHKL_21607 has been superseded many times, so you should check if you have any of the superseded patches installed already as well.

If this isn't HPUX11.00, but is in fact 11.11 or 11.23, then I guess the problem may be something else (although it sounds related) as these versions have always had this fix in them.

HTH

Duncan

I am an HPE Employee
Accept or Kudo
Dineshkumar Surpur
Frequent Advisor

Re: VSA and HPUX

Can somebody send me a link for the FCMS Chapter of the HP-UX Software Recovery Handbook applicable to 11i v2 for itanium machines which should talk about VSA modes. The old referece given was for hpux 11 released in 2002.