ethverifyhosts(8)

πŸ“¦ version 12.1.0.1, in centos-stream 9, fedora 43, fedora 44, opensuse-leap 16.0

✨ ethverifyhosts ✨

okay bestie, welcome to ethverifyhosts(8) β€” a lil EFSFFCLIRG man page that's about to be your new fave πŸ’–

🌸 NAME 🌸

ethverifyhosts β€” verifies basic node configuration and performance by running FF_HOSTVERIFY_DIR/hostverify.sh on all the hosts you point it at. she's the vibe check for your whole cluster, fr fr πŸ¦‹

NOTE: before you go using ethverifyhosts, copy the sample file /usr/share/eth-tools/samples/hostverify.sh over to FF_HOSTVERIFY_DIR and edit it to set the appropriate configuration and performance expectations, and to select which tests run by default. On the first run for a given node, use the -c option so that hostverify.sh gets copied to each node. no skipping this step, iykyk πŸ’…

FF_HOSTVERIFY_DIR defines both the location of hostverify.sh and the destination of the hostverify.res output file. FF_HOSTVERIFY_DIR is configured in the /etc/eth-tools/ethfastfabric.conf file. she's doing double duty, main character energy πŸ‘‘

A summary of results gets appended to the FF_RESULT_DIR/verifyhosts.res file. A punchlist of failures is also appended to the FF_RESULT_DIR/punchlist.csv file. And heads up: only failures are shown on stdout. quiet queen behavior 🌈


πŸŽ€ Syntax πŸŽ€

ethverifyhosts [-kc] [-f  hostfile] [-u  upload_file] [-d  upload_dir]

[-h  hosts] [-T  timelimit] [-F  filename] [ test ...]

πŸ’… Options πŸ’…

  • --help β€” produces full help text. the "bestie explain" button 🫢
  • -k β€” at the start and end of verification, kills any existing hostverify or xhpl jobs on the hosts. it's giving cleanup era ✨
  • -c β€” copies hostverify.sh to hosts first. useful if you've edited it. literally the "ship my edits" flag πŸ“¦
  • -f hostfile β€” specifies the file with hosts in cluster. default is /etc/eth-tools/hosts. πŸ“
  • -h hosts β€” specifies the list of hosts to ping. πŸ“‘
  • -u upload_file β€” specifies the filename to upload hostverify.res to after verification, so you can back up and review the detailed results for each node. the default upload destination file is hostverify.res. if you pass -u '', no upload occurs 🚫
  • -d upload_dir β€” specifies the directory to upload result from each host to. default is uploads. πŸ—‚οΈ
  • -T timelimit β€” specifies the time limit in seconds for host to complete tests. default is 300 seconds (5 minutes). tick tock bestie ⏰
  • -F filename β€” specifies the filename of hostverify script to use. default is /root/hostverify.sh. 🧚
  • test β€” specifies one or more specific tests to run. see /usr/share/eth-tools/samples/hostverify.sh for a list of available tests. pick your fighters πŸ₯Š

🌈 Examples 🌈

ethverifyhosts -c

ethverifyhosts -h 'arwen elrond'

HOSTS='arwen elrond' ethverifyhosts

arwen and elrond are getting verified and honestly? iconic πŸ’€


🧚 Environment Variables 🧚

  • HOSTS β€” list of hosts, used if -h option not supplied. πŸ’–
  • HOSTS_FILE β€” file containing list of hosts, used in absence of -f and -h. πŸ“„
  • UPLOADS_DIR β€” directory to upload to, used in absence of -d. πŸ“
  • FF_MAX_PARALLEL β€” maximum concurrent operations. go fast but not too fast πŸ”₯

and that's the whole page, no cap πŸŽ€ this ethverifyhosts(8) page came to you from the EFSFFCLIRG man page set, copyright (C) 2020-2024 Intel Corporation β€” big thank you to Intel for the lore, mwah πŸ’œ periodt.

πŸ“¦ where this page comes from