ServerMania logo

Start up VS

When you start up a VS, it might be implicitly cold migrated if the current compute resource does not have sufficient resources. For more information, refer to Virtual Server Provisioning.

To start up a VS, use the following request:

POST /virtual_machines/:virtual_machine_id/startup.xml
POST /virtual_machines/:virtual_machine_id/startup.json

XML Request Example

curl -i -X POST -u user:userpass --url http://test/virtual_machines/12/startup.xml 

JSON Request Example

curl -i -X POST -u user:userpass --url http://test/virtual_machines/12/startup.json

You can also start up a VS in recovery mode. For this, run the following request:

XML Request Example

curl -i -X POST -u user:userpass -d '<mode>recovery</mode>' --url http://test/virtual_machines/12/startup.xml

JSON Request example

curl -i -X POST -u user:userpass -d '{"mode":"recovery"}' --url http://test/virtual_machines/12/startup.json