Rebooting the Server

The reboot operation is used to reboot your server.

In this chapter:

Request Packet Structure

Response Packet

Samples

 

Request Packet Structure

The reboot operation is used to reboot your server.

A request XML packet (server_input.xsd) that reboots the server:

<packet>
<server>
   <reboot/>
</server>
</packet>
 

Response Packet

The reboot node of the output XML packet is of complex type (server_output.xsd) which has the following presentation:

reboot 1633

  • result, required.
    It wraps the result of the reboot operation. Data type: resultType (common.xsd).
  • status, required.
    It returns the execution status of the operation. Data type: string. Allowed values: ok | error.
  • errcode, required if the operation fails.
    Returns error code. Data type: unsignedInt.
  • errtext, required if the operation fails.
    Returns error message. Data type: string.
 

Samples

This request reboots the server:

<packet>
<server>
   <reboot/>
</server>
</packet>

Response:

<packet>
  <server>
    <reboot>
      <result>
        <status>ok</status>
      </result>
    </reboot>
  </server>
</packet>