High level management scripts for IPMI/OOB #66

Open
opened 2024-07-14 10:42:54 +00:00 by delroth · 1 comment
Owner

ipmitool is kind of annoying to use (especially for occasional users), and we have some stuff like the IP numbering scheme/convention being used that also needs some extra care/remembering. Ideally we'd have a collection of simple high-level scripts to manage the builders. Proposed API:

# oob-power-on $builderid
# oob-power-off $builderid
# oob-power-cycle $builderid
# oob-console $builderid
# oob-factory-reset $builderid    # boots on a reset image which reimages the machine while keeping creds
# oob-power-wash $builderid    # boots on a reset image which cleans the machine completely and wipes creds

Ideally we put a list of those commands in the motd for root so documentation is easily findable when sshing to the OOB machine.

ipmitool is kind of annoying to use (especially for occasional users), and we have some stuff like the IP numbering scheme/convention being used that also needs some extra care/remembering. Ideally we'd have a collection of simple high-level scripts to manage the builders. Proposed API: ``` # oob-power-on $builderid # oob-power-off $builderid # oob-power-cycle $builderid # oob-console $builderid # oob-factory-reset $builderid # boots on a reset image which reimages the machine while keeping creds # oob-power-wash $builderid # boots on a reset image which cleans the machine completely and wipes creds ``` Ideally we put a list of those commands in the motd for root so documentation is easily findable when sshing to the OOB machine.
Owner
We can do something like this: https://github.com/TUM-DSE/doctor-cluster-config/blob/master/tasks.py IMHO.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: the-distro/infra#66
No description provided.