EMC VMAX HP-UX V Flag

来源:互联网 发布:淘宝导航自定义代码 编辑:程序博客网 时间:2024/05/16 10:47

Volume Set Addressing

 
What the heck is volume set Addressing.
And how do i use it to See LUNS above 7 from my HPUX N4000 server with A6795A & A5158A HBAs
For the following storage.
IBM Shark F-800
HDS 9970V
HDS 9960
HDS 9570
EMC Symmetrix 8430, 8530, DMX - 800

Why do i need this limitation on hpux servers, where as on SUN and NT I can easily see any lun created.
  •  All Forum Topics
  •  Previous Topic
  • Next Topic 
1 REPLY
Eugeny Brychkov
 
Eugeny Brychkov
 Honored ContributorHONORED CONTRIBUTOR

Re: Volume Set Addressing

 
VSA mode is used for disk arrays. Driver bound should be 'fcparray' (not 'fcpdev'). It's responsibility of disk array to tell hpux host that it should use VSA (there's special request made by hpux OS to check what the device is - disk array [VSA] or target device [TAM - target addressing mode]).
You need to check with your disk arrays' documentation if they're certified for hpux and how to set their 'hpux' behavior.
Also please remember that in hpux FC LUN number is coded in three last numbers separated by dot, i.e.
0/8/0/0.8.0.4.0.3.5
LUN number is 0.3.5, 5+3*8+0*128=29 (LUN #29). To make hpux see newly create LUN run 'ioscan -fn' and 'insf -e' or simply reboot the host
Eugeny
Home page


===========================================================================================

VSA in 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
  • All Forum Topics
  • Previous Topic
  • Next Topic
3 REPLIES
Alzhy
Honored ContributorHonored Contributor

Re: VSA in HPUX

VSA info:

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

Hakuna Matata.
Michael_556
Advisor

Re: VSA in 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
krusty
Honored ContributorHonored Contributor

Re: VSA in HPUX

Michael,

I'm not sure what storage device you are using, but it sounds like it is not using VSA. VSA is used by all HP disk arrays, to the best of my knowledge.

HPUX is based on the SCSI standard using Bus/Target/LUN. The device files are created based on this. You will note if you map sequential LUNs on you storage device, HPUX will create the devices as shown here:

LUN 0 cXt0d0
LUN 1 cXt0d1
LUN 2 cXt0d2
'
LUN 7 cXt0d7
LUN 8 cXt1d0
LUN 9 cXt1d1
'
LUN 15 cXt1d7
LUN 16 cXt2d0
'

and so forth. X is the instance of the controller, but is not pertinent here anyway.

I have seen some storage arrays whereas they will increment the target, rather than the LUN as shown above. This would give the results you are seeing. I believe the device is using Peripheral Device Addressing. I'm not sure what are are trying to do here. Do you have an ioscan and type of storage device?

Curt

"In Vino Veritas" 






============================================================================


VSA in HPUX

Michael_556
 
Michael_556
 ADVISOR

VSA in 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
  •  All Forum Topics
  •  Previous Topic
  • Next Topic 
3 REPLIES
Alzhy
 
Alzhy
 Honored ContributorHONORED CONTRIBUTOR

Re: VSA in HPUX

 
VSA info:

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

Hakuna Matata.
Michael_556
 
Michael_556
 ADVISOR

Re: VSA in 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
krusty
 
krusty
 Honored ContributorHONORED CONTRIBUTOR

Re: VSA in HPUX

 
Michael,

I'm not sure what storage device you are using, but it sounds like it is not using VSA. VSA is used by all HP disk arrays, to the best of my knowledge.

HPUX is based on the SCSI standard using Bus/Target/LUN. The device files are created based on this. You will note if you map sequential LUNs on you storage device, HPUX will create the devices as shown here:

LUN 0 cXt0d0
LUN 1 cXt0d1
LUN 2 cXt0d2
'
LUN 7 cXt0d7
LUN 8 cXt1d0
LUN 9 cXt1d1
'
LUN 15 cXt1d7
LUN 16 cXt2d0
'

and so forth. X is the instance of the controller, but is not pertinent here anyway.

I have seen some storage arrays whereas they will increment the target, rather than the LUN as shown above. This would give the results you are seeing. I believe the device is using Peripheral Device Addressing. I'm not sure what are are trying to do here. Do you have an ioscan and type of storage device?

Curt

0 0