opa2rm(8)
opa2rm π β¨
okay bestie, pull up a chair because this one is literally the glow-up your fabric config has been waiting for π«Ά
This is the opa2rm page from the IFSFFCLIRG manual set β section 8, admin commands only, no casuals allowed π
NAME π
opa2rm
Permits the generation of configuration files for FastFabric or resource managers from a topology xml file. no cap, that's the whole job π
When you're using a topology spreadsheet and opaxlattopology to design and prepare for deployment verification of a fabric, opa2rm may be used to generate resource manager configuration from the planned cluster design. Using this approach will allow the resulting configuration files to be complete, even if some nodes in the fabric have not yet been installed or made operational. lowkey iconic β you can plan the whole thing before the hardware even shows up π¦
Alternatively, opareport -o topology can be used to generate a topology XML file for input to opa2rm. In this case, only the currently present nodes will be included. (so likeβ¦ vibe check on what actually exists rn, not the dream π)
When working with SLURM, the opa2rm -o slurm option should typically be used. This option will generate a SLURM configuration file that lists the hosts directly connected to each switch in a syntax that can be used by SLURM's topology/tree plugin. It also generates a single "fake" switch shown as connecting all the other switches together. This approach allows for SLURM job placement to be improved while avoiding undo overhead in SLURM. This option also allows for topologies that are not a pure fat-tree. slay, flexible π
When the configuration is a pure fat tree or oversubscribed fat tree, the opa2rm -o slurmfull option may be used to generate the full description of the fabric, including all intermediate and core switches in the fat tree topology. This option may permit better job placement optimization than the output from the opa2rm -o slurm option. However for larger fabrics, it may also increase the overhead within SLURM. so likeβ¦ more detail, more overhead, pick your fighter βοΈ
Syntax β¨
opa2rm [-v] [-q] -o output [-g|-u|-t] [-F point] [-p prefix] [-s suffix] topology_input
Options π
--helpβ Produces full help text. your lil safety net fr fr π«Ά-v,--verboseβ Specifies verbose output. tell me EVERYTHING, bestie π£οΈ-q,--quietβ Disables progress reports. silenceβ¦ but make it on purpose π-o,--outputoutput β Specifies the output type:slurmβ SLURM tree nodes. Supports a variety of topologies.slurmfulβ SLURM fat tree nodes and ISLs. Only supports pure trees.hostsβ FastFabric hosts file omitting this host
-g,--guidβ Specifies the output switch GUIDs instead of names. numbers era π’-u,--underscoreβ Changes spaces in switch names to underscores.-t,--truncβ Truncates switch names at first space.
This will treat large Director switches as a single, big switch.
If -g, -u or -t are not specified, the switch name's suffix, after the first space, will be placed at the start of the name. For example, 'core5 Leaf 101' becomes 'Leaf101_core5'. the way it just β¨rearrangesβ¨ your name, obsessed π
-F,--focuspoint β Specifies the focus area for output. Limits the scope of output to links that match any of the given focus points. tunnel vision, but on purpose π-p,--prefixprefix β Specifies the prefix to prepend to all FI hostnames.-s,--suffixsuffix β Specifies the suffix to append to all FI hostnames.topology_inputβ Specifies thetopology_inputfile to use.'-'may be used to specify stdin. (yes bestie, you can just pipe it in π)
Point Syntax π§
node:valueβ value is node description (node name).node:value1:port:value2β value1 is node description (node name); value2 is port number.nodepat:valueβ value is glob pattern for node description (node name).nodepat:value1:port:value2β value1 is glob pattern for node description (node name); value2 is port number.nodetype:valueβ value is node type (SWorFI).nodetype:value1:port:value2β value1 is node type (SWorFI); value2 is port number.rate:valueβ value is string for rate (25g,50g,75g,100g).mtucap:valueβ value is MTU size (2048,4096,8192,10240); omits switch mgmt port0.labelpat:valueβ value is glob pattern for cable label.lengthpat:valueβ value is glob pattern for cable length.cabledetpat:valueβ value is glob pattern for cable details.linkdetpat:valueβ value is glob pattern for link details.portdetpat:valueβ value is glob pattern for port details to value.
Examples πΈ
copy these, they ate π₯
opa2rm -o slurm topology.xml
opa2rm -o slurm -p 'opa-' topology.xml
opa2rm -o slurm -s '-opa' topology.xml
opa2rm -o slurm -F 'nodepat:compute*' -F 'nodepat:opacore1 *'
topology.xml
opa2rm -o nodes -F 'nodedetpat:compute*' topology.xml
opa2rm -o hosts topology.xml
and that's the whole page bestie, you're officially a resource-manager-config-generating icon ππ
this one came to you straight from the IFSFFCLIRG manual set, copyright Copyright(C) 2015-2019 Intel Corporation, and the vibes are dated accordingly. stay slaying, drink water, and always read your topology xml before you feed it to anything πβ¨π¦
π¦ where this page comes from
- centos-stream 9: opa-fastfabric 1:10.12.1.0.6-1.el9 Β· BSD or GPLv2
- debian bookworm: opa-fastfabric 10.10.3.0.11-1+b1 Β· BSD-3-clause-top
- debian trixie: opa-fastfabric 10.10.3.0.11-1+b2 Β· BSD-3-clause-top
- opensuse-leap 16.0: opa-fastfabric 10.14.4.0.20-160000.3.2 Β· BSD-3-Clause OR GPL-2.0-only
- ubuntu jammy: opa-fastfabric 10.10.3.0.11-1ubuntu1 Β· BSD-3-clause-top
- ubuntu noble: opa-fastfabric 10.10.3.0.11-1ubuntu3 Β· BSD-3-clause-top
- ubuntu questing: opa-fastfabric 10.10.3.0.11-1ubuntu3
- ubuntu resolute: opa-fastfabric 10.10.3.0.11-1ubuntu4 Β· BSD-3-clause-top
- ubuntu stonking: opa-fastfabric 10.10.3.0.11-1ubuntu5 Β· BSD-3-clause-top
- Copyright 2015-2019, Intel Corporation
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms