Skip to content

How to Reboot a Server

In this article

Information

For your convenience, we have developed an API and a graphical interface Invapi Control Panel. HOSTKEY clients can manage rented equipment using the command line and their personal account.

Rebooting a Server from the Invapi Control Panel

Log in to your Invapi account https://invapi.hostkey.com.

Then, on the server card, navigate to the submenu Info >> Power control.

To reboot the server, click the button Reboot.

After that, you can check the current status of the server using the button Power Status; the response will be displayed on the screen:

If the server cannot be managed remotely, a different set of buttons will be offered:

  • Request Power On - create a request for technical support to turn on the server's power supply;
  • Request Power Off - create a request to turn off the server's power supply;
  • Request reboot - create a request to reboot the server's power supply;
  • Please check my server and bring it online, something wrong - create a service ticket for server maintenance in case of its malfunction.

After creating a request for any of the listed actions, the system will create a service ticket and notify you of its number. When the request status changes, a corresponding notification is sent to your email:

Rebooting a Server from the Command Line

To reboot a server from the command line, follow these steps:

  1. Connect to the server:

    ssh username@server_ip
    

    Replace username with your username and server_ip with the server's IP address.

  2. Perform the reboot depending on the server type:

    For Linux systems (Ubuntu, Debian, CentOS, etc.):

    sudo reboot
    

    or

    sudo shutdown -r now
    

    For Windows servers with SSH installed:

    shutdown /r /t 0
    

Attention

  • After entering the reboot command, the connection will be interrupted. Reconnect to the server after 5-10 minutes following the reboot.
  • Before rebooting, ensure all essential processes are finished and data is saved.
  • Some servers may require specific commands or additional parameters.
  • Make sure you have the necessary permissions to perform the reboot.

Note

If you don't have SSH access, you can use the VNC console to complete these steps. Detailed instructions on working with consoles are available in the Remote Hardware Control guide.


Some of the content on this page was created or translated using AI.

question_mark
Is there anything I can help you with?
question_mark
AI Assistant ×