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

Safe power down #5

Open
mmaelicke opened this issue Sep 26, 2018 · 0 comments
Open

Safe power down #5

mmaelicke opened this issue Sep 26, 2018 · 0 comments
Labels
electronics enhancement New feature or request

Comments

@mmaelicke
Copy link
Owner

Right now, the cluter is shut down by disconnecting all nodes and the Raspberry Pi 3+ from the voltage supply while running. This can corrupt the OS on the SD card and should be improved. I would like to have a solution with a power down button outside the casing:

  1. User pushes a power-down button connected to the Raspi GPIO. As respoonse, the Raspi turns an indicator LED on.
  2. The raspi sshs into all nodes and calls a shutdown script (or just issues the shutdown -h now command)
  3. (optional) wait until the connection to each of the nodes is closed (meaning the node is powered off)
  4. alternatively, wait for 30 secs or 1 minute until all nodes are shutdown
  5. shut the raspi down. As soon as it is powered down, the indicator LED shut be off as the GPIOs are not supplied anymore (are they?).

Now, the User can use the hard power switch and disconnect the whole cluster from supply.

@mmaelicke mmaelicke added enhancement New feature or request electronics labels Sep 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
electronics enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant