Sun System Handbook - ISO 3.4 June 2011 Internal/Partner Edition | |||
|
|
Solution Type Technical Instruction Sure Solution 1013016.1 : How to decode Port World Wide Names (PWWNs) and Procedure to Determine and Map the CU & LDEV Information to a LUN Number
PreviouslyPublishedAs 217817 Procedure for decoding PWWNs and determining CU:LDEV vs LUN assignment
Applies to:Sun Storage 9985 System - Version: Not ApplicableSun Storage 9990 System - Version: Not Applicable and later [Release: N/A and later] Sun Storage 9970 System - Version: Not Applicable and later [Release: N/A and later] Sun Storage 9960 System - Version: Not Applicable and later [Release: N/A and later] Sun Storage 9980 System - Version: Not Applicable and later [Release: N/A and later] All Platforms Reviewed for currency 15-May-2011 GoalDecode the PWWN from Oracle StorageTek 99xx storage subsystems and/or determine LUN (host device) versus CU:LDEV (subsystem internal device) assignment.SolutionDecode the Port World Wide NodenameSteps to Follow 50060E80TTSSSSCP Table 1: HDS PWWN Field breakdown
Table 2: CP Value for 9900 Series
Example: 500060e802791812 Type=02 = 9900 series Serial number = 0x7918 = 31000 CP= 12 = CL-2 port C Physical location: CL-2 CHA card is located in card slot V (CHA-V) Table 3: 4-Port CHA card port locations (SE9900 & SE9900V)
Table 4: CP Value for 9900V Series (9980 and 9970)
Example: 50060e8003f52d04 Type=03 = 9900V Serial Number = 0xf52d = 62765 CP=04 = CL-1 port E. For 4-Port CHA cards, the port assignments are the same as the 9900 Series in Table 3. Table 5: 8-Port CHA card port locations
Table 6: CP Value for 9990 Series (9990 and 9985)
Example : 50060e8004275531 Type 04 = 9990 Serial number 0x2755 = 10069 CP = 31 = Cluster-2 logical port 4B Looking at Table 7, the physical port location is in CL-2 basic CHA (CHA-2Q) port 6 Table 7: 9990 CHA port locations
2. How to determine the CU:LDEV information, from the output of format -e command or iostat -E command.2.1 Let's say you have more than one subsystem attached to your host or you just need to find CU and/or LDEV information of a disk, from the O/S point of view: # format -e select disk format> scsi scsi> inquiry You will see an output such as.. Inquiry: 00 00 02 02 77 00 00 02 48 49 54 41 43 48 49 20 ....w...HITACHI 4f 50 45 4e 2d 39 20 20 20 20 20 20 2d 53 55 4e OPEN-9 -SUN 32 31 30 39 30 34 35 30 39 44 35 44 30 30 41 45 210904509D5D00AE
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 02 05 05 00 04 00 ff 00 21 01 00 e0 8b 27 a2 b5 ........!....'.. 20 01 00 e0 8b 27 a2 b5 00 00 00 ....'..... The number we want is 210904509D5D00AE . 2109 The first 4 digits represent the Microcode version of the sub-system. 0450 Next 4 digits are not explained at this time. 9D5D This is the subsystem serial/mfg number in hex . 00 This is the CU number in the subsystem. AE This is the LDEV ID within the above CU group. 2.2 Alternate method is to run/view the output from the iostat -E command, helpful when reviewing Explorer files: sd60 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0 Vendor: HITACHI Product: OPEN-L Size: 36.45GB <36449648640 bytes> Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0 Illegal Request: 0 Predictive Failure Analysis: 0 The - SUN Revision: 2109 is the Microcode version . The Serial No: 04509D5D00AE is decoded similar to item 2.1 above. 3. How to determine the CU:LDEV information from an MPxIO controlled device, using the output of format command.# format 14. c7t50060E800000000000009D5D0000 /scsi_vhci/ssd@g50060e800000000000009d5d000000ae 15. c7t50060E800000000000009D5D0000 /scsi_vhci/ssd@g50060e800000000000009d5d000000af The Four characters immediately preceding the "d" map out the CU and LDEV ID of the LUN. In this case disk #14 is CU: 00 LDEV: AE , and disk #15 is CU:00 LDEV: AF . 4. Using the output of luxadm display to:Map CU:LDEVs to a SCSI LUN number Map a MPxIO controller number back to the physical controller numbers. The output below is derived from the explorer: $ more luxadm_display_500060e8027d3d04.out DEVICE PROPERTIES for disk: 500060e8027d3d04 <--The HDS port WWN being displayed Vendor: HITACHI Product ID: OPEN-E -SUN Revision: 0119 Serial Num: 04007D3D000A Unformatted capacity: 13893.047 MBytes Write Cache: Enabled Read Cache: Enabled Minimum prefetch: 0x0 Maximum prefetch: 0x0 Device Type: Disk device Path(s): /dev/rdsk/ c2 t500060E80000000000007D3D0000 000A d0s2 /devices/scsi_vhci/ssd@g500060e80000000000007d3d0000000a:c,raw Controller /devices/ssm@0,0/pci@1a,600000/SUNW,qlc@1/fp@0,0 Device Address 500060e8 027d3d04,80 Note: Using the decoding instructions above: 02 = 9960 d3d4 = Serial Number in Hex = 54228 04 = Cluster 1 port E 80 = LUN number in Hex = LUN 128 Host controller port WWN 210000e08b927965 Class primary State ONLINE
Controller /devices/ssm@0,0/pci@1b,600000/SUNW,qlc@1/fp@0,0 Device Address 500060e8027d3d 14 ,80 Note: Same LUN (80) mapped to Cluster 2 port E (Refer to Table 3) Host controller port WWN 210000e08b92e265 Class primary State ONLINE Note: Conclusions from the above output: c2t500060E80000000000007D3D0000000Ad0s2 maps to these physical controllers: /devices/ssm@0,0/pci@1a,600000/SUNW,qlc@1/fp@0,0 /devices/ssm@0,0/pci@1b,600000/SUNW,qlc@1/fp@0,0 From the explorer output, we can also map these paths to their physical controller number: $ from ls-l_dev_cfg.out c7 -> ../../devices/ssm@0,0/pci@1a,600000/SUNW,qlc@1/fp@0,0:fc c8 -> ../../devices/ssm@0,0/pci@1b,600000/SUNW,qlc@1/fp@0,0:fc CU:LDEV 00:0A = LUN 128
@ Internal Comments Note: Vendor PWWN can be decoded online at: http://decoder.aus http://decoder.aus HDS, 9900, 9910, 9960, 9900V, 9970, 9980, 9990, 9985, wwn decode, wwpn decode, cu, ldev, cu:ldev, world, wide, name, wwnn, wwpn, wwn Previously Published As 87799 Change History Date: 2007-11-02 User Name: 31620 Action: Approved Comment: Verified Metadata - ok Verified Keywords - ok Verified still correct for audience - currently set to contract Audience left at contract as per FvF at http://kmo.central/howto/content/voyager-contributor-standards.html Checked review date - added 1yr to make it 2008-11-15 Checked for TM - ok as presented Publishing under the current publication rules of 18 Apr 2005: Version: 13 Date: 2007-10-30 User Name: 100761 Action: Approved Comment: Doc verified and is ready to be published. Thanks Andy for fixing the parsing issue. - Srinivas. Attachments This solution has no attachment |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|