Sun Microsystems, Inc.  Sun System Handbook - ISO 3.4 June 2011 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-71-1006076.1
Update Date:2010-10-28
Keywords:

Solution Type  Technical Instruction Sure

Solution  1006076.1 :   Sun StorEdge[TM] A5x00: How to determine which A5x00 interface board port is connected to a specific HBA port  


Related Items
  • Sun Storage A5200 Array
  •  
  • Sun Storage A5000 Array
  •  
Related Categories
  • GCS>Sun Microsystems>Storage - Disk>Modular Disk - Other
  •  

PreviouslyPublishedAs
208474


Description
This document is meant to aid the intrepid trouble shooter in his quest to match a specific HBA port to a photon (A5x000) port.


Steps to Follow
In order to determine which port on an A5x00 Interface-Board connects to an HBA port(Host Bus Adapter), the following two A5x00 fundamentals need to be understood:
In A5x00 architecture, the data flow connections are summarized as follows:

HBA --> IB (Interface Board)  --> front/rear drives --> IB --> rear/front drives

If an HBA is connected to IB-Port0, then: front drives --> IB-Port1 --> rear drives.

If an HBA is connected to IB-Port1, then: rear drives --> IB-Port0 --> front drives.

The last digit of the port WWN (world wide number) of the SES (SCSI Enclosure Services) device (A5x00 IB) has great significance. See the A5x00 port location table below.

Final port WWN digit

Bit Code

A5x00 soc Port

1 or 9

0001

A0

2 or a

0010

A1

3 or b

0011

B0

4 or c

0100

B1

* Explanation of abbreviation:

  soc - Serial Optical Controller

  A0 - IB-A Port 0

  A1 - IB-A Port 1

  B0 - IB-B Port 0

  B1 - 0IB-B Port 1

How can you obtain the last digit of the port WWN 

First, use "luxadm -e port" command to list out all installed HBAs on the host system.

# luxadm -e port

Found path to 2 HBA ports

/devices/pci@a,2000/pci@2/SUNW,ifp@5:devctl CONNECTED

/devices/pci@b,2000/pci@2/SUNW,ifp@5:devctl CONNECTED

Next, use "luxadm -e dump_map <one of the paths from luxadm -e port output>" to obtain port WWN of A5x00 SES device.

# luxadm -e dump_map /devices/pci@a,2000/pci@2/SUNW,ifp@5:devctl

Pos

AL_PA

ID

Hard_Addr

Port WWN

Node WWN

Type

Comment

0

ad

23

ad

21000020370df477

20000020370df477

0x0

(Disk device)

1

aa

26

aa

21000020370e2ef2

20000020370e2ef2

0x0

(Disk device)

2

75

3d

75

508002000002126a

5080020000021268

0xd

(SES device)

3

98

30

98

21000020370dfcc2

20000020370dfcc2

0x0

(Disk device)

4

8f

33

8f

21000020370e0184

20000020370e0184

0x0

(Disk device)

5

82

36

82

21000020370e0183

20000020370e0183

0x0

(Disk device)

6

1

7d

0

22000800209404a0

20000800209404a0

0x1f

(Unknown Type,Host Bus Adapter)

7

9e

2d

9e

5080020000021269

5080020000021268

0xd

(SES device)

8

b2

20

b2

21000020370e1c2a

20000020370e1c2a

0x0

(Disk device)

* Explanation of abbreviation:

Pos  -  Position or location

AL-PA - Arbitrated Loop Physical Address

Hard-Addr - Hardware address

Note that under the Type column:

0x1f --> HBA/initiator

0xd --> SES device

There may be multiple 0x1f HBA entries, but the one local to the host server will be indicated as "(Unknown Type,Host Bus Adapter)". All other 0x1f entries are probably HBAs from other host servers and are appropriately marked as "(Unknown Type)".

Using the A5x00 data flow principle, the next 0xd (SES device) entry immediately following the 0x1f (Unknown Type,Host Bus Adapter) would be used to identify the A5x00 IB port location.

So for the HBA with the path /devices/pci@a,2000/pci@2/SUNW,ifp@5, the port WWN of the SES device is 5080020000021269. The last digit is 9, so the A5x00 port location, according to above A5x00 port location table, is "A0".

Use above methodology for other paths reported from luxadm -e port output to determine other A5x00 IB port locations.

Reference Technical Instrcution <Document: 1005907.1> to decode HBA paths to a specific PCI slot# for Ultra 5 to SunBlade 1000 servers.

Reference Technical Instruction <Document: 1004664.1> to decode HBA paths to a specific SBus slot# for Ultra-Enterprise 3x00-6x00 servers.



Product
Sun StorageTek A5200 Array
Sun StorageTek A5100 Array
Sun StorageTek A5000 Array

Internal Comments
For internal Sun use only.

A5x00 data flow and IB port location table obtained from SunEd's
ST-360's A5x00 Troubleshooting Workshop class manual.


IB port, A5000, A5100, A5200, A5x000, Photon
Previously Published As
49887

Change History
Date: 2005-05-05
User Name: 7058
Action: Approved
Comment: Fixed &dash and " problems throughout doc.
Updates OK.
OK to republish.
Version: 6
Date: 2005-05-02
User Name: 7058
Action: Accept
Comment:
Version: 0

Attachments
This solution has no attachment
  Copyright © 2011 Sun Microsystems, Inc.  All rights reserved.
 Feedback