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

NAME

7       opafmcmdall
8
9
10
11       Executes  a  command to all instances of the Fabric Manager (FM) listed
12       in the options. The behavior is similar to opafmcmd.
13

Syntax

15       opafmcmdall [-i fm_instance] cmd[ args]
16

Options

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

Example

387       opafmcmdall smForceSweep
388       # sends command to all FMs
389
390       opafmcmdall -i 2 -i 4 smLogLevel 3
391       # sends command to only FM2 and FM4
392
393
394
395Copyright(C) 2015-2018         Intel Corporation                opafmcmdall(8)
Impressum