1OSMTEST(8)                     OpenIB Management                    OSMTEST(8)
2
3
4

NAME

6       osmtest  -  InfiniBand  subnet  manager and administration (SM/SA) test
7       program
8
9

SYNOPSIS

11       osmtest  [-f(low)   <c|a|v|s|e|f|m|q|t>]   [-w(ait)   <trap_wait_time>]
12       [-d(ebug) <number>] [-m(ax_lid) <LID in hex>] [-g(uid)[=]<GUID in hex>]
13       [-p(ort)]  [-i(nventory)  <filename>]  [-s(tress)]  [-M(ulticast_Mode)]
14       [-t(imeout)  <milliseconds>]  [-l  |  --log_file]  [-v]  [-vf  <flags>]
15       [-h(elp)]
16
17

DESCRIPTION

19       osmtest is a test program to validate  InfiniBand  subnet  manager  and
20       administration (SM/SA).
21
22       Default is to run all flows with the exception of the QoS flow.
23
24       osmtest provides a test suite for opensm.
25
26       osmtest has the following capabilities and testing flows:
27
28       It  creates  an  inventory  file  of  all  available  Nodes, Ports, and
29       PathRecords, including all their  fields.   It  verifies  the  existing
30       inventory,  with  all  the object fields, and matches it to a pre-saved
31       one.  A Multicast Compliancy test.  An Event Forwarding test.   A  Ser‐
32       vice  Record  registration  test.   An  RMPP  stress  test.  A Small SA
33       Queries stress test.
34
35       It is recommended that after installing opensm,  the  user  should  run
36       "osmtest  -f  c" to generate the inventory file, and immediately after‐
37       wards run "osmtest -f a" to test OpenSM.
38
39       Another recommendation for osmtest usage is  to  create  the  inventory
40       when the IB fabric is stable, and occasionally run "osmtest -v" to ver‐
41       ify that nothing has changed.
42
43

OPTIONS

45       -f, --flow
46              This option directs osmtest to run a specific flow:
47               FLOW  DESCRIPTION
48               c = create an inventory file with all nodes, ports and paths
49               a = run all validation tests (expecting an input inventory)
50               v = only validate the given inventory file
51               s = run service registration, deregistration, and lease test
52               e = run event forwarding test
53               f = flood the SA with queries according to the stress mode
54               m = multicast flow
55               q = QoS info: dump VLArb and SLtoVL tables
56               t = run trap 64/65 flow (this flow requires running of external
57              tool)
58               (default is all flows except QoS)
59
60       -w, --wait
61              This option specifies the wait time for trap 64/65 in seconds It
62              is used only when running -f t - the trap 64/65 flow (default to
63              10 sec)
64
65       -d, --debug
66              This  option  specifies  a  debug option.  These options are not
67              normally needed.  The number  following  -d  selects  the  debug
68              option to enable as follows:
69
70               OPT   Description
71               ---    -----------------
72               -d0  - Ignore other SM nodes
73               -d1  - Force single threaded dispatching
74               -d2  - Force log flushing after each log message
75               -d3  - Disable multicast support
76
77       -m, --max_lid
78              This  option specifies the maximal LID number to be searched for
79              during inventory file build (default to 100)
80
81       -g, --guid
82              This option specifies the  local  port  GUID  value  with  which
83              OpenSM  should  bind.   OpenSM may be bound to 1 port at a time.
84              If GUID given is 0, OpenSM displays  a  list  of  possible  port
85              GUIDs  and waits for user input.  Without -g, OpenSM trys to use
86              the default port.
87
88       -p, --port
89              This option displays a menu of possible local port  GUID  values
90              with which osmtest could bind
91
92       -i, --inventory
93              This  option  specifies the name of the inventory file Normally,
94              osmtest expects to find an inventory file, which osmtest uses to
95              validate real-time information received from the SA during test‐
96              ing If -i  is  not  specified,  osmtest  defaults  to  the  file
97              ´osmtest.dat´ See -c option for related information
98
99       -s, --stress
100              This option runs the specified stress test instead of the normal
101              test suite Stress test options are as follows:
102
103               OPT    Description
104               ---    -----------------
105               -s1  - Single-MAD (RMPP) response SA queries
106               -s2  - Multi-MAD (RMPP) response SA queries
107               -s3  - Multi-MAD (RMPP) Path Record SA queries
108               -s4  - Single-MAD (non RMPP) get Path Record SA queries
109
110              Without -s, stress testing is not performed
111
112       -M, --Multicast_Mode
113              This option specify length of Multicast test:
114
115               OPT    Description
116               ---    -----------------
117               -M1  - Short Multicast Flow (default) - single mode
118               -M2  - Short Multicast Flow - multiple mode
119               -M3  - Long Multicast Flow - single mode
120               -M4  - Long Multicast Flow - multiple mode
121
122              Single mode - Osmtest is tested alone, with no other  apps  that
123              interact with OpenSM MC
124
125              Multiple  mode  -  Could  be  run  with other apps using MC with
126              OpenSM. Without -M, default flow testing is performed
127
128       -t, --timeout
129              This option specifies the time in milliseconds used for transac‐
130              tion  timeouts.  Specifying -t 0 disables timeouts.  Without -t,
131              OpenSM defaults to a timeout value of 200 milliseconds.
132
133       -l, --log_file
134              This option defines the log to be the given  file.   By  default
135              the log goes to stdout.
136
137       -v, --verbose
138              This  option  increases  the log verbosity level.  The -v option
139              may be specified multiple times to  further  increase  the  ver‐
140              bosity  level.   See  the -vf option for more information about.
141              log verbosity.
142
143       -V     This option sets the maximum  verbosity  level  and  forces  log
144              flushing.  The -V is equivalent to '-vf 0xFF -d 2'.  See the -vf
145              option for more information about.  log verbosity.
146
147       -vf    This option sets the log verbosity level.  A  flags  field  must
148              follow the -D option.  A bit set/clear in the flags enables/dis‐
149              ables a specific log level as follows:
150
151               BIT    LOG LEVEL ENABLED
152               ----   -----------------
153               0x01 - ERROR (error messages)
154               0x02 - INFO (basic messages, low volume)
155               0x04 - VERBOSE (interesting stuff, moderate volume)
156               0x08 - DEBUG (diagnostic, high volume)
157               0x10 - FUNCS (function entry/exit, very high volume)
158               0x20 - FRAMES (dumps all SMP and GMP frames)
159               0x40 - ROUTING (dump FDB routing information)
160               0x80 - currently unused.
161
162              Without -vf, osmtest defaults to ERROR + INFO  (0x3)  Specifying
163              -vf 0 disables all messages Specifying -vf 0xFF enables all mes‐
164              sages (see -V) High verbosity levels may require increasing  the
165              transaction timeout with the -t option
166
167       -h, --help
168              Display this usage info then exit.
169
170

AUTHORS

172       Hal Rosenstock
173              <hal.rosenstock@gmail.com>
174
175       Eitan Zahavi
176              <eitan@mellanox.co.il>
177
178
179
180OpenIB                          August 31, 2009                     OSMTEST(8)
Impressum