|
Packit |
13e616 |
OpenSM Release Notes 3.1.11
|
|
Packit |
13e616 |
=============================
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
Version: OpenFabrics Enterprise Distribution (OFED) 1.3
|
|
Packit |
13e616 |
Repo: git://git.openfabrics.org/~ofed_1_3/management.git (release)
|
|
Packit |
13e616 |
git://git.openfabrics.org/~sashak/management.git (development)
|
|
Packit |
13e616 |
Date: May 2008
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
1 Overview
|
|
Packit |
13e616 |
----------
|
|
Packit |
13e616 |
This document describes the contents of the OpenSM OFED 1.3 release.
|
|
Packit |
13e616 |
OpenSM is an InfiniBand compliant Subnet Manager and Administration,
|
|
Packit |
13e616 |
and runs on top of OpenIB. The OpenSM version for this release
|
|
Packit |
13e616 |
is openib-3.1.11
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
This document includes the following sections:
|
|
Packit |
13e616 |
1 This Overview section (describing new features and software
|
|
Packit |
13e616 |
dependencies)
|
|
Packit |
13e616 |
2 Known Issues And Limitations
|
|
Packit |
13e616 |
3 Unsupported IB compliance statements
|
|
Packit |
13e616 |
4 Major Bug Fixes
|
|
Packit |
13e616 |
5 Main Verification Flows
|
|
Packit |
13e616 |
6 Qualified software stacks and devices
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
1.1 Major New Features
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* QoS manager (experimental)
|
|
Packit |
13e616 |
This QoS manager implementation is in accordance with IBA QoS Annex.
|
|
Packit |
13e616 |
Highly configurable QoS Policy is parsed from OpenSM QoS policy file.
|
|
Packit |
13e616 |
Valid QoS parameters will be reported in SA PathRecord and
|
|
Packit |
13e616 |
MultiPathRecord. In addition simple QoS levels per ULPs configuration
|
|
Packit |
13e616 |
is supported too.
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* Performance Manager
|
|
Packit |
13e616 |
When enabled it collects a fabric port counters and able to log it or
|
|
Packit |
13e616 |
to pass to external program via event plugin interface. It handles
|
|
Packit |
13e616 |
counters overflow, supports LID/QP redirection and is able to work
|
|
Packit |
13e616 |
when OpenSM is in master, standby, and inactive states.
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* Dimension Order routing (DOR) algorithm
|
|
Packit |
13e616 |
DOR Unicast routing algorithm - based on the Min Hop algorithm, but
|
|
Packit |
13e616 |
avoids port equalization except for redundant links between the
|
|
Packit |
13e616 |
same two switches. This provides deadlock free routes for hypercubes
|
|
Packit |
13e616 |
when the fabric is cabled as a hypercube and for meshes when cabled
|
|
Packit |
13e616 |
as a mesh (see details in OpenSM man page).
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* Routing improvements
|
|
Packit |
13e616 |
Speedup the current routing algorithms default MinHops, Up/Down and
|
|
Packit |
13e616 |
LASH and lid matrix generation. Fat Tree routing engine is able to work
|
|
Packit |
13e616 |
with not pure fat free topology.
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* Multiple IB routers support
|
|
Packit |
13e616 |
OpenSM now able to keep configurable subnet prefix to router table.
|
|
Packit |
13e616 |
SA will report path to this routers when SA PathRecord was issued with
|
|
Packit |
13e616 |
non-local DGID.
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* Node map
|
|
Packit |
13e616 |
This is possible to name nodes in this config file. Those names will be
|
|
Packit |
13e616 |
used for logging and by QoS configuration.
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* PKey index support
|
|
Packit |
13e616 |
Proper support for PKey index in GSI queries.
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* Incremental LFTs, PKey, SL2VL, and VLarbitration table updates
|
|
Packit |
13e616 |
OpenSM will only fetch those tables in first heavy sweep and then
|
|
Packit |
13e616 |
will maintain this internally.
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* Fast port and switch detector
|
|
Packit |
13e616 |
When port and/or switch was externally reset and it was fast so sweep
|
|
Packit |
13e616 |
doesn't find this device as disconnected OpenSM will detect this by
|
|
Packit |
13e616 |
changed port states and handle accordingly.
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* Duplicated GUIDs/port moving detector
|
|
Packit |
13e616 |
OpenSM will be able to detect port moving during a fabric discovery
|
|
Packit |
13e616 |
and will not report duplicated GUIDs in this case.
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* Multicast rerouting speedup
|
|
Packit |
13e616 |
Now OpenSM will calculate and setup multicast forwarding tables for
|
|
Packit |
13e616 |
all altered multicast groups and not for each one.
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* Event plugin API
|
|
Packit |
13e616 |
OpenSM allows to load dynamically various plugin modules.
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* Many generic improvements
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
1.2 Minor New Features:
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* Daemon mode can be activated with -B option.
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* Support multiple scopes for IPoIB multicast groups in partition config.
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* Loopback connection handling
|
|
Packit |
13e616 |
Loopback connection is not interpreted as duplicated GUID anymore.
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* Connect root nodes option for Up/Down routing engine.
|
|
Packit |
13e616 |
When this option is specified Up/Down will create routing paths between
|
|
Packit |
13e616 |
its root nodes.
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* Dump and log filenames changed from osm* to opensm*.
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* Support loopback console
|
|
Packit |
13e616 |
Socket console with only local access.
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* Configurable config directory (the default value is /etc/opensm) and
|
|
Packit |
13e616 |
configurable default values of OpenSM config filenames.
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* Add option for force SDR link speed
|
|
Packit |
13e616 |
Add option to opensm.opts to force link speed. Currently, only forcing
|
|
Packit |
13e616 |
to SDR link speed is supported. This option is not supported as a
|
|
Packit |
13e616 |
command line option.
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* Better packaging
|
|
Packit |
13e616 |
Building and RPM packaging were improved and simplified.
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* Handle "babbling" ports
|
|
Packit |
13e616 |
When a babbling port (port which causes a frequent trap generation) is
|
|
Packit |
13e616 |
detected, OpenSM will disable the port which should terminate the trap
|
|
Packit |
13e616 |
storm.
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
1.3 Library API Changes
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
None
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
1.4 Software Dependencies
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
OpenSM depends on the installation of either OFED 1.3, OFED 1.2, OFED 1.1,
|
|
Packit |
13e616 |
OFED 1.0, OpenIB gen2 (e.g. IBG2 distribution), OpenIB gen1 (e.g. IBGD
|
|
Packit |
13e616 |
distribution), or Mellanox VAPI stacks. The qualified driver versions
|
|
Packit |
13e616 |
are provided in Table 2, "Qualified IB Stacks".
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
Also building of QoS manager policy file parser requires flex, and either
|
|
Packit |
13e616 |
bison or byacc installed.
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
1.5 Supported Devices Firmware
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
The main task of OpenSM is to initialize InfiniBand devices. The
|
|
Packit |
13e616 |
qualified devices and their corresponding firmware versions
|
|
Packit |
13e616 |
are listed in Table 3.
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
2 Known Issues And Limitations
|
|
Packit |
13e616 |
------------------------------
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* No Service / Key associations:
|
|
Packit |
13e616 |
There is no way to manage Service access by Keys.
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* No SM to SM SMDB synchronization:
|
|
Packit |
13e616 |
Puts the burden of re-registering services, multicast groups, and
|
|
Packit |
13e616 |
inform-info on the client application (or IB access layer core).
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
3 Unsupported IB Compliance Statements
|
|
Packit |
13e616 |
--------------------------------------
|
|
Packit |
13e616 |
The following section lists all the IB compliance statements which
|
|
Packit |
13e616 |
OpenSM does not support. Please refer to the IB specification for detailed
|
|
Packit |
13e616 |
information regarding each compliance statement.
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* C14-22 (Authentication):
|
|
Packit |
13e616 |
M_Key M_KeyProtectBits and M_KeyLeasePeriod shall be set in one
|
|
Packit |
13e616 |
SubnSet method. As a work-around, an OpenSM option is provided for
|
|
Packit |
13e616 |
defining the protect bits.
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* C14-67 (Authentication):
|
|
Packit |
13e616 |
On SubnGet(SMInfo) and SubnSet(SMInfo) - if M_Key is not zero then
|
|
Packit |
13e616 |
the SM shall generate a SubnGetResp if the M_Key matches, or
|
|
Packit |
13e616 |
silently drop the packet if M_Key does not match.
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* C15-0.1.23.4 (Authentication):
|
|
Packit |
13e616 |
InformInfoRecords shall always be provided with the QPN set to 0,
|
|
Packit |
13e616 |
except for the case of a trusted request, in which case the actual
|
|
Packit |
13e616 |
subscriber QPN shall be returned.
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* o13-17.1.2 (Event-FWD):
|
|
Packit |
13e616 |
If no permission to forward, the subscription should be removed and
|
|
Packit |
13e616 |
no further forwarding should occur.
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* C14-24.1.1.5 and C14-62.1.1.22 (Initialization):
|
|
Packit |
13e616 |
GUIDInfo - SM should enable assigning Port GUIDInfo.
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* C14-44 (Initialization):
|
|
Packit |
13e616 |
If the SM discovers that it is missing an M_Key to update CA/RT/SW,
|
|
Packit |
13e616 |
it should notify the higher level.
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* C14-62.1.1.12 (Initialization):
|
|
Packit |
13e616 |
PortInfo:M_Key - Set the M_Key to a node based random value.
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* C14-62.1.1.13 (Initialization):
|
|
Packit |
13e616 |
PortInfo:P_KeyProtectBits - set according to an optional policy.
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* C14-62.1.1.24 (Initialization):
|
|
Packit |
13e616 |
SwitchInfo:DefaultPort - should be configured for random FDB.
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* C14-62.1.1.32 (Initialization):
|
|
Packit |
13e616 |
RandomForwardingTable should be configured.
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* o15-0.1.12 (Multicast):
|
|
Packit |
13e616 |
If the JoinState is SendOnlyNonMember = 1 (only), then the endport
|
|
Packit |
13e616 |
should join as sender only.
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* o15-0.1.8 (Multicast):
|
|
Packit |
13e616 |
If a request for creating an MCG with fields that cannot be met,
|
|
Packit |
13e616 |
return ERR_REQ_INVALID (currently ignores SL and FlowLabelTClass).
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* C15-0.1.8.6 (SA-Query):
|
|
Packit |
13e616 |
Respond to SubnAdmGetTraceTable - this is an optional attribute.
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* C15-0.1.13 Services:
|
|
Packit |
13e616 |
Reject ServiceRecord create, modify or delete if the given
|
|
Packit |
13e616 |
ServiceP_Key does not match the one included in the ServiceGID port
|
|
Packit |
13e616 |
and the port that sent the request.
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* C15-0.1.14 (Services):
|
|
Packit |
13e616 |
Provide means to associate service name and ServiceKeys.
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
4 Major Bug Fixes
|
|
Packit |
13e616 |
-----------------
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
The following is a list of bugs that were fixed. Note that other less critical
|
|
Packit |
13e616 |
or visible bugs were also fixed.
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* osm_ucast_ftree.c: do load-leveling of non-CN routes
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* osm_ucast_ftree.c: ignore port 0 and loopbacks on switches
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* lash: fix possible segfault in osm_get_lash_sl()
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* osm_ucast_ftree.c: fixing coredump in fat-tree routing
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* osm_sa_slvl_record: fix overflow crash
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* Break multicast rerouting requests processing when heavy sweep is
|
|
Packit |
13e616 |
scheduled.
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* updn: report fallback properly
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* Fix incorrect identification of routing engine used
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* Don't zero base LID when invalid value is received
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* lash: fix wrong allocation size
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* Fixing broken logic in 'process world' part of LinkRecord processing
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* Fix lmc_mask bit order in osm_sa_link_record.c
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* Adding missing comparison by to_lid/from_lid in LinkRecord processing
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* Broken logic when scanning subnet for PIR request
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* No interactive games in daemon mode
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* Fixing memory leak in node description
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* Fix PortInfo update issues for switch port 0
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* Changed method_mask type in user_mad interface in accordance with
|
|
Packit |
13e616 |
kernel ABI
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* Use umad_get_issm_path() in osm_vendor_set_sm()
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* Report message fix
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* Uninitialized variables usage fix
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* osm_ucast_ftree.c: Possible NULL ptr seg fault
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* osm_mcast_mgr.c: Possible NULL ptr seg fault
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* TrapRepress was failing for mkey != 0
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* IB_PR_COMPMASK was used in MPR
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* Set hop limit when creating ipoib multicast groups
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* Fix outstanding mad counters tracking on the error paths.
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* Report new ports before handover mastership
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* Fix opvls and neighbormtu when remote port invalid.
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* Bug in coding trying to set vl_arb_high_limit when PortInfo.base_lid
|
|
Packit |
13e616 |
was still zero.
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* Protect SMInfo response against port moving issue.
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
5 Main Verification Flows
|
|
Packit |
13e616 |
-------------------------
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
OpenSM verification is run using the following activities:
|
|
Packit |
13e616 |
* osmtest - a stand-alone program
|
|
Packit |
13e616 |
* ibmgtsim (IB management simulator) based - a set of flows that
|
|
Packit |
13e616 |
simulate clusters, inject errors and verify OpenSM capability to
|
|
Packit |
13e616 |
respond and bring up the network correctly.
|
|
Packit |
13e616 |
* small cluster regression testing - where the SM is used on back to
|
|
Packit |
13e616 |
back or single switch configurations. The regression includes
|
|
Packit |
13e616 |
multiple OpenSM dedicated tests.
|
|
Packit |
13e616 |
* cluster testing - when we run OpenSM to setup a large cluster, perform
|
|
Packit |
13e616 |
hand-off, reboots and reconnects, verify routing correctness and SA
|
|
Packit |
13e616 |
responsiveness at the ULP level (IPoIB and SDP).
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
5.1 osmtest
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
osmtest is an automated verification tool used for OpenSM
|
|
Packit |
13e616 |
testing. Its verification flows are described by list below.
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* Inventory File: Obtain and verify all port info, node info, link and path
|
|
Packit |
13e616 |
records parameters.
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* Service Record:
|
|
Packit |
13e616 |
- Register new service
|
|
Packit |
13e616 |
- Register another service (with a lease period)
|
|
Packit |
13e616 |
- Register another service (with service p_key set to zero)
|
|
Packit |
13e616 |
- Get all services by name
|
|
Packit |
13e616 |
- Delete the first service
|
|
Packit |
13e616 |
- Delete the third service
|
|
Packit |
13e616 |
- Added bad flows of get/delete non valid service
|
|
Packit |
13e616 |
- Add / Get same service with different data
|
|
Packit |
13e616 |
- Add / Get / Delete by different component mask values (services
|
|
Packit |
13e616 |
by Name & Key / Name & Data / Name & Id / Id only )
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* Multicast Member Record:
|
|
Packit |
13e616 |
- Query of existing Groups (IPoIB)
|
|
Packit |
13e616 |
- BAD Join with insufficient comp mask (o15.0.1.3)
|
|
Packit |
13e616 |
- Create given MGID=0 (o15.0.1.4)
|
|
Packit |
13e616 |
- Create given MGID=0xFF12A01C,FE800000,00000000,12345678 (o15.0.1.4)
|
|
Packit |
13e616 |
- Create BAD MGID=0xFA. (o15.0.1.6)
|
|
Packit |
13e616 |
- Create BAD MGID=0xFF12A01B w/ link-local not set (o15.0.1.6)
|
|
Packit |
13e616 |
- New MGID with invalid join state (o15.0.1.9)
|
|
Packit |
13e616 |
- Retry of existing MGID - See JoinState update (o15.0.1.11)
|
|
Packit |
13e616 |
- BAD RATE when connecting to existing MGID (o15.0.1.13)
|
|
Packit |
13e616 |
- Partial JoinState delete request - removing FullMember (o15.0.1.14)
|
|
Packit |
13e616 |
- Full Delete of a group (o15.0.1.14)
|
|
Packit |
13e616 |
- Verify Delete by trying to Join deleted group (o15.0.1.14)
|
|
Packit |
13e616 |
- BAD Delete of IPoIB membership (no prev join) (o15.0.1.15)
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* GUIDInfo Record:
|
|
Packit |
13e616 |
- All GUIDInfoRecords in subnet are obtained
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* MultiPathRecord:
|
|
Packit |
13e616 |
- Perform some compliant and noncompliant MultiPathRecord requests
|
|
Packit |
13e616 |
- Validation is via status in responses and IB analyzer
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* PKeyTableRecord:
|
|
Packit |
13e616 |
- Perform some compliant and noncompliant PKeyTableRecord queries
|
|
Packit |
13e616 |
- Validation is via status in responses and IB analyzer
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* LinearForwardingTableRecord:
|
|
Packit |
13e616 |
- Perform some compliant and noncompliant LinearForwardingTableRecord queries
|
|
Packit |
13e616 |
- Validation is via status in responses and IB analyzer
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* Event Forwarding: Register for trap forwarding using reports
|
|
Packit |
13e616 |
- Send a trap and wait for report
|
|
Packit |
13e616 |
- Unregister non-existing
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* Trap 64/65 Flow: Register to Trap 64-65, create traps (by
|
|
Packit |
13e616 |
disconnecting/connecting ports) and wait for report, then unregister.
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* Stress Test: send PortInfoRecord queries, both single and RMPP and
|
|
Packit |
13e616 |
check for the rate of responses as well as their validity.
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
5.2 IB Management Simulator OpenSM Test Flows:
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
The simulator provides ability to simulate the SM handling of virtual
|
|
Packit |
13e616 |
topologies that are not limited to actual lab equipment availability.
|
|
Packit |
13e616 |
OpenSM was simulated to bring up clusters of up to 10,000 nodes. Daily
|
|
Packit |
13e616 |
regressions use smaller (16 and 128 nodes clusters).
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
The following test flows are run on the IB management simulator:
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* Stability:
|
|
Packit |
13e616 |
Up to 12 links from the fabric are randomly selected to drop packets
|
|
Packit |
13e616 |
at drop rates up to 90%. The SM is required to succeed in bringing the
|
|
Packit |
13e616 |
fabric up. The resulting routing is verified to be correct as well.
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* LID Manager:
|
|
Packit |
13e616 |
Using LMC = 2 the fabric is initialized with LIDs. Faults such as
|
|
Packit |
13e616 |
zero LID, Duplicated LID, non-aligned (to LMC) LIDs are
|
|
Packit |
13e616 |
randomly assigned to various nodes and other errors are randomly
|
|
Packit |
13e616 |
output to the guid2lid cache file. The SM sweep is run 5 times and
|
|
Packit |
13e616 |
after each iteration a complete verification is made to ensure that all
|
|
Packit |
13e616 |
LIDs that could possibly be maintained are kept, as well as that all nodes
|
|
Packit |
13e616 |
were assigned a legal LID range.
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* Multicast Routing:
|
|
Packit |
13e616 |
Nodes randomly join the 0xc000 group and eventually the
|
|
Packit |
13e616 |
resulting routing is verified for completeness and adherence to
|
|
Packit |
13e616 |
Up/Down routing rules.
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* osmtest:
|
|
Packit |
13e616 |
The complete osmtest flow as described in the previous table is run on
|
|
Packit |
13e616 |
the simulated fabrics.
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* Stress Test:
|
|
Packit |
13e616 |
This flow merges fabric, LID and stability issues with continuous
|
|
Packit |
13e616 |
PathRecord, ServiceRecord and Multicast Join/Leave activity to
|
|
Packit |
13e616 |
stress the SM/SA during continuous sweeps. InformInfo Set/Delete/Get
|
|
Packit |
13e616 |
were added to the test such both existing and non existing nodes
|
|
Packit |
13e616 |
perform them in random order.
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
5.3 OpenSM Regression
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
Using a back-to-back or single switch connection, the following set of
|
|
Packit |
13e616 |
tests is run nightly on the stacks described in table 2. The included
|
|
Packit |
13e616 |
tests are:
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* Stress Testing: Flood the SA with queries from multiple channel
|
|
Packit |
13e616 |
adapters to check the robustness of the entire stack up to the SA.
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* Dynamic Changes: Dynamic Topology changes, through randomly
|
|
Packit |
13e616 |
dropping SMP packets, used to test OpenSM adaptation to an unstable
|
|
Packit |
13e616 |
network & verify DB correctness.
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* Trap Injection: This flow injects traps to the SM and verifies that it
|
|
Packit |
13e616 |
handles them gracefully.
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* SA Query Test: This test exhaustively checks the SA responses to all
|
|
Packit |
13e616 |
possible single component mask. To do that the test examines the
|
|
Packit |
13e616 |
entire set of records the SA can provide, classifies them by their
|
|
Packit |
13e616 |
field values and then selects every field (using component mask and a
|
|
Packit |
13e616 |
value) and verifies that the response matches the expected set of records.
|
|
Packit |
13e616 |
A random selection using multiple component mask bits is also performed.
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
5.4 Cluster testing:
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
Cluster testing is usually run before a distribution release. It
|
|
Packit |
13e616 |
involves real hardware setups of 16 to 32 nodes (or more if a beta site
|
|
Packit |
13e616 |
is available). Each test is validated by running all-to-all ping through the IB
|
|
Packit |
13e616 |
interface. The test procedure includes:
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* Cluster bringup
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* Hand-off between 2 or 3 SM's while performing:
|
|
Packit |
13e616 |
- Node reboots
|
|
Packit |
13e616 |
- Switch power cycles (disconnecting the SM's)
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* Unresponsive port detection and recovery
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* osmtest from multiple nodes
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
* Trap injection and recovery
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
6 Qualification
|
|
Packit |
13e616 |
----------------
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
Table 2 - Qualified IB Stacks
|
|
Packit |
13e616 |
=============================
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
Stack | Version
|
|
Packit |
13e616 |
-----------------------------------------|--------------------------
|
|
Packit |
13e616 |
OFED | 1.3
|
|
Packit |
13e616 |
OFED | 1.2
|
|
Packit |
13e616 |
OFED | 1.1
|
|
Packit |
13e616 |
OFED | 1.0
|
|
Packit |
13e616 |
OpenIB Gen2 (IBG2 distribution) | 1.0
|
|
Packit |
13e616 |
OpenIB Gen1 (IBGD distribution) | 1.8.0
|
|
Packit |
13e616 |
VAPI (Mellanox InfiniBand HCA Driver) | 3.2 and later
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
Table 3 - Qualified Devices and Corresponding Firmware
|
|
Packit |
13e616 |
======================================================
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
Mellanox
|
|
Packit |
13e616 |
Device | FW versions
|
|
Packit |
13e616 |
------------------------------------|-------------------------------
|
|
Packit |
13e616 |
InfiniScale | fw-43132 5.2.000 (and later)
|
|
Packit |
13e616 |
InfiniScale III | fw-47396 0.5.000 (and later)
|
|
Packit |
13e616 |
InfiniHost | fw-23108 3.5.000 (and later)
|
|
Packit |
13e616 |
InfiniHost III Lx | fw-25204 1.2.000 (and later)
|
|
Packit |
13e616 |
InfiniHost III Ex (InfiniHost Mode) | fw-25208 4.8.200 (and later)
|
|
Packit |
13e616 |
InfiniHost III Ex (MemFree Mode) | fw-25218 5.3.000 (and later)
|
|
Packit |
13e616 |
ConnectX IB | fw-25408 2.3.000 (and later)
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
QLogic/PathScale
|
|
Packit |
13e616 |
Device | Note
|
|
Packit |
13e616 |
--------|-----------------------------------------------------------
|
|
Packit |
13e616 |
iPath | QHT6040 (PathScale InfiniPath HT-460)
|
|
Packit |
13e616 |
iPath | QHT6140 (PathScale InfiniPath HT-465)
|
|
Packit |
13e616 |
iPath | QLE6140 (PathScale InfiniPath PE-880)
|
|
Packit |
13e616 |
iPath | QLE7240
|
|
Packit |
13e616 |
iPath | QLE7280
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
Note 1: OpenSM does not run on an IBM Galaxy (eHCA) as it does not expose
|
|
Packit |
13e616 |
QP0 and QP1. However, it does support it as a device on the subnet.
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
Note 2: QoS firmware and Mellanox devices
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
HCAs: QoS supported by ConnectX. The current FW release
|
|
Packit |
13e616 |
doesn't support QoS. QoS-enabled FW release (2_5_000) is
|
|
Packit |
13e616 |
planned for May. If someone wishes to get QoS-enabled FW
|
|
Packit |
13e616 |
before the official release, they should contact Mellanox FAE.
|
|
Packit |
13e616 |
|
|
Packit |
13e616 |
Switches: QoS supported by InfiniScale III
|
|
Packit |
13e616 |
Any InfiniScale III FW that is supported by OpenSM supports QoS.
|