Purpose
You can use this statement to cancel unit migration.
Notice
This statement can be executed only in the sys tenant.
Syntax
ALTER SYSTEM CANCEL MIGRATE UNIT unit_id;
Parameters
| Parameter | Description |
|---|---|
| unit_id | The ID of the unit to be migrated. |
Examples
Cancel the migration of the resource unit whose unit_id is 1001.
obclient> ALTER SYSTEM CANCEL MIGRATE UNIT 1001;