User Manual

OpenSM – Subnet ManagerRev 2.1-1.0.6
Mellanox Technologies
148
Small SA Queries stress test
8.3.1 Syntax
osmtest [OPTIONS]
where OPTIONS are:
-f, --flow This option directs osmtest to run a specific flow:
Flow 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 = 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 = 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
-m, --max_lid This option specifies the maximal LID number to be
searched for during inventory file build (Default = 100)
-g, --guid This option specifies the local port GUID value with
which OpenSM should bind. OpenSM may be bound to
1 port at a time. If GUID given is 0, OpenSM displays a
list of possible port GUIDs and waits for user input.
Without -g, OpenSM tries to use the default port.
-p, --port This option displays a menu of possible local port GUID
values with which osmtest could bind
-i, --inventory This option specifies the name of the inventory file
Normally, osmtest expects to find an inventory file,
which osmtest uses to validate real-time information