opashowallports(8)

✨ opashowallports ✨

okay bestie, gather round, because opashowallports is literally that girl πŸ’… β€” she's an IFSFFCLIRG man page girlie and she lives in section 8 of the manual, and she is here to spill the tea on your whole fabric.


🌸 NAME 🌸

opashowallports β€” (Switch and Host) shows you the basic port state and the stats for all host nodes, chassis, or externally-managed switches. like, every single one. no crumbs left behind 🫢

NOTE: opareport and opareports are way more powerful Intel(R) Omni-Path Fabric Suite FastFabric commands. so for general fabric analysis, use opareport or opareports with options like -o errors and -o slowlinks to do an efficient analysis of link speeds and errors. iykyk ✨

πŸ¦‹ Syntax πŸ¦‹

opashowallports [-C] [-f  hostfile] [-F  chassisfile] [-h 'hosts']

[-H 'chassis'] [-S]

πŸŽ€ Options πŸŽ€

  • --help β€” produces the full help text. your bestie when you're lost πŸ’–
  • -C β€” performs the operation against chassis. default is host, jsyk.
  • -f hostfile β€” specifies the file containing the list of hosts in the cluster. default is the /etc/opa/hosts file 🏠
  • -F chassisfile β€” specifies the file containing the list of chassis in the cluster. default is the /etc/opa/chassis file 🏠
  • -h hosts β€” specifies the list of hosts to show ports for. pick your faves ✨
  • -H chassis β€” specifies the list of chassis to show ports for.
  • -S β€” securely prompts for the password for admin on chassis πŸ” (no leaving passwords lying around, periodt)

πŸ’œ Environment Variables πŸ’œ

these lil guys are also used by this command:

  • HOSTS β€” list of hosts, used if the -h option is not supplied.
  • CHASSIS β€” list of chassis, used if -C is used and the -H and -F options are 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_CHASSIS_LOGIN_METHOD β€” how to log into chassis. can be Telnet or SSH.
  • FF_CHASSIS_ADMIN_PASSWORD β€” password for admin on all chassis. used in absence of the -S option. πŸ‘€

🌈 Example 🌈

opashowallports

opashowallports -h 'elrond arwen'

HOSTS='elrond arwen' opashowallports

opashowallports -C

opashowallports -H 'chassis1 chassis2'

CHASSIS='chassis1 chassis2' opashowallports -C

πŸ‘‘ Notes πŸ‘‘

when you run opashowallports against hosts, SSH is used internally, fr fr. this means opashowallports requires that password-less SSH be set up between the host running the Intel(R) Omni-Path Fabric Suite FastFabric Toolset and the hosts that opashowallports is operating against. the opasetupssh FastFabric tool can help you set that password-less SSH up, bestie 🀝

when you're doing operations against chassis, Intel recommends that you set up SSH keys (see opasetupssh). and if SSH keys are not set up, Intel recommends you use the -S option, so you're not keeping the password in configuration files. do not be that girl who hardcodes her password 😭

when you're running opashowallports against externally-managed switches, you need a node with the Intel(R) Omni-Path Fabric Suite FastFabric Toolset installed. typically that's the node you're running opashowallports from. main character energy, honestly πŸ‘‘


🫢 that's the whole page, no gatekeeping, every flag accounted for. go forth and check those ports, queen. πŸ’–

Copyright(C) 2015-2019 Intel Corporation β€” and that's the tea, written down in the IFSFFCLIRG (Man Page) era of opashowallports(8). slay πŸ’…βœ¨