User Manual
Rev 4.70
Mellanox Technologies
127
• It verifies the existing inventory, with all the object fields, and matches it to a pre-saved
one.
• A Multicast Compliancy test.
• An Event Forwarding test.
• A Service Record registration test.
• An RMPP stress test.
• A Small SA Queries stress test.
It is recommended that after installing opensm, the user should run "osmtest -f c" to generate the
inventory file, and immediately afterwards run "osmtest -f a" to test OpenSM.
Additionally, it is recommended to create the inventory when the IB fabric is stable, and occa-
sionally run "osmtest -v" to verify that nothing has changed.
14.3.15.1osmtest Synopsis
14.3.15.2osmtest Options
The table below lists the various flags of the command.
osmtest [-f(low) <c|a|v|s|e|f|m|q|t>] [-w(ait) <trap_wait_time>] [-d(ebug) <num-
ber>] [-m(ax_lid) <LID in hex>] [-g(uid)[=]<GUID in hex>] [-p(ort)] [-i(nventory)
<filename>] [-s(tress)] [-M(ulticast_Mode)] [-t(imeout) <milliseconds>] [-l | --
log_file] [-v] [-vf <flags>] [-h(elp)]
Table 28 - osmtest Flags and Options
Flag Description
-f, --flow This option directs osmtest to run a specific flow. The following is the
flow’s description:
• c = create an inventory file with all nodes, ports and paths
• a = run all validation tests (expecting an input inventory)
• v = only validate the given inventory file
• s = run service registration, deregistration, and lease test
• e = run event forwarding test
• f = flood the SA with queries according to the stress mode
• m = multicast flow
• q = QoS info: dump VLArb and SLtoVL tables
• t = run trap 64/65 flow (this flow requires running of external tool, default
is all flows except QoS)
-w, --wait This option specifies the wait time for trap 64/65 in seconds It is used
only when running -f t - the trap 64/65 flow (default to 10 sec)
-d, --debug This option specifies a debug option. These options are not normally
needed. The number following -d selects the debug option to enable
as follows:
OPT Description
--- -----------------
-d0 - Ignore other SM nodes
-d1 - Force single threaded dispatching
-d2 - Force log flushing after each log message
-d3 - Disable multicast support