ethfabricanalysis(8)
π ethfabricanalysis π
okay so bestie, welcome to the ethfabricanalysis(8) page, straight out of the EFSFFCLIRG man pages β¨ it literally does analysis of the fabric. that's the whole vibe. it's giving fabric detective ππ
πΈ NAME πΈ
ethfabricanalysis β performs analysis of the fabric π¦
β¨ Syntax β¨
no cap, here's exactly how you call her:
ethfabricanalysis [-b|-e] [-s] [-d dir] [-c file] [-E file] [-p
planes] [-T topology_inputs] [-f host_files]
π Options π
every single flag, bestie, i'm not skipping a single one π
--helpβ produces the full help text. the whole thing. the entire lore. π-bβ puts you in baseline mode. default is compare/check mode, jsyk. π§±-eβ evaluates health only. default is still compare/check mode. π©Ί-sβ saves the history of failures (that's errors and differences). πΎ-ddir β the top-level directory where baselines and the history of failed checks get saved. default is/var/usr/lib/eth-tools/analysisπ-cfile β the error thresholds config file. default is/etc/eth-tools/ethmon.confβ οΈ-Efile β the Ethernet Mgt configuration file. default is/etc/eth-tools/mgt_config.xml. π§-pplanes β Fabric planes, separated by a space. default is the first enabled plane defined in the config file. valueALLwill use all enabled planes. π«-fhost_files β Hosts files, separated by a space. this overrides theHostsFilesdefined in the Mgt config file for the corresponding planes. valueDEFAULTwill use theHostFiledefined in the Mgt config file for the corresponding plane. π-Ttopology_inputs β the name of topology input filenames, separated by a space. see Details andethreportfor more info. πΊοΈ
π Example π
ethfabricanalysis
ethfabricanalysis -p 'p1 p2' -f 'hosts1 DEFAULT'
The fabric analysis tool checks the following:
- Fabric links (both internal to switch and external cables) π
- Fabric components (nodes, links, systems, and their configuration) π§©
- Fabric error counters and link speed mismatches ππ
NOTE: The comparison includes components on the fabric. Therefore, operations such as shutting down a server cause the server to no longer appear on the fabric and are flagged as a fabric change or failure by ethfabricanalysis. π like bestie if you shut it down, she WILL notice, she's watching π
π«Ά Environment Variables π«Ά
The following environment variables are also used by this command:
FF_ANALYSIS_DIRβ top-level directory for baselines and failed health checks. ποΈ
π§ Details π§
You can specify the topology_input file to be used with one of the following methods:
- On the command line using the
-Toption. β¨οΈ - Using the
TopologyFilespecified in Ethernet Mgt config file. π
If the specified file does not exist, no topology_input file is used.
For more information on topology_input, refer to ethreport π
By default, the error analysis includes counters and slow links (that is, links running below enabled speeds). You can change this using the FF_FABRIC_HEALTH configuration parameter in ethfastfabric.conf. This parameter specifies the ethreport options and reports to be used for the health analysis. π©Ή
When a topology_input file is used, it can also be useful to extend FF_FABRIC_HEALTH to include fabric topology verification options such as -o verifylinks. π
The thresholds for counter analysis default to /etc/eth-tools/ethmon.conf. However, you can specify an alternate configuration file for thresholds using the -c option. The ethmon.si.conf file can also be used to check for any non-zero values for signal integrity counters. πΆ
All files generated by ethfabricanalysis start with fabric in their file name. π·οΈ
The ethfabricanalysis tool generates files such as the following within FF_ANALYSIS_DIR:
π Health Check π
latest/fabric.<plane_name>.errorsβ stdout ofethreportfor errors encountered during fabric error analysis. πlatest/fabric.<plane_name>.errors.stderrβ stderr ofethreportduring fabric error analysis. π
π Baseline π
During a baseline run, the following files are also created in FF_ANALYSIS_DIR/latest.
baseline/fabric.<plane_name>.snapshot.xmlβethreportsnapshot of complete fabric components and configuration. πΈbaseline/fabric.<plane_name>.compsβethreportsummary of fabric components and basic configuration. π§Ύbaseline/fabric.<plane_name>.linksβethreportsummary of internal and external links. π
π Full Analysis π
latest/fabric.<plane_name>.snapshot.xmlβethreportsnapshot of complete fabric components and configuration. πΈlatest/fabric.<plane_name>.snapshot.stderrβ stderr ofethreportduring snapshot. πlatest/fabric.<plane_name>.errorsβ stdout ofethreportfor errors encountered during fabric error analysis. πlatest/fabric.<plane_name>.errors.stderrβ stderr ofethreportduring fabric error analysis. πlatest/fabric.<plane_name>.compsβ stdout ofethreportfor fabric components and configuration. π§Ύlatest/fabric.<plane_name>.comps.stderrβ stderr ofethreportfor fabric components. πlatest/fabric.<plane_name>.comps.diffβ diff of baseline and latest fabric components. πlatest/fabric.<plane_name>.linksβ stdout ofethreportsummary of internal and external links. πlatest/fabric.<plane_name>.links.stderrβ stderr ofethreportsummary of internal and external links. πlatest/fabric.<plane_name>.links.diffβ diff of baseline and latest fabric internal and external links. πlatest/fabric.<plane_name>.links.changes.stderrβ stderr ofethreportcomparison of links. πlatest/fabric.<plane_name>.links.changesβethreportcomparison of links against baseline. This is typically easier to read than thelinks.difffile and contains the same information. πlatest/fabric.<plane_name>.comps.changes.stderrβ stderr ofethreportcomparison of components. πlatest/fabric.<plane_name>.comps.changesβethreportcomparison of components against baseline. This is typically easier to read than thecomps.difffile and contains the same information. π
The .diff and .changes files are only created if differences are detected. π¨
If the -s option is used and failures are detected, files related to the checks that failed are also copied to the time-stamped directory name under FF_ANALYSIS_DIR. β°
π Fabric Items Checked Against the Baseline π
Based on ethreport -o links:
- Unconnected/down/missing cables πͺ’
- Added/moved cables π
- Changes in link width and speed π
- Changes to
IfAddrin fabric (replacement of NIC or Switch hardware) π - Adding/Removing Nodes (NIC, Virtual NICs, Virtual Switches, Physical Switches, Physical Switch internal switching cards (leaf/spine)) ββ
- Changes to server or switch names βοΈ
Based on ethreport -o comps:
- Overlap with items from links report π
- Changes in port MTU π¦
- Changes in port speed/width enabled or supported β‘
- Changes in NIC or switch device IDs/revisions/VendorID (for example, ASIC hardware changes) π¬
- Changes in port Capability mask (which features/agents run on port/server) π
- Changes to I/O Units (IOUs), I/O Controllers (IOCs), and I/O Controller Services Services provided π§±
π₯ Fabric Items Also Checked During Health Check π₯
Based on ethreport -s -o errors -o slowlinks:
- Error counters on all Intel(R) Ethernet Fabric ports (NIC, switch external, and switch internal) checked against configurable thresholds. π¦
- Typically identifies potential fabric errors, such as symbol errors. π₯
- May also identify transient congestion, depending on the counters that are monitored. π
- Link active speed/width as compared to Enabled speed. π
- Identifies links whose active speed/width is
< min(enabled speed/width on each side of link). π’ - This typically reflects bad cables or bad ports or poor connections. π
- Side effect is the verification of fabric health. β
and that's the whole page bestie, you ate that π
Copyright(C) 2020-2024 Intel Corporation β shoutout to Intel for the copyright, and this was the ethfabricanalysis(8) page from the EFSFFCLIRG man pages π«Άβ¨ periodt, go analyze that fabric π¦πΈ
π¦ where this page comes from
- centos-stream 9: eth-tools-fastfabric 1:12.1.0.0-4.el9 Β· BSD
- fedora 43: eth-tools-fastfabric 1:12.1.0.0-151.fc43 Β· BSD-3-Clause
- fedora 44: eth-tools-fastfabric 1:12.1.0.1-6.fc44 Β· BSD-3-Clause
- opensuse-leap 16.0: eth-fastfabric 11.7.0.0-160000.2.2 Β· BSD-3-Clause OR GPL-2.0-only
- Copyright 2020-2024, Intel Corporation
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms