Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make use of Magic SysRq via the BMC serial connection #172

Open
srcshelton opened this issue Jan 12, 2024 · 0 comments
Open

Make use of Magic SysRq via the BMC serial connection #172

srcshelton opened this issue Jan 12, 2024 · 0 comments

Comments

@srcshelton
Copy link

Is your feature request related to a problem? Please describe.

As a TP2 user,
I would like to make maximal use of the existing options for interaction between the BMC and installed nodes
so that the TP2 can behave a little more like server-class systems with tight BMC integration.

Describe the solution you'd like

The UI 'Power' options could be updated to differentiate between a soft reset/power-down and a hard reset/power-down:

  • Fuzzy but presumably possible: if the user chooses to enter per-node user/root credentials, then on soft-reset the BMC could open a serial connection a look for an active shell session or login prompt, and then automagically issue a 'shutdown -r now' or 'shutdown -h now' command - it could even steal output and display the result in the BMC Web UI (if there was no active session?);

  • Via an alternate UI option or if the node appears unresponsive, then the BMC could send Sync/Umount/Reboot (or Crash) Magic SysRq sequences via the serial connection (which the kernel should respond to regardless of whether there's a session in progress or even a full-screen application running) before cutting power.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant