opafmcmdall(8)

🌸 NAME 🌸

Okay so hi bestie! This is opafmcmdall, and it lives in the IFSFFCLIRG manual (yes, that manual name is a whole vibe 😭). It executes a command to all instances of the Fabric Manager (FM) listed in the options. The behavior is similar to opafmcmd, so if you already know that one, you're lowkey ahead. 🫢

πŸ“œ Syntax πŸ“œ

opafmcmdall [-i  fm_instance]  cmd [ args]

πŸ’… OPTIONS πŸ’…

  • --help β€” Produces full help text. Like, the whole lore drop. ✨
  • -i fm_instance β€” Specifies the FM instance number (0-7) to act on. Specify multiple -i options as needed. Default is all instances. So if you want every FM, just don't pass -i; if you want specific ones, stack 'em up. πŸŽ€
  • cmd [args] β€” Specifies the commands and arguments (if applicable) to be run. Values include:
    • smForceSweep β€” Makes the Subnet Manager (SM) sweep now. Iconic little push. 🧹
    • smRestorePriority β€” Restores the normal priority of the SM, if it is currently elevated. Put it back, periodt. πŸ‘‘
    • smShowCounters β€” Gets statistics and performance counters from the SM. Numbers? Obsessed. πŸ“Š
    • smResetCounters β€” Resets SM statistics and performance counters. Fresh start energy. ✨
    • smStateDump β€” Dumps internal SM state into specified directory. Spill the internal tea. πŸ«–
    • smLogLevel β€” Sets the SM logging level. Values include:
      • 0=NONE+
      • 1=WARN+
      • 2=NOTICE+
      • 3=INFO+
      • 4=VERBOSE+
      • 5=DEBUG2+
      • 6=DEBUG4+
      • 7=TRACE+
    • smLogMode β€” Sets the SM log mode flags. Values include:
      • 0/1 1=downgrade non-actionable
      • 0/2 2=logfile only
    • smLogMask β€” Sets the SM log mask for a specific subsystem to the value given. For a list of subsystems and mask bit meanings, see the files /etc/opa-fm/opafm.xml or /usr/share/opa-fm/opafm.xml. πŸ“
    • smPerfDebug β€” Toggles performance debug output for SM. πŸ”
    • saPerfDebug β€” Toggles performance debug output for Subnet Administration (SA). πŸ¦‹
    • saRmppDebug β€” Toggles Reliable Message Passing Protocol (RMPP) debug output for SA. πŸŽ€
    • pmShowCounters β€” Gets statistics and performance counters for the Performance Manager (PM). πŸ“ˆ
    • pmResetCounters β€” Resets statistics and performance counters for the PM. Clean slate slay. πŸ’…
    • pmDebug β€” Toggles debug output for PM. πŸ›
    • pmRmppDebug β€” Toggles RMPP debug output for PM. ✨
    • feLogLevel β€” Sets the Fabric Executive (FE) logging level. Values include:
      • 0=NONE+
      • 1=WARN+
      • 2=NOTICE+
      • 3=INFO+
      • 4=VERBOSE+
      • 5=DEBUG2+
      • 6=DEBUG4+
      • 7=TRACE+
    • feLogMode β€” Sets the FE log mode flags. Values include:
      • 0/1 1=downgrade non-actionable
      • 0/2 2=logfile only
    • feLogMask β€” Sets the FE log mask for a specific subsystem to the value given. For a list of subsystems and mask bit meanings, see the files /etc/opa-fm/opafm.xml or /usr/share/opa-fm/opafm.xml. πŸ—‚οΈ
    • feDebug β€” Toggles debug output for FE. πŸ”Ž
    • feRmppDebug β€” Toggles RMPP debug output for FE. 🌈
    • smLooptestStart β€” Starts loop test in normal mode. Specify the number of 256 byte packets. Default is 0. πŸŒ€
    • smLooptestFastModeStart β€” Starts loop test in fast mode. Specify the number of 256 byte packets. Default is 5. ⚑
    • smLooptestStop β€” Stops loop test. Returns switch LFTs back to normal. πŸ›‘
    • smLooptestInjectPackets β€” Enter numPkts to send to all switch loops. Default is 1. πŸ“¦
    • smLooptestInjectAtNode β€” Enter the switch node index to inject loop packets. Default is 0. 🎯
    • smLooptestInjectEachSweep β€” Sets whether to inject or stop injecting packets each sweep.
      • Enter 1 to inject packets each sweep.
      • Enter 0 to stop injecting each sweep.
    • smLooptestPathLength β€” Sets the loop path length. Range is 2 - 4. Default is 3. πŸ“
    • smLooptestMinISLRedundancy β€” Sets the minimum number of loops in which to include each ISL. Default is 4. πŸ”—
    • smLooptestShowLoopPaths β€” Displays the loop paths given node index or all loop paths. Default is all. πŸ›£οΈ
    • smLooptestShowSwitchLft β€” Displays a switch LFT given node index or all switches LFTs. Default is all. 🧭
    • smLooptestShowTopology β€” Displays the topology for the SM Loop Test. πŸ—ΊοΈ
    • smLooptestShowConfig β€” Displays the current active loop configuration. βš™οΈ
    • smForceRebalance β€” Toggles Force Rebalance setting for SM. βš–οΈ
    • smAdaptiveRouting β€” Displays or modifies Adaptive Routing setting for SM.
      • If no arguments are entered, displays current setting.
      • Enter 0 to Disable.
      • Enter 1 to Enable.
      • Additional arguments after the first argument can be used to update frequency and threshold while enabling Adaptive Routing:
        • Enter -f value to update frequency. Valid values are 0 - 7.
        • Enter -t value to update threshold. Valid values are 0 - 7.
      • If frequency or threshold are not provided, they will be reset to default.
    • smForceAttributeRewrite β€” Sets rewriting of all attributes upon resweeping.
      • Enter 0 to Disable.
      • Enter 1 to Enable.
    • smSkipAttrWrite β€” Specifies the bitmask of attributes to be skipped (not written) during sweeps. Enter -help for list of options. πŸ™ˆ
    • smPauseSweeps β€” Pauses SM sweeps. ⏸️
    • smResumeSweeps β€” Resumes SM sweeps. ▢️

πŸŽ€ Example πŸŽ€

opafmcmdall smForceSweep

# sends command to all FMs

opafmcmdall -i 2 -i 4 smLogLevel 3

# sends command to only FM2 and FM4

πŸ’– And that's the page, bestie! Cute little sign-off time: Copyright(C) 2015-2019 Intel Corporation, source/version vibe is opafmcmdall(8), and the date range is that iconic 2015-2019 moment. Periodt. πŸŽ€βœ¨

πŸ“¦ where this page comes from