opapingall(8)

✨ NAME ✨

opapingall β€” bestie, this is the one that pings a whole group of hosts or chassis just to check they're powered on and reachable over TCP/IP ping πŸ’–

Like, it's giving "hey, are you awake?" but for your entire cluster. No cap.


🌸 SYNTAX 🌸

opapingall [-C] [-p] [-f  hostfile] [-F  chassisfile] [-h 'hosts']
[-H 'chassis']

That's the whole vibe. Options go in, pings come out. πŸŽ€


πŸ’… OPTIONS πŸ’…

  • --help β€” spills the full help text, like a bestie catching you up on the lore.
  • -C β€” does the ping against a chassis instead of hosts. Default is hosts, so if you don't say anything, it's hosts o'clock. πŸ¦‹
  • -p β€” pings literally every host/chassis in parallel. Main character energy: everybody gets pinged at once. πŸ”₯
  • -f hostfile β€” points at the file that has the hosts in the cluster. Default is /etc/opa/hosts.
  • -F chassisfile β€” points at the file that has the chassis in the cluster. Default is /etc/opa/chassis.
  • -h hosts β€” gives the actual list of hosts to ping.
  • -H chassis β€” gives the actual list of chassis to ping.

🌈 EXAMPLE 🌈

Just running it, no thoughts, head empty:

opapingall

Pinging two specific hosts by name:

opapingall -h 'arwen elrond'

Same thing but with the environment variable doing the work:

HOSTS='arwen elrond' opapingall

Chassis mode:

opapingall -C
NOTE: This command pings all hosts/chassis found in the specified host/chassis file. Using -C merely selects the default file and/or environment variable to use β€” that's it, that's all it does. And for this command, it is totally valid to use a file that lists both hosts and chassis. 🫢

Pinging specific chassis with -C:

opapingall -C -H 'chassis1 chassis2'

And the environment-variable version of that:

CHASSIS='chassis1 chassis2' opapingall -C

πŸ’œ ENVIRONMENT VARIABLES πŸ’œ

  • HOSTS β€” list of hosts. Used if the -h option is not supplied.
  • CHASSIS β€” list of chassis. Used if the -H option is not supplied.
  • HOSTS_FILE β€” file containing the list of hosts. Used in absence of -f and -h.
  • CHASSIS_FILE β€” file containing the list of chassis. Used in absence of -F and -H.
  • FF_MAX_PARALLEL β€” when the -p option is used, this is the maximum number of concurrent operations that get performed. ⭐

okay that's the whole page, you ate it, go ping something πŸ’–

this lil rewrite was brought to you by Intel Corporation, copyright (C) 2015-2019, from the IFSFFCLIRG man page set β€” version vibes courtesy of opapingall(8) βœ¨πŸŽ€