opagenesmchassis(8)

✨ NAME ✨

opagenesmchassis β€” bestie, this one generates a list of chassis IPv4 and IPv6 addresses and/or TCP names where the Embedded Subnet Manager (ESM) is running, in a format that's acceptable for inclusion in the /etc/opa/esm_chassis file. πŸ’–

The way this works is it uses opagenchassis output to iterate through all the chassis. No cap, it's just vibing through every single one. πŸ¦‹


🌸 Syntax 🌸

opagenesmchassis [-u user] [-S] [-t  portsfile] [-p  ports]

πŸ’… Options πŸ’…

  • --help β€” produces the full help text. Go off, ask for help, it's giving self-care. 🫢
  • -u user β€” performs the command as user. For chassis, the default is admin. πŸ‘‘
  • -S β€” securely prompts for the password for user on the chassis. Very demure, very mindful, no password in plain sight. πŸ™ˆ
  • -t portsfile β€” specifies the file with a list of local HFI ports used to access fabric(s) for analysis. The default is /etc/opa/ports. πŸŽ€
  • -p ports β€” specifies the list of local HFI ports used to access fabrics.

Default is first active port. The first HFI in the system is 1. The first port on an HFI is 1. Uses the format hfi:port, for example:

  • 0:0 β€” first active port in system. ⭐
  • 0:y β€” port y within system.
  • x:0 β€” first active port on HFI x.
  • x:y β€” HFI x, port y.

🌈 Environment Variables 🌈

The following environment variables are also used by this command, iykyk:

  • FF_CHASSIS_ADMIN_PASSWORD β€” password for chassis, used in absence of -S. πŸ”‘
  • PORTS β€” list of ports, used in absence of -t and -p. 🧚
  • PORTS_FILE β€” file containing list of ports, used in absence of -t and -p. πŸ“

πŸ¦‹ Examples πŸ¦‹

Just running it, no thoughts, head empty:

opagenesmchassis

Being a little extra with the password prompt and the ports, periodt:

opagenesmchassis -S -p '1:1 1:2 2:1 2:2'

Alternatively, while editing the file, use a vi command to include the output such as:

:r! opagenesmchassis
πŸ’€ Lowkey the :r! trick is the main character moment here β€” it literally slurps the output of opagenesmchassis straight into whatever file you're editing. Chef's kiss. πŸ”₯

Copyright(C) 2015-2019 Intel Corporation. πŸ’œ

This whole page comes to you from IFSFFCLIRG (Man Page), opagenesmchassis(8) β€” that's the vibe check, we're done here, bye bestie! πŸŒΈβœ¨πŸ‘‘