ethhostadmin(8)
π ethhostadmin π
okay bestie, listen up β this is ethhostadmin from the EFSFFCLIRG man pages, and she is that girl. she does a whole bunch of multi-step host initialization and verification stuff, like upgrading software, rebooting hosts, and other glow-up operations. and like, generally speaking? everything ethhostadmin does involves logging into one or more host systems. yes, she's social like that. π«Ά
β¨ NAME β¨
ethhostadmin β performs a number of multi-step host initialization and verification operations, including upgrading software, rebooting hosts, and other operations. in general, the operations ethhostadmin performs involve a login to one or more host systems. π
πΈ SYNTAX πΈ
ethhostadmin [-c] [-e] [-p plane] [-f hostfile] [-h 'hosts']
[-r release] [-I install_options] [-U upgrade_options] [-d dir]
[-T product] [-P packages] [-S] operation ...
π OPTIONS π
--helpβ prints out the whole full help text for you. no cap, it's giving manual. π-cβ cleans the result files from any previous run before starting this one. fresh slate energy. β¨-eβ says "okay we're done here" and exits after the very first operation that fails. no dragging it out. π-pplane β tells it which plane to use. default is the first enabled plane defined in the Mgt config file. π-fhostfile β the file with the names of hosts in a cluster. default is the/etc/eth-tools/hostsfile. ποΈ-hhosts β the list of hosts to run the operation against. yes, right there in the command. π-rrelease β the software version to load/upgrade to. default is the version of Intel(R) Ethernet Fabric Suite Software that's presently being run on the server. β-ddir β the directory to retrieveproduct. release.tgzfrom, for load or upgrade. π-Iinstall_options β the software install options. π οΈ-Uupgrade_options β the software upgrade options. π-Tproduct β the product type to install. default isFF_PRODUCT. the options are, and I quote:IntelEth-Basic. <distro>IntelEth-FS. <distro>
where <distro> is the distribution and CPU, such as RHEL81-x86_64. like literally exactly that. π
-Ppackages β the packages to install. default iseth eth_rdma. and bestie, refer toINSTALL -Cfor the complete list of packages. iykyk. π-Sβ securely prompts for the user password on the remote system. π- operation β performs the specified operation, which can be one or more of these:
loadβ performs an initial installation of all hosts. π±upgradeβ upgrades the installation of all hosts. β¬οΈrebootβ reboots hosts, and makes sure they go down and come back. πβ‘οΈπrpingβ verifies this host can ping each host through RDMA. π‘pfctestβ verifies PFC works on all hosts. π₯mpiperfβ verifies latency and bandwidth for each host. β‘mpiperfdeviationβ verifies latency and bandwidth for each host against a defined threshold (or relative to average host performance). π
π¦ EXAMPLE π¦
ethhostadmin -c reboot
ethhostadmin upgrade
ethhostadmin -p plane1 rping
ethhostadmin -h 'elrond arwen' reboot
HOSTS='elrond arwen' ethhostadmin reboot
π DETAILS π
okay so this is the part where she gets thorough. ethhostadmin provides detailed logging of its results, and during each run, these files get produced:
test.res: appended with summary results of the run. πtest.log: appended with detailed results of the run. πsave_tmp/: contains a directory per failed test, with detailed logs. ποΈtest_tmp*/: intermediate result files while the test is running. β³
and the -c option removes all of those log files. poof. gone. π«§
results from ethhostadmin are grouped into test suites, test cases, and test items. one given run of ethhostadmin = a single test suite. within a test suite, multiple test cases occur β typically one test case per host being operated on. some of the more complex operations may have multiple test items per test case. and each test item represents a major step in the overall test case. so it's giving nesting doll, but make it CI. πͺ
each ethhostadmin run appends to test.res and test.log, and creates temporary files in test_tmp$PID in the current directory. test.res gives you an overall summary of the operations performed and their results β and the same info is also displayed while ethhostadmin is executing, so you're never left on read. test.log contains detailed information about what was performed, including the specific commands executed and the resulting output. the test_tmp directories contain temporary files that reflect tests in progress (or killed π). the logs for any failures are logged in the save_temp directory, with a directory per failed test case. if the same test case fails more than once, save_temp retains the information from the first failure. subsequent runs of ethhostadmin are appended to test.log.
ngl, Intel recommends reviewing failures and using the-coption to remove old logs before subsequent runs ofethhostadmin. do with that what you will, bestie. π
ethhostadmin implicitly performs its operations in parallel. however, just like for the other tools, FF_MAX_PARALLEL can be exported to change the degree of parallelism. 1000 parallel operations is the default. a thousand. at once. main character energy fr. π
π ENVIRONMENT VARIABLES π
these environment variables are also used by this command:
HOSTSβ list of hosts, used if the-hoption isn't supplied. πHOSTS_FILEβ file containing the list of hosts, used in the absence of-fand-h. ποΈFABRIC_PLANEβ name of the fabric plane used in the absence of-p,-f, and-h. π°οΈFF_MAX_PARALLELβ the maximum concurrent operations that are performed. β‘FF_SERIALIZE_OUTPUTβ serialize output of parallel operations (yesorno). πFF_TIMEOUT_MULTβ multiplier for all timeouts associated with this command. used if the systems are slow for some reason. πFF_PRODUCTβ product to install during load and upgrade operations. π¦
to be continued, bestieβ¦ this page is long so it comes in multiple parts, and part 2 is right behind this one π
β¨ Operation Details β¨
Okay bestie, listen up β Intel is like, "please set up password SSH or SCP for this operation." Or you can use the -S option to securely prompt for a password, and then that same password gets used for all the hosts. Alternatively, you can just put the password in the environment or in the ethfastfabric.conf file using FF_PASSWORD and FF_ROOTPASS. π
load πΎ
This one does an initial installation of Intel(R) Ethernet Fabric Suite Software on a group of hosts. It's a whole glow-up. Any existing installation gets uninstalled and existing configuration files are removed. Then the hosts are installed with a default Intel(R) Ethernet Fabric Suite Software configuration. You can use the -I option to select different install packages. The default is eth_tools eth_rdma mpi. The -r option lets you specify a release to install other than the one that this host is presently running. The FF_PRODUCT. FF_PRODUCT_VERSION.tgz file (for example, IntelEth-Basic. version.tgz) is expected to exist in the directory specified by -d. Default is the current working directory. The specified software is copied to all the selected hosts and installed. π¦
upgrade β¬οΈ
Upgrades all selected hosts without modifying existing configurations. It's giving "level up but keep your vibe." This operation is comparable to the -U option when running ./INSTALL manually. The -r option can be used to upgrade to a release different from this host. The default is to upgrade to the same release as this host. The FF_PRODUCT. FF_PRODUCT_VERSION.tgz file (for example, IntelEth-Basic. version.tgz) is expected to exist in the directory specified by -d. The default is the current working directory. The specified software is copied to all the end nodes and installed. π
NOTE: Only components that are currently installed are upgraded. This operation fails for hosts that do not have Intel(R) Ethernet Fabric Suite Software installed. π
reboot π
Reboots the given hosts and ensures they go down and come back up by pinging them during the reboot process. The ping rate is slow (5 seconds), so if the servers boot faster than this, false failures may be seen. No cap, it's just a lil impatient.
rping π‘
Verifies RDMA basic operation by ensuring that the nodes can ping each other through RDMA. To run this command, Intel(R) Ethernet Fabric software must be installed, RDMA must be configured and running on the host, and the given hosts, and switches must be up. β¨
pfctest π§ͺ
Specifies an empirical test that verifies PFC is working right. To run this command, Intel(R) Ethernet Fabric software must be installed, PFC must be configured on both hosts and switches, and the given hosts and switches must be up. π¦
mpiperf π
Verifies that MPI is operational and checks MPI end-to-end latency and bandwidth between pairs of nodes (for example, 1-2, 3-4, 5-6). Use this to verify switch latency/hops, PCI bandwidth, and overall MPI performance. The test.res file contains the results of each pair of nodes tested. π
NOTE: This option is available for the Intel(R) Ethernet Host Software OFA Delta packaging, but is not presently available for other packagings of OFED. π To obtain accurate results, this test should be run at a time when no other stressful applications (for example, MPI jobs or high stress file system operations) are running on the given hosts. π Bandwidth issues typically indicate server configuration issues (for example, incorrect slot used, incorrect BIOS settings, or incorrect NIC model), or fabric issues (for example, symbol errors, incorrect link width, or speed). Assumingethreporthas previously been used to check for link errors and link speed issues, the server configuration should be verified. π Note that BIOS settings and differences between server models can account for10-20%differences in bandwidth. For more details about BIOS settings, consult the documentation from the server supplier and/or the server PCI chipset manufacturer. π
mpiperfdeviation π
Specifies the enhanced version of mpiperf that verifies MPI performance. Can be used to verify switch latency/hops, PCI bandwidth, and overall MPI performance. It performs assorted pair-wise bandwidth and latency tests, and reports pairs outside an acceptable tolerance range. The tool identifies specific nodes that have problems and provides a concise summary of results. The test.res file contains the results of each pair of nodes tested. π
By default, concurrent mode is used to quickly analyze the fabric and host performance. Pairs that have 20% less bandwidth or 50% more latency than the average pair are reported as failures. π
The tool can be run in a sequential or a concurrent mode. Sequential mode runs each host against a reference host. By default, the reference host is selected based on the best performance from a quick test of the first 40 hosts. In concurrent mode, hosts are paired up and all pairs are run concurrently. Since there may be fabric contention during such a run, any poor performing pairs are then rerun sequentially against the reference host. β¨
Concurrent mode runs the tests in the shortest amount of time, however, the results could be slightly less accurate due to switch contention. In heavily oversubscribed fabric designs, if concurrent mode is producing unexpectedly low performance, try sequential mode. π¦
NOTE: This option is available for the Intel(R) Ethernet Host Software OFA Delta packaging, but is not presently available for other packagings of OFED. π To obtain accurate results, this test should be run at a time when no other stressful applications (for example, MPI jobs, high stress file system operations) are running on the given hosts. π Bandwidth issues typically indicate server configuration issues (for example, incorrect slot used, incorrect BIOS settings, or incorrect NIC model), or fabric issues (for example, symbol errors, incorrect link width, or speed). Assumingethreporthas previously been used to check for link errors and link speed issues, the server configuration should be verified. π Note that BIOS settings and differences between server models can account for10-20%differences in bandwidth. A result5-10%below the average is typically not cause for serious alarm, but may reflect limitations in the server design or the chosen BIOS settings. π For more details about BIOS settings, consult the documentation from the server supplier and/or the server PCI chipset manufacturer. π
The deviation application supports a number of parameters that allow for more precise control over the mode, benchmark, and pass/fail criteria. The parameters to use can be selected using the FF_DEVIATION_ARGS configuration parameter in ethfastfabric.conf. π
Available parameters for deviation application:
[-bwtol bwtol] [-bwdelta MBs] [-bwthres MBs]
[-bwloop count] [-bwsize size] [-lattol latol]
[-latdelta usec] [-latthres usec] [-latloop count]
[-latsize size][-c] [-b] [-v] [-vv]
[-h reference_host]
-bwtolβ Specifies the percent of bandwidth degradation allowed below average value. π-bwbidirβ Performs a bidirectional bandwidth test. π-bwunidirβ Performs a unidirectional bandwidth test (Default). β‘οΈ-bwdeltaβ Specifies the limit in MB/s of bandwidth degradation allowed below average value. π-bwthresβ Specifies the lower limit in MB/s of bandwidth allowed. π-bwloopβ Specifies the number of loops to execute each bandwidth test. π-bwsizeβ Specifies the size of message to use for bandwidth test. π¦-lattolβ Specifies the percent of latency degradation allowed above average value. β±οΈ-latdeltaβ Specifies the limit in Β΅sec of latency degradation allowed above average value. β-latthresβ Specifies the lower limit in Β΅sec of latency allowed. π-latloopβ Specifies the number of loops to execute each latency test. π-latsizeβ Specifies the size of message to use for latency test. π¦-cβ Runs test pairs concurrently instead of the default of sequential. β‘-bβ When comparing results against tolerance and delta, uses best instead of average. π-vβ Specifies the verbose output. π£οΈ-vvβ Specifies the very verbose output. π’-hβ Specifies the reference host to use for sequential pairing. π―
Both bwtol and bwdelta must be exceeded to fail bandwidth test. π
When bwthres is supplied, bwtol and bwdelta are ignored. β οΈ
Both lattol and latdelta must be exceeded to fail latency test. π
When latthres is supplied, lattol and latdelta are ignored. β οΈ
For consistency with OSU benchmarks, MB/s is defined as 1000000 bytes/s. π
Copyright(C) 2020-2024 Intel Corporation β this iconic page is ethhostadmin(8). Stay slaying, bestie! πβ¨π
π¦ 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