Submitted by pcfreak30 on Wed, 02/19/2014 - 17:38
The reboot-system command should reboot even if the VPS is offline, as it is logical to do that. Currently you can only reboot a running system.
Status:
Active
The reboot-system command should reboot even if the VPS is offline, as it is logical to do that. Currently you can only reboot a running system.
Comments
Submitted by JamieCameron on Wed, 02/19/2014 - 20:12 Comment #1
That would be an easy change to make .... but what does it mean reboot a VPS that is offline, vs just starting it up?
Submitted by pcfreak30 on Wed, 02/19/2014 - 20:14 Comment #2
I know the change is simple and I can do it myself, just want it fixed.
Basically If you have a offline server, you can not reboot it. It has to be online to be rebooted. I have a habbit of pressing reboot over boot and I am betting that applies to many others as well.
Submitted by JamieCameron on Wed, 02/19/2014 - 20:25 Comment #3
Ok, but does rebooting an offline VPS do anything different from booting it (with the Start System menu item in Cloudmin) ? I'm reluctant to add menu items that are redundant.
Submitted by pcfreak30 on Wed, 02/19/2014 - 20:35 Comment #4
No, but rebooting should generally be able to boot a server regardless of its state.
And this is more of via API, not the web interface.
Submitted by JamieCameron on Wed, 02/19/2014 - 20:52 Comment #5
To me a "reboot" means something like what happens if you hit ctrl-alt-delete at the console of a physical system .. which doesn't work if it is shut down.
If you are calling the API, can't you call
startup-system
if the current state is down? Or is there some limitation of the API that makes checking the status impractical?Submitted by pcfreak30 on Wed, 02/19/2014 - 21:00 Comment #6
Generally I have always had been able to press "reboot" and get a VM up or cycled regardless of what state it was in. I am looking at this for VM's not for a physical system.
Sometimes I dont know the server state and want to ensure it is up.
Also "vzctl" even has a reboot command on my version that does this so theres no reason it can't be added in a simple manner.