3.1.11. Live-migrate server

 
MethodURIDescription
POST/v2/{tenant_id}/servers/{server_id}/action

Live-migrates a server to a new host without rebooting.

Normal response codes: 202

 3.1.11.1. Request

This table shows the URI parameters for the live-migrate server request:

NameTypeDescription

{tenant_id}

​String

The ID for the tenant or account in a multi-tenancy cloud.

{server_id}

​U​U​ID

The UUID for the server of interest to you.

 

Example 3.21. Live-migrate server: JSON request

{
    "os-migrateLive": {
        "host": "0443e9a1254044d8b99f35eace132080",
        "block_migration": false,
        "disk_over_commit": false
    }
}

 

Example 3.22. Live-migrate server: XML request

<?xml version="1.0" encoding="UTF-8" ?>
    <os-migrateLive>
        <host>6217bf142bb3491995f966af999f9f23</host>
        <block_migration>false</block_migration>
        <disk_over_commit>false</disk_over_commit>
    </os-migrateLive>

This operation does not require a request body.

Questions? Discuss on ask.openstack.org
Found an error? Report a bug against this page


loading table of contents...