Submit comments about this document at: http://www.sun.com/hwdocs/feedback
Copyright 2005Sun Microsystems,Inc., 4150Network Circle, Santa Clara,California 95054,U.S.A. Allrights reserved.
Sun Microsystems,Inc. hasintellectual property rights relatingto technologythat is described in this document. In particular,and without
limitation, theseintellectual propertyrights mayinclude oneor more ofthe U.S.patents listedat http://www.sun.com/patents andone or
more additionalpatents orpending patentapplications inthe U.S.and in other countries.
This documentand theproduct towhich itpertains are distributedunder licensesrestricting theiruse, copying,distribution, and
decompilation. Nopart ofthe productor ofthis document may be reproducedin anyform byany meanswithout priorwritten authorizationof
Sun andits licensors,if any.
Third-party software, including fonttechnology, is copyrightedand licensedfrom Sun suppliers.
Parts ofthe productmay bederived from Berkeley BSDsystems, licensedfrom the University of California. UNIX is a registeredtrademark in
the U.S.and inother countries,exclusively licensedthrough X/Open Company, Ltd.
Sun, SunMicrosystems, theSun logo,Java, AnswerBook2,docs.sun.com, SunVTS, Sun Fire, SunSolve,and Solarisare trademarksor registered
trademarks ofSun Microsystems,Inc. inthe U.S.and in other countries.
All SPARC trademarksare usedunder licenseand are trademarks orregisteredtrademarks ofSPARCInternational, Inc.in theU.S. andin other
countries. Productsbearing SPARC trademarksare based upon an architecturedeveloped bySun Microsystems, Inc.
The OPENLOOK andSun™ GraphicalUser Interfacewas developedby SunMicrosystems, Inc. for its users and licensees. Sun acknowledges
the pioneeringefforts ofXeroxin researchingand developingthe conceptof visualor graphicaluser interfaces for the computer industry.Sun
holds anon-exclusive licensefrom Xerox to theXerox Graphical User Interface, which license also covers Sun’s licensees whoimplement OPEN
LOOK GUIsand otherwisecomply withSun’s writtenlicense agreements.
U.S. GovernmentRights—Commercial use.Government usersaresubject tothe SunMicrosystems, Inc.standard licenseagreementand
applicable provisionsof theFAR and itssupplements.
DOCUMENTATION IS PROVIDED "AS IS" AND ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES,
INCLUDING ANYIMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FORA PARTICULAR PURPOSEOR NON-INFRINGEMENT,
ARE DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD TO BE LEGALLY INVALID.
Copyright 2005Sun Microsystems,Inc., 4150Network Circle, Santa Clara,Californie 95054,Etats-Unis. Tous droitsréservés.
Sun Microsystems,Inc. ales droits de propriétéintellectuels relatants à latechnologie quiest décritdans cedocument. Enparticulier, et sansla
limitation, cesdroits depropriétéintellectuels peuventinclure unou plusdes brevetsaméricains énumérésà http://www.sun.com/patentset
un oules brevetsplus supplémentaires ou lesapplications debrevet en attente dans les Etats-Unis et dans les autres pays.
Ce produitou documentest protégé par uncopyright etdistribué avecdes licencesqui enrestreignentl’utilisation, lacopie, ladistribution, etla
décompilation. Aucunepartie dece produitou documentne peut êtrereproduite sousaucune forme,par quelque moyen que ce soit, sans
l’autorisation préalableet écritede Sunet deses bailleursde licence,s’il yen a.
Le logicieldétenu pardes tiers,et quicomprend la technologie relative auxpolices decaractères, estprotégé par un copyright et licencié par des
fournisseurs deSun.
Des partiesde ceproduit pourront être dérivéesdes systèmesBerkeley BSD licenciés par l’Université de Californie. UNIX est une marque
déposée auxEtats-Unis etdans d’autrespays etlicenciée exclusivement par X/Open Company, Ltd.
Sun, SunMicrosystems, lelogo Sun,Java, AnswerBook2,docs.sun.com, SunVTS, Sun Fire, SunSolve,et Solarissont desmarques defabrique ou
des marquesdéposées deSun Microsystems, Inc. auxEtats-Unis etdans d’autres pays.
Toutes les marquesSPARC sont utiliséessous licenceet sontdes marques de fabriqueou desmarques déposéesde SPARC International,Inc.
aux Etats-Uniset dansd’autres pays.Les produits portant lesmarques SPARCsont baséssur unearchitecturedéveloppée parSun
Microsystems, Inc.
L’interfaced’utilisation graphiqueOPEN LOOKet Sun™a étédéveloppée parSun Microsystems, Inc. pourses utilisateurset licenciés.Sun
reconnaît lesefforts de pionniersde Xeroxpour larechercheet ledéveloppement duconcept desinterfaces d’utilisationvisuelle ougraphique
pour l’industriede l’informatique.Sun détientune licensenon exclusivede Xerox sur l’interfaced’utilisation graphiqueXerox, cettelicence
couvrant égalementles licenciéesde Sunqui mettenten placel’interface d’utilisation graphiqueOPEN LOOKet quien outre se conforment
aux licencesécrites deSun.
LA DOCUMENTATION EST FOURNIE "EN L’ÉTAT" ET TOUTES AUTRES CONDITIONS, DECLARATIONS ET GARANTIES EXPRESSES
OU TACITES SONTFORMELLEMENT EXCLUES,DANS LAMESURE AUTORISEEPAR LA LOIAPPLICABLE, YCOMPRIS NOTAMMENT
TOUTE GARANTIE IMPLICITE RELATIVE A LA QUALITE MARCHANDE, A L’APTITUDE A UNE UTILISATION PARTICULIERE OU A
L’ABSENCE DE CONTREFAÇON.
Contents
Regulatory Compliance Statementsxi
Declaration of Conformityxv
Prefacexvii
How This Book Is Organizedxvii
Using UNIX Commandsxviii
Shell Promptsxviii
Typographic Conventionsxix
Related Documentationxix
Documentation, Support, and Trainingxx
Third-Party Web Sitesxx
Contacting Sun Technical Supportxx
Sun Welcomes Your Commentsxxi
1.Product Overview1
Product Features1
Hardware Description1
I/O Interfaces3
InfiniBand Interface3
PCI-X Interface3
iii
LED Displays3
Hardware, Software, and Cable Requirements5
2.Adapter Installation7
IB-HCA Bus and Slot Selection7
▼Installing the Adapter7
▼Verifying the Installation9
3.Configuring IP Over InfiniBand11
IPoIB Configuration11
▼Configuring IPoIB11
Managing IB Devices for IPoIB13
4.InfiniBand Software Overview15
InfiniBand Software15
User Direct Access Programming Library16
IP over InfiniBand Driver16
InfiniBand Transport Framework17
InfiniBand Management Framework17
Tavor HCA Driver17
Related Software Documentation18
Manuals18
Man Pages18
A.InfiniBand Cable Pin Assignments19
B.Diagnostic Software and Troubleshooting23
SunVTS Diagnostic Testing23
Using the SunVTS ibhcatest24
▼Using the ibhcatest25
Troubleshooting Tasks25
ivSun Dual Port 4x IB Host Channel Adapter PCI-X Installation and User’s Guide • September 2005
Other Useful Utilities26
cfgadm26
snoop27
netstat27
kstat27
Index29
Contentsv
viSun Dual Port 4x IB Host Channel Adapter PCI-X Installation and User’s Guide • September 2005
viiiSun Dual Port 4x IB Host Channel Adapter PCI-X Installation and User’s Guide • September 2005
Tables
TABLE 1-1IB-HCA LEDs 3
TABLE 1-2Hardware, Software, and Cable Requirements 5
TABLE B-1SunVTS Documentation 24
ix
xSun Dual Port 4x IB Host Channel Adapter PCI-X Installation and User’s Guide • September 2005
Regulatory Compliance Statements
Your Sun product is marked to indicate its compliance class:
• Federal Communications Commission (FCC) — USA
• Industry Canada Equipment Standard for Digital Equipment (ICES-003) — Canada
• Voluntary Control Council for Interference (VCCI) — Japan
• Bureau of Standards Metrology and Inspection (BSMI) — Taiwan
Please read the appropriate section that corresponds to the marking on your Sun product before attempting to install the
product.
FCC Class ANotice
This device complies with Part 15 of the FCC Rules. Operation is subject to the following two conditions:
1. This device may not cause harmful interference.
2. This device must accept any interference received, including interference that may cause undesired operation.
Note: This equipment has been tested and found to comply with the limits for a Class A digital device, pursuant to Part 15 of
the FCC Rules. These limits are designed to provide reasonable protection against harmful interference when the equipment
is operated in a commercial environment. This equipment generates, uses, and can radiate radio frequency energy, and if it is
not installed and used in accordance with the instruction manual, it may cause harmful interference to radio communications.
Operation of this equipment in a residential areais likely tocause harmful interference,in which casethe user willbe required
to correct the interference at his own expense.
Modifications: Anymodifications madeto thisdevice thatare notapproved by Sun Microsystems, Inc.may voidthe authority
granted to the user by the FCC to operate this equipment.
FCC Class B Notice
This device complies with Part 15 of the FCC Rules. Operation is subject to the following two conditions:
1. This device may not cause harmful interference.
2. This device must accept any interference received, including interference that may cause undesired operation.
Note: This equipment has been tested and found to comply with the limits for a Class B digital device, pursuant to Part 15 of
the FCC Rules. These limits are designed to provide reasonable protection against harmful interference in a residential
installation. This equipment generates, uses and can radiate radio frequency energy and, if not installed and used in
accordance with the instructions, may cause harmful interference to radio communications. However, there is no guarantee
that interference will not occur in a particular installation. If this equipment does cause harmful interference to radio or
television reception,which can bedetermined by turningthe equipment off and on, the user is encouraged to try to correct the
interference by one or more of the following measures:
• Reorient or relocate the receiving antenna.
• Increase the separation between the equipment and receiver.
• Connect the equipment into an outlet on a circuit different from that to which the receiver is connected.
• Consult the dealer or an experienced radio/television technician for help.
Modifications: Anymodifications madeto thisdevice thatare notapproved by Sun Microsystems, Inc.may voidthe authority
granted to the user by the FCC to operate this equipment.
ICES-003 Class A Notice - Avis NMB-003, Classe A
This Class A digital apparatus complies with Canadian ICES-003.
Cet appareil numérique de la classe A est conforme à la norme NMB-003 du Canada.
xi
ICES-003 Class B Notice - Avis NMB-003, Classe B
This Class B digital apparatus complies with Canadian ICES-003.
Cet appareil numérique de la classe B est conforme à la norme NMB-003 du Canada.
BSMI Class A Notice
The following statement is applicable to products shipped to Taiwan and marked as Class A on the product compliance
label.
xiiSun Dual Port 4x IB Host Channel Adapter PCI-X Installation and User’s Guide • September 2005
CCC Class A Notice
The following statement is applicable to products shipped to China and marked with “Class A” on the product’s compliance
label.
GOST-R Certification Mark
Regulatory Compliance Statementsxiii
xivSun Dual Port 4x IB Host Channel Adapter PCI-X Installation and User’s Guide • September 2005
Declaration of Conformity
Compliance Model Number:IB-HCA
Product Family Name:Sun Dual Port 4x IB Host Channel Adapter PCI-X
EMC
USA—FCC Class A
This equipment complies with Part 15 of the FCC Rules. Operation is subject to the following two conditions:
1. This equipment may not cause harmful interference.
2. This equipment must accept any interference that may cause undesired operation.
European Union
This equipment complies with the following requirements of the EMC Directive 89/336/EEC:
As Telecommunication Network Equipment (TNE) in Both Telecom Centers and Other Than Telecom Centers per (as applicable):
EN300-386 V.1.3.1 (09-2001) Required Limits:
EN55022/CISPR22Class A
EN61000-3-2Pass
EN61000-3-3Pass
EN61000-4-26 kV (Direct), 8 kV (Air)
EN61000-4-33 V/m 80-1000MHz, 10 V/m 800-960 MHz, and 1400-2000 MHz
EN61000-4-41 kV AC and DC Power Lines, 0.5 kV Signal Lines
EN61000-4-52 kV AC Line-Gnd, 1 kV AC Line-Line and Outdoor Signal Lines, 0.5 kV Indoor signal Lines > 10m
EN61000-4-63 V
EN61000-4-11Pass
As Information Technology Equipment (ITE) Class A per (as applicable):
EN55022:1998/CISPR22:1997Class A
EN55024:1998 Required Limits:
EN61000-4-24 kV (Direct), 8 kV (Air)
EN61000-4-33 V/m
EN61000-4-41 kV AC Power Lines, 0.5 kV Signal and DC Power Lines
EN61000-4-51 kV AC Line-Line and Outdoor Signal Lines, 2 kV AC Line-Gnd, 0.5 kV DC Power Lines
EN61000-4-63 V
EN61000-4-81 A/m
EN61000-4-11Pass
EN61000-3-2Pass
EN61000-3-3Pass
Safety: This equipment complies with the following requirements of the Low Voltage Directive 73/23/EEC:
EC Type Examination Certificates:
EN60950-1:2001, 1st EditionTÜV Rheinland Certificate No.
IEC 60950-1:2001, 1st EditionCB Scheme Certificate No.
Evaluated to all CB Countries
UL 60950-1, 1st Edition, CSA C22.2 No. 60950-1-03 File:Vol.Sec.
Supplementary Information: This product was tested and complies with all the requirements for the CE Mark.
/S//S/
Dennis P. SymanskiDATE
Manager, Compliance Engineering
Sun Microsystems, Inc.
4150 Network Circle, MPK15-102
Santa Clara, CA 95054 U.S.A.
Tel: 650-786-3255
Fax: 650-786-3723
Donald CameronDATE
Program Manager
Sun Microsystems Scotland, Limited
Blackness Road, Phase I, Main Bldg
Springfield, EH49 7LR
Scotland, United Kingdom
Tel: +44 1 506 672 395Fax: +44 1 506 670 011
xv
xviSun Dual Port 4x IB Host Channel Adapter PCI-X Installation and User’s Guide • September 2005
Preface
The Sun™ Dual Port 4x IB Host Channel Adapter PCI-X Installation and User’s
Guide provides installation instructions for the Sun Dual Port 4x IB Host Channel
Adapter PCI-X card. This manual includes an overview of the adapter, supported
platforms, cable information, and related documentation.
These instructions are designed for system administrators with experience installing
network hardware and software.
Note – The Sun Dual Port 4x IB Host Channel Adapter PCI-X card is an InfiniBand
(IB) host channel adapter (HCA) card. The adapter is referred to as IB-HCA in this
manual.
How This Book Is Organized
The manual is organized as follows:
Chapter 1 provides a description of the adapter.
Chapter 2 details how to install the adapter card and cables, and how to verify the
installation.
Chapter 3 contains information for configuring Internet Protocol over InfiniBand
(IPoIB).
Chapter 4 gives an overview of the InfiniBand software.
Appendix A contains information on the InfiniBand cable and connector pin outs.
Appendix B provides an overview of the SunVTS™ diagnostic software and the
ibhcatest test. The appendix also includes some troubleshooting tasks.
xvii
Using UNIX Commands
This document might not contain information about basic UNIX® commands and
procedures such as shutting down the system, booting the system, and configuring
devices. Refer to the following for this information:
■ Software documentation that you received with your system
■ Solaris™ Operating System documentation, which is at:
http://docs.sun.com
Shell Prompts
ShellPrompt
C shellmachine_name%
C shell superusermachine_name#
Bourne shell and Korn shell$
Bourne shell and Korn shell superuser#
xviii Sun Dual Port 4x IB Host Channel Adapter PCI-X Installation and User’s Guide • September 2005
Typographic Conventions
Typeface
AaBbCc123The names of commands, files,
AaBbCc123What you type, when
AaBbCc123Book titles, new words or terms,
1 The settings on your browser might differ from these settings.
1
MeaningExamples
Edit your .login file.
and directories; on-screen
computer output
contrasted with on-screen
computer output
words to be emphasized
Command-line variable; replace
with a real name or value
Use ls -a to list all files.
% You have mail.
%
Password:
Read Chapter 6 in the User’s Guide.
These are called class options.
Yo u must be superuser to do this.
To delete a file, type rm filename.
Related Documentation
su
The following documents provide additional information regarding the IB-HCA and
related products.
Sun Dual Port 4x IB Host Channel Adapter PCI-X Release Notes (819-1281)
System Administration Guide: Devices and Files System (817-5093)
System Administration Guide: Network Services (816-4555)
Sun InfiniBand Switch Nine-Port Hardware Installation Guide (819-0504)
Sun InfiniBand Switch Nine-Port Administration Guide (819-0502)
Sun InfiniBand Switch Nine-Port Release Notes (819-1278)
PCI-X Addendum to the PCI Local Bus Specification, Revision 2.0
Prefacexix
Documentation, Support, and Training
Sun FunctionURLDescription
Documentationhttp://www.sun.com/documentation/Download PDF and HTML documents,
Sun is not responsible for the availability of third-party web sites mentioned in this
document. Sun does not endorse and is not responsible or liable for any content,
advertising, products, or other materials that are available on or through such sites
or resources. Sun will not be responsible or liable for any actual or alleged damage
or loss caused by or in connection with the use of or reliance on any such content,
goods, or services that are available on or through such sites or resources.
Contacting Sun Technical Support
If you have technical questions about this product that are not answered in this
document, go to:
http://www.sun.com/service/contacting
xx Sun Dual Port 4x IB Host Channel Adapter PCI-X Installation and User’s Guide • September 2005
Sun Welcomes Your Comments
Sun is interested in improving its documentation and welcomes your comments and
suggestions. You can submit your comments by going to:
http://www.sun.com/hwdocs/feedback
Please include the title and part number of your document with your feedback:
Sun Dual Port 4x IB Host Channel Adapter PCI-X Installation and User’s Guide, part
number 819-1280-10
Prefacexxi
xxii Sun Dual Port 4x IB Host Channel Adapter PCI-X Installation and User’s Guide • September 2005
CHAPTER
1
Product Overview
This chapter provides an overview of the Sun Dual Port 4x IB Host Channel Adapter
PCI-X card and includes the following sections:
■ “Product Features” on page 1
■ “Hardware Description” on page 1
■ “I/O Interfaces” on page 3
■ “LED Displays” on page 3
■ “Hardware, Software, and Cable Requirements” on page 5
Product Features
Sun Dual Port 4x IB Host Channel Adapter PCI-X card features include:
■ Dual 10 Gb/sec (4x) InfiniBand ports
■ Integrated serializer/deserializer (SerDes)
■ PCI-X Revision 2.2-compatible
■ 64-bit or 32-bit 133 MHz PCI-X
■ InfiniBand Trade Association (IBTA) version 1.1 interoperability
■ Dual copper connectors (MicroGigaCN)
Hardware Description
The Sun Dual Port 4x IB Host Channel Adapter PCI-X card is an InfiniBand (IB) host
channel adapter (HCA) card and is referred to as the IB-HCA in this manual. This
adapter is a PCI-X Revision 2.2, 64-bit, 133MHz compatible card with dual 4x
MicroGigaCN InfiniBand-compliant connectors for copper cables.
the IB-HCA card.
FIGURE 1-1 shows
1
The board characteristics are:
■ Power: approx. 12 watts total
■ Low profile PCI form-factor card (approx. 2.5 in. by approx. 6.7 in.)
■ Requires 4x InfiniBand cables
■ 3.3V PCI-X or PCI slot (Note that the IB-HCA can not be plugged into a 5V
connector.)
■ Link status indication LED
■ Two 4x InfiniBand (IB) ports
■ Two faceplate sizes: standard and low profile
The standard PCI/PCI-X interface is used for data traffic, management traffic, and to
generate and receive inbound configuration packets.
Low profile faceplate
Standard faceplate
FIGURE 1-1 Sun Dual Port 4x IB Host Channel Adapter PCI-X Card
2Sun Dual Port 4x IB Host Channel Adapter PCI-X Installation and User’s Guide • September 2005
I/O Interfaces
The IB-HCA includes the following interfaces:
■ Two 4x InfiniBand copper connectors
■ PCI-X 64-bit 133 MHz edge connector
InfiniBand Interface
The IB-HCA provides two 4x InfiniBand v1.1 connector (or ports) for external
copper cables and is IBTA specification 1.1-compliant.
PCI-X Interface
The PCI-X bus is a PCI-X version 2.2-compliant 64-bit 133 MHz interface. The
adapter can be either a master initiating the PCI bus operations or a slave
responding to PCI bus operations. The PCI/PCI-X bus can connect to a host CPU in
an HCA application.
LED Displays
Two InfiniBand ports connectors are located on the front panel of the adapter. Each
port has two LEDs, as shown in
TABLE 1-1.
FIGURE 1-2. An explanation of the LEDs is given in
TABLE 1-1IB-HCA LEDs
ColorMeaning
GreenPhysical Link – The physical link LED illuminates once the Tavor
driver is successfully attached to the port.
AmberLogical Link – The logical link LED illuminates once the InfiniBand
port is in the Up state. This LED also blinks when there is traffic on
the port.
Chapter 1 Product Overview3
Physical link
(Green LED)
FIGURE 1-2 LED Layout
Logical link
(Amber LED)
4Sun Dual Port 4x IB Host Channel Adapter PCI-X Installation and User’s Guide • September 2005
Hardware, Software, and Cable
Requirements
The hardware, software, and cable requirements for the Sun Dual Port 4x IB Host
Channel Adapter PCI-X card are listed in
TABLE 1-2Hardware, Software, and Cable Requirements
SunVTS Version 6.0 Patch Set 1 and subsequent compatible releases
Supported Cables
X9280A
X9281A
Sun 4x-to-12x InfiniBand cable, 2 meter length
Sun 4x-to-12x InfiniBand cable, 5 meter length
TABLE 1-2.
Note: Use only supported cables to ensure reliable InfiniBand
interface connections. These cables can be ordered from Sun
Microsystems, Inc.
Chapter 1 Product Overview5
6Sun Dual Port 4x IB Host Channel Adapter PCI-X Installation and User’s Guide • September 2005
CHAPTER
2
Adapter Installation
This chapter describes how to install the adapter in your system and verify that it
has been installed correctly.
IB-HCA Bus and Slot Selection
For optimal performance, the IB-HCA card should be installed in the fastest
available bus, preferably a 133 MHz PCI-X bus. But the IB-HCA can operate on the
slower PCI-X and PCI buses. The IB-HCA should also be installed on its own PCI
leaf. Plugging the IB-HCA card into a PCI leaf shared by another (slower) device can
result in lower performance.
▼ Installing the Adapter
Caution – Electronic components on printed circuit boards are extremely sensitive
to static electricity. Ordinary amounts of static electricity generated by your clothing
or work environment can damage the electronic equipment. When installing the IBHCA in a system, use anti-static grounding straps and antistatic mats to help
prevent damage due to electrostatic discharge.
Note – Refer to your system installation or service manual for detailed instructions
for the following steps.
1. Power off your server, using the standard shut down procedures described in the
Solaris Handbook for Sun Peripherals or your system service manual.
The Solaris Handbook for Sun Peripherals is shipped with the Solaris Operating System
software and is available on the http://docs.sun.com web site.
7
2. Remove the cover from the unit to access the card slots and connectors.
3. Select an available 3.3 Volt PCI-X or PCI slot and remove the blank front panel.
If you are replacing an existing card, remove the card.
4. Install the IB-HCA card into the slot, pushing the card’s edge connector into the
connector on the chassis.
Ensure that the front plate on the IB-HCA card mounts flush with the chassis panel
opening.
5. If applicable, install the screw in front plate to secure the IB-HCA card into the
chassis.
6. Connect the 4x end of the InfiniBand I/O cable(s) to the IB-HCA port connector(s).
Ensure that the connectors are properly engaged.
Caution – Avoid putting unnecessary stress on the connection. Do not bend or twist
the cable near the connectors and avoid cable bends of more than 90 degrees.
Note – On the Sun Fire V20z, remove the top cover when connecting or
disconnecting the InfiniBand I/O cable.
7. Replace the cover on the unit.
8. If not already connected, connect the 12x end of the InfiniBand I/O cable(s) to the
appropriate ports on the InfiniBand switch.
See FIGURE 2-1 for a typical adapter to switch cabling example.
9. Turn power back on to the system and allow the server to reboot.
8Sun Dual Port 4x IB Host Channel Adapter PCI-X Installation and User’s Guide • September 2005
This completes the hardware installation. Proceed to the verification instructions in
Before you can verify the installation, you must install the adapter in the chassis,
power the server, and cable it to an operational InfiniBand switch. The InfiniBand
switch should automatically recognize InfiniBand servers when they are connected
to the fabric.
1. Check that the green LED is illuminated for each port that is connected to the
switch.
If the green LED is not on, check the cable connections at the adapter and at the
switch. Also check if the Tavor driver is attached to the port. See “Troubleshooting
Tasks” on page 25 for details.
Chapter 2 Adapter Installation9
2. Check that the amber LED is illuminated for each port that is connected to the
switch.
If the amber LED is not on, refer to Appendix B, “Diagnostic Software and
Troubleshooting” on page 23 for more information.
10Sun Dual Port 4x IB Host Channel Adapter PCI-X Installation and User’s Guide • September 2005
CHAPTER
3
Configuring IP Over InfiniBand
This chapter contains the following sections:
■ “IPoIB Configuration” on page 11
■ “Managing IB Devices for IPoIB” on page 13
IPoIB Configuration
IP Over InfiniBand (IPoIB) is automatically configured when the system is booted.
The following procedure can be used when making changes to your configuration.
See System Administration Guide: Basic Administration (817-1985) for Solaris setup
information.
▼ Configuring IPoIB
1. Confirm that the IB-HCA ports are up.
To do this, type the command:
# dmesg | grep tavor
The output shows recently printed diagnostic messages that have the string
“tavor” in the message. Included in the output is a message that tells whether the
port is up or down.
11
For example:
Dec 10 16:41:05 hostname pcplusmp: [ID 637496 kern.info] pcplusmp: pci15b3,5a44
(tavor) instance 0 vector 0x1c ioapic 0x4 intin 0x0 is bound to cpu 1
Dec 10 16:41:05 hostname pci_pci: [ID 370704 kern.info] PCI-device:
pci15b3,5a44@0, tavor0
Dec 10 16:41:05 hostname genunix: [ID 936769 kern.info] tavor0 is
/pci@0,0/pci1022,7450@b/pci15b3,5a46@1/pci15b3,5a44@0
Dec 10 16:41:05 hostname tavor: [ID 548581 kern.info] tavor0: FW ver:
Dec 10 16:41:06 hostname tavor: [ID 979957 kern.info] NOTICE: tavor0:
port 1 up (link width: 4x)
Refer to dmesg(1M) for more information.
2. Create the InfiniBand devices using the following command:
# devfsadm -C
A /dev/ibdn device is created for each IB-HCA port in the system where n is the
port number. Refer to devfsadm(1M) for more information.
3. Verify InfiniBand devices.
Check that the InfiniBand devices were created. To do this, type the following
command:
# ls -l /dev/ibd*
A list of InfiniBand devices (/dev/ibd*) is displayed.
4. Plumb each of the IB devices.
To do this, type the following command for each IB-HCA port in the system:
# ifconfig ibdn plumb host-ipv4-address up
where
n is the instance number of the interface and host-ipv4-address is the designated
IPv4 address for the device.
If you are using IPv6, use the following command instead:
# ifconfig ibdn inet6 plumb host-ipv6-address up
12Sun Dual Port 4x IB Host Channel Adapter PCI-X Installation and User’s Guide • September 2005
5. Verify that the devices are plumbed.
To do this, type the command:
# ifconfig -a
The output includes information on the IB devices.
6. Check that data can be send over the InfiniBand link.
Use the ping command to send ICMP (ICMP6) ECHO_REQUEST packets and
receive ICMP (ICMP6) ECHO_RESPONSE packets between InfiniBand hosts. For
example:
# ping host-ip-address
where
host-ip-address is the IP address of another IB host. See ping(1M) for details.
Repeat this procedure on all hosts that are connected to the IB switch.
Managing IB Devices for IPoIB
For information on managing the IB devices, see the System Administration Guide:Devices and Files System (817-5093).
Chapter 3 Configuring IP Over InfiniBand13
14Sun Dual Port 4x IB Host Channel Adapter PCI-X Installation and User’s Guide • September 2005
CHAPTER
4
InfiniBand Software Overview
This chapter includes the following topics:
■ “InfiniBand Software” on page 15
■ “Related Software Documentation” on page 18
InfiniBand Software
The InfiniBand software is included in the Solaris 10 Operating System. FIGURE 4-1
shows a block diagram of the InfiniBand software stack which includes the
following modules:
■ Solaris 10 SPARC® Platform Edition or Solaris 10 X86 Platform Operating
Systems
■ User Direct Access Programming Library (uDAPL)
■ IP over InfiniBand Driver (IPoIB)
■ InfiniBand Transport Framework (IBTF)
■ InfiniBand Management Framework (IBMF)
■ Tavor HCA Driver
15
Solaris 10 OS
uDAPL
IPoIB
IBMFIBTF
Software
Tavor HCA Driver
IB-HCA
Port 1Port 2
FIGURE 4-1 InfiniBand Software Stack
F/W
Hardware
User Direct Access Programming Library
This library supports service providers written according to the uDAPL 1.2
specification. Sun provides default service provider modules to support the Tavor
HCA driver.
IP over InfiniBand Driver
The IPoIB driver implements the IETF IPoIB protocol and provides IPoIB services for
all IB-HCA ports present in the system. This driver enables the standard Solaris
TCP/IP stack to operate over Infiniband. The link layer driver encapsulates IPv4/6
packets, adds IB multicast support, extends ARP/ND address resolution, and
changes the network stack to support link addresses greater than 6 bytes.
16Sun Dual Port 4x IB Host Channel Adapter PCI-X Installation and User’s Guide • September 2005
InfiniBand Transport Framework
IBTF is the Solaris implementation of the InfiniBand Transport Layer (IBTL). IBTF
consists of InfiniBand Device Manager (IBDM), InfiniBand Communications
Manager (IBCM) and an InfiniBand Nexus driver. The Nexus driver along with
IBDM creates and manages InfiniBand devices. The following devices are supported:
■ IB I/O controller (IOC) devices
■ IB pseudo devices
■ IB service devices
■ HCA, port, virtual physical point of attachment (VPPA) service devices
See ib(4) and ib(7d) for details.
IBCM provides a transport layer abstraction to IB clients to set up reliable connected
channels along with service, multicast, and path lookup-related functionality. See
ibcm(7d) for details.
InfiniBand Management Framework
IBMF is a complementary component to IBTF that enables IB clients to provide and
access management services over the IB fabrics. It has two logical components. One
component deals with sending and receiving management data to any type of
management entity. The other component deals with sending and receiving
management data to the Subnet Administrator (SA) only. Since every IB client needs
to send and receive management data to the SA, IBMF provides functions that
specifically handle the SA interaction.
Tavor HCA Driver
The Tavor HCA driver controls the Tavor hardware and enables the transfer of data
over the IB wire. This driver interfaces with the IBTF and provides an
implementation of Channel Interfaces that are defined by IBTF. It also enables
management applications and agents to access the IB fabric.
Chapter 4 InfiniBand Software Overview17
Related Software Documentation
Manuals
■ System Administration Guide: Devices and Files System (817-5093)
For information on InfiniBand devices, see the System Administration Guide:Devices and Files System (817-5093)
■ System Administration Guide: Network Services (816-4555)
For general information on the InfiniBand network, see the System AdministrationGuide: Network Services (816-4555).
■ Sun Cluster 3.x Hardware Administration Manual for Solaris OS
For information on administering Sun Cluster hardware, see the Sun Cluster 3.x
Hardware Administration Manual for Solaris OS (817-0168)
Note – You can view or print Sun documentation at the following web site:
http://www.sun.com/documentation
Man Pages
■ cfgadm_ib(1M) – InfiniBand hardware-specific commands for cfgadm
■ ibmf(7) – InfiniBand Management Transport Framework
■ daplt(7D) – Tavor uDAPL service driver
■ ib(7D) – InfiniBand Bus Nexus Driver
■ ibcm(7D) – InfiniBand Communication Manager
■ ibd(7D) – Infiniband IPoIB device driver
■ ibdm(7D) – Solaris InfiniBand device manager
■ tavor(7D) – InfiniBand (IB) Tavor driver
18Sun Dual Port 4x IB Host Channel Adapter PCI-X Installation and User’s Guide • September 2005
APPENDIX
A
InfiniBand Cable Pin Assignments
FIGURE A-1 shows the InfiniBand cable connectors and pin assignments.
19
P1 (12X)P2 (4X)
G1
S1
S2
G9
S47
PAIR 1
PAIR 2
PAIR 3
PAIR 4
PAIR 5
PAIR 6
PAIR 7
PAIR 8
G
S1
S2
G
S3
S4
G
S5
S6
G
S7
S8
G
S41
S42
G
S43
S44
G
S45
S46
G
S47
S48
G
SHELL
G25
S48
S16
S2
G1
S16
S15
G2
S14
S13
G3
S12
S11
G4
S10
S9
G5
S8
S7
G6
S6
S5
G7
S4
S3
G8
S2
S1
G9
SHELL
S15
S1
G1
PAIR 1
PAIR 2
PAIR 3
PAIR 4
PAIR 5
PAIR 6
PAIR 7
PAIR 8
FIGURE A-1 Sun 4x-to-12x InfiniBand Cable Pin Assignments
20 Sun Dual Port 4x IB Host Channel Adapter PCI-X Installation and User’s Guide • September 2005
APPENDIX
B
Diagnostic Software and
Troubleshooting
This appendix provides an overview of the SunVTS™ diagnostic application and
troubleshooting tips for checking the adapter. There is also a section outlining some
common troubleshooting issues. This appendix contains the following sections:
■ “SunVTS Diagnostic Testing” on page 23
■ “Troubleshooting Tasks” on page 25
■ “Other Useful Utilities” on page 26
SunVTS Diagnostic Testing
The SunVTS software executes multiple diagnostic hardware tests from a single user
interface, and is used to verify the configuration and functionality of most hardware
controllers and devices. The SunVTS software operates primarily from a graphical
user interface, enabling test parameters to be set quickly and easily while a
diagnostic test operation is being performed.
Note – SunVTS diagnostic software is not currently available for Solaris x86
Operating Systems.
Refer to the SunVTS documents (listed in
and monitor the nettest diagnostic. These SunVTS documents are available online
at the following URL:
Describes the new SunVTS features and tests, including
the ibhcatest.
Describes the SunVTS diagnostic environment.
Describes each SunVTS test and describes the various
test options and command-line arguments.
Provides an overview of the user interface.
Using the SunVTS ibhcatest
The ibhcatest diagnostic test checks the functionality of Sun Dual Port 4x IB Host
Channel Adapter PCI-X card. This test can be run from the SunVTS user interface, or
it can be run from the command line. See the SunVTS 6.0 Test Reference Manual
(817-7665) for more information about the ibhcatest test.
The ibhcatest diagnostic test is included in the SunVTS 6.0 Patch Set 1 and
subsequent SunVTS software releases. SunVTS 6.0 Patch Set 1 is available for
downloading from the SunSolve
following patch numbers:
■ SPARC: patch 118962-01, or higher
■ X86: patch 118961-01, or higher
SM
web site http://sunsolve.sun.com using the
The adapter and Tavor device driver must be installed, and the IB port interface
must be configured offline for the ibhcatest to run. A loopback cable is not
needed because ibhcatest includes an internal loopback test. Use the following
procedure when running the ibhcatest.
24 Sun Dual Port 4x IB Host Channel Adapter PCI-X Installation and User’s Guide • September 2005
▼ Using the ibhcatest
1. Ensure that the SunVTS software and the Tavor driver are installed on your
system.
To do this, type the following command:
# pkginfo SUNWvts SUNWvtsx SUNWtavor
If a SunVTS software package is not installed, refer to the SunVTS User’s Guide for
installation instruction. If the SUNWtavor package is not installed, check your
Solaris Operating System documentation for software package information.
2. Unplumb the interface from the system, using the ifconfig command:
# ifconfig ibdn down unplumb
where
n is the instance number of the interface.
3. Refer to SunVTS 6.0 PS1 Documentation Supplement (819-1804) for instructions on
how to run ibhcatest.
Troubleshooting Tasks
The following tasks can be useful when troubleshooting the IB-HCA and the link.
■ Verify that the InfiniBand software packages are installed on the host. To do
this, type the command:
pkginfo -l | egrep “InfiniBand | Tavor | udapl”
Check that the following packages are installed:
■ SUNWib – Sun InfiniBand Framework
■ SUNWtavor – Sun Tavor HCA Driver
■ SUNWipoib – Sun IP over InfiniBand
■ SUNWudaplr – Direct Access Transport (DAT) registry package (root)
■ SUNWudaplu – Direct Access Transport (DAT) registry packages (usr)
■ SUNWudapltr – Service Provider for Tavor packages (root)
■ SUNWudapltu – Service Provider for Tavor packages
Appendix BDiagnostic Software and Troubleshooting25
If an InfiniBand software package is not installed, check your Solaris Operating
System documentation for software package information.
■ Check the system log or console for Tavor driver error messages.
See tavor(7D) for error messages and descriptions. When the driver is attached
to a port on the adapter, the following message is sent.
tavorn: port m up (link width 4x).
In the message,
n is the instance of the Tavor device number and m is the port
number on the adapter.
One way to check Tavor messages is by typing the following command:
# dmesg | grep tavor
Other Useful Utilities
These utilities can display status and other information about InfiniBand devices:
■ cfgadm
■ snoop
■ netstat
■ kstat
cfgadm
The cfgadm utility displays status and other information about the IB-HCA and
IB fabric. See cfgadm_ib(1M) for details. For example:
# cfgadm -al
Ap_IdTypeReceptacleOccupantCondition
hca:21346543210a987 IB-HCA connected configured ok
ib IB-FABRIC connected configured ok
ib::80020123456789a IB-IOC connected configured ok
ib::802abc9876543 IB-IOC connected unconfigured unknown
ib::80245678,ffff,ipib IB-VPPA connected configured ok
ib::12245678,0,nfs IB-PORT connected configured ok
ib::21346543,0,hnfs IB-HCA_SVC connected configured ok
ib::sdp,0 IB-PSEUDO connected configured ok
26 Sun Dual Port 4x IB Host Channel Adapter PCI-X Installation and User’s Guide • September 2005
snoop
The snoop program captures and inspects network packets. See the snoop(1M)
man page for details. For example:
# snoop -d ibd1
Using device /dev/ibd1 (promiscuous mode)
ib-1-167 -> * ARP C Who is 199.1.1.168, ib-1-168 ?
ib-1-168 -> ib-1-167 ARP R 199.1.1.168, ib-1-168 is
0:2:4:7:0:0:0:0:a:4:7c:4f:0:2:c9:2:0:0:55:91
ib-1-167 -> ib-1-168 ICMP Echo request (ID: 35608 Sequence number: 0)
ib-1-168 -> ib-1-167 ICMP Echo reply (ID: 35608 Sequence number: 0)
netstat
netstat shows network status. See the netstat(1M) man page for details. For