InfoDoc ID | Synopsis | Date | ||
49887 | Sun StorEdge[TM] A5x00:Info Doc:How to Determine Destination A5x00 IB Port from HBA Connection | 14 Jan 2003 |
Status | Issued |
Description |
In order to determine which port on the A5x00 Interface-Board that a HBA port is connected to, the following two A5x00 fundamentals need to be understood:
In an A5x00 architecture, the dataflow connections is summarized below:
HBA --> IB --> Either front/rear drives --> IB --> Either front/rear drives
If HBA is connected to IB-0, then: front drives --> IB-1 --> rear drives.
If HBA is connected to IB-1, then: rear drives --> IB-0 --> front drives.
The last digit of the port WWN of the SES device (A5x00 IB) have great significance. (See A5x00 port location table below; obtain port WWN of SES device from luxadm -e dump_map)
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 |
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
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) |
Note that under the Type column:
0x1f --> HBA/initiator
0xd --> SES device
There maybe 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 dataflow 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 HBA with 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 Infodoc #21216 to decode HBA paths to a specific PCI slot# for Ultra 5 to SunBlade 1000 servers.
Reference Infodoc#22759 to decode HBA paths to a specific SBus slot# for Ultra-Entreprise 3x00-6x00 servers.
Reference Infodoc#27432 to decode HBA paths to a specific IO Boat/PCI slot# for Sun Fire 3800-6800 servers.
INTERNAL SUMMARY:A5x00 Dataflow and IB port location table obtained from SunEd's ST-360's A5x00 Troubleshooting Workshop class manual.
SUBMITTER: Vincent Tram APPLIES TO: Hardware/Disk Storage Subsystem/StorEdge Disk Array/StorEdge A5000, Storage ATTACHMENTS: