1
2opafmcmd(8)            Master map: IFSFFCLIRG (Man Page)           opafmcmd(8)
3
4
5

NAME

7       opafmcmd
8
9
10
11       Executes  a  command to a specific instance of the Fabric Manager (FM).
12       This command can be used,  for  example,  to  query  the  configuration
13       attributes  of  a  particular instance of an FM as well as issue subnet
14       management commands.
15

Syntax

17       opafmcmd [-i fm_instance] cmd [ args]
18

Options

20       --help    Produces full help text.
21
22
23       -i fm_instance
24                 Specifies the number of the FM instance to act on.
25
26
27                 Range = 0 to 7. Default = 0.
28
29       cmd [args]
30                 Specifies the commands and arguments (if  applicable)  to  be
31                 run. Values include:
32
33
34
35
36                 smForceSweep
37                           Makes the Subnet Manager (SM) sweep now.
38
39
40
41
42
43                 smRestorePriority
44                           Restores  the  normal  priority of the SM, if it is
45                           currently elevated.
46
47
48
49
50
51                 smShowCounters
52                           Gets statistics and performance counters  from  the
53                           SM.
54
55
56
57
58
59                 smResetCounters
60                           Resets SM statistics and performance counters.
61
62
63
64
65
66                 smStateDump
67                           Dumps internal SM state into specified directory.
68
69
70
71
72
73                 smLogLevel
74                           Sets the SM logging level. Values include:
75
76
77                           ·      0=NONE+
78
79                           ·      1=WARN+
80
81                           ·      2=NOTICE+
82
83                           ·      3=INFO+
84
85                           ·      4=VERBOSE+
86
87                           ·      5=DEBUG2+
88
89                           ·      6=DEBUG4+
90
91                           ·      7=TRACE+
92
93
94
95
96
97
98
99                 smLogMode Sets the SM log mode flags. Values include:
100
101
102                           ·      0/1 1=downgrade non-actionable
103
104                           ·      0/2 2=logfile only
105
106
107
108
109
110
111
112                 smLogMask Sets  the  SM  log mask for a specific subsystem to
113                           the value given. For a list of subsystems and  mask
114                           bit  meanings,  see the files /etc/opa-fm/opafm.xml
115                           or /usr/share/opa-fm/opafm.xml.
116
117
118
119
120
121                 smPerfDebug
122                           Toggles performance debug output for SM.
123
124
125
126
127
128                 saPerfDebug
129                           Toggles performance debug output for Subnet  Admin‐
130                           istration (SA).
131
132
133
134
135
136                 saRmppDebug
137                           Toggles  Reliable  Message  Passing Protocol (RMPP)
138                           debug output for SA.
139
140
141
142
143
144                 pmShowCounters
145                           Gets statistics and performance  counters  for  the
146                           Performance Manager (PM).
147
148
149
150
151
152                 pmResetCounters
153                           Resets  statistics and performance counters for the
154                           PM.
155
156
157
158
159
160                 pmDebug   Toggles debug output for PM.
161
162
163
164
165
166                 pmRmppDebug
167                           Toggles RMPP debug output for PM.
168
169
170
171
172
173                 feLogLevel
174                           Sets the Fabric Executive (FE) logging level.  Val‐
175                           ues include:
176
177
178                           ·      0=NONE+
179
180                           ·      1=WARN+
181
182                           ·      2=NOTICE+
183
184                           ·      3=INFO+
185
186                           ·      4=VERBOSE+
187
188                           ·      5=DEBUG2+
189
190                           ·      6=DEBUG4+
191
192                           ·      7=TRACE+
193
194
195
196
197
198
199
200                 feLogMode Sets the FE log mode flags.
201
202
203                           ·      0/1 1=downgrade non-actionable
204
205                           ·      0/2 2=logfile only
206
207
208
209
210
211
212
213                 feLogMask Sets  the  FE  log mask for a specific subsystem to
214                           the value given. For a list of subsystems and  mask
215                           bit  meanings,  see the files /etc/opa-fm/opafm.xml
216                           or /usr/share/opa-fm/opafm.xml
217
218
219
220
221
222                 feDebug   Toggles debug output for FE.
223
224
225
226
227
228                 feRmppDebug
229                           Toggles RMPP debug output for FE.
230
231
232
233
234
235                 smLooptestStart
236                           Starts loop test in normal mode. Specify the number
237                           of 256 byte packets. Default = 0.
238
239
240
241
242
243                 smLooptestFastModeStart
244                           Starts  loop  test in fast mode. Specify the number
245                           of 256 byte packets. Default = 5.
246
247
248
249
250
251                 smLooptestStop
252                           Stops loop test. Returns switch LFTs back  to  nor‐
253                           mal.
254
255
256
257
258
259                 smLooptestInjectPackets
260                           Enter  numPkts to send to all switch loops. Default
261                           = 1.
262
263
264
265
266
267                 smLooptestInjectAtNode
268                           Enter the switch node index to inject loop packets.
269                           Default = 0.
270
271
272
273
274
275                 smLooptestInjectEachSweep
276                           Sets  whether  to  inject or stop injecting packets
277                           each sweep.
278
279
280                           ·      Enter 1 to inject packets each sweep.
281
282                           ·      Enter 0 to stop injecting each sweep.
283
284
285
286
287
288
289
290                 smLooptestPathLength
291                           Sets the loop path length. Range = 2 - 4. Default =
292                           3.
293
294
295
296
297
298                 smLooptestMinISLRedundancy
299                           Sets  the  minimum  number  of  loops  in  which to
300                           include each ISL. Default = 4.
301
302
303
304
305
306                 smLooptestShowLoopPaths
307                           Displays the loop paths given  node  index  or  all
308                           loop paths. Default = all.
309
310
311
312
313
314                 smLooptestShowSwitchLft
315                           Displays  a  switch  LFT  given  node  index or all
316                           switches LFTs. Default = all.
317
318
319
320
321
322                 smLooptestShowTopology
323                           Displays the topology for the SM Loop Test.
324
325
326
327
328
329                 smLooptestShowConfig
330                           Displays the current active loop configuration.
331
332
333
334
335
336                 smForceRebalance
337                           Toggles Force Rebalance setting for SM.
338
339
340
341
342
343                 smAdaptiveRouting
344                           Displays or modifies Adaptive Routing  setting  for
345                           SM.  If  no arguments are entered, displays current
346                           setting. Enter 0 to Disable. Enter 1 to Enable.
347
348
349
350
351
352                 smForceAttributeRewrite
353                           Sets rewriting of all attributes upon resweeping.
354
355
356                           ·      Enter 0 to Disable.
357
358                           ·      Enter 1 to Enable.
359
360
361
362
363
364
365
366                 smSkipAttrWrite
367                           Specifies the bitmask of attributes to  be  skipped
368                           (not  written)  during sweeps. Enter -help for list
369                           of options.
370
371
372
373
374
375                 smPauseSweeps
376                           Pauses SM sweeps.
377
378
379
380
381
382                 smResumeSweeps
383                           Resumes SM sweeps.
384
385
386

Example

388       opafmcmd smForceSweep
389       opafmcmd -i 2 smLogLevel 3
390
391
392
393Copyright(C) 2015-2018         Intel Corporation                   opafmcmd(8)
Impressum