Version 5 Development > webGui Design
Powerdown Button!!
gsd2012:
The web GUI needs a way to shutdown and reboot if needed. This would include a graceful shutdown if needed and same for the reboot. There are times I have needed to do that and had to run to the lab to do a graceful shutdown (yes you could do it from a telenet but not as graceful at you can from the power button). Just a thought for future add-ons.
jowi:
Don't know about the stock gui, but if you would use the Simplefeatures gui, you get a reboot and a powerdown button once you stop the array.
Helmonder:
Jup... and telnet is actually more "gracefull" then the powerbutton... In the best case they do the same (if you have rigged your system to actually kill hanging processes), chances are the button just initiates a shutdown and that is far from gracefull...
Use stop array - stop system and if something hangs try the following:
My array will not shut down after I have told it to.
WARNING: Only do this if you are comfortable with linux commands, if not, wait it out and if all else fails reset the system (this will result in a parity check)
1. Telnet into the system.
2. Do a ps -elf | grep mnt and see if something recognisable is still at work
3. If not try ps -elf | grep disk and see if something recognisable is still at work
4. KILL <processid> (the number at the start of the line giving the ps -elf results)
5. Wait if array shuts down, if not, back to 2
6. Also worth trying: ps -elf | grep forked (the itunes plugin (forked-daapd) does this standard, I have to do it every time)
jowi:
The clean powerdown script you can get from unmenu's package manager, will stop the array, any processes, and does a powerdown or reboot, that is what i'm using mostly, from the command line, but i assume this script is linked to the powerdown button as well but i'm not sure. But i do know it is linked to the APC ups plugin.
mbryanr:
It is linked to the powerdown button.
Navigation
[0] Message Index
[#] Next page
Go to full version