osc compute server live-migrate230
Live-Migrate Server (os-migrateLive Action) (microversion = 2.30)
Usage: osc compute server live-migrate230 [OPTIONS] --block-migration <BLOCK_MIGRATION> --host <HOST> <ID>
Arguments:
<ID>
— id parameter for /v2.1/servers/{id}/action API
Options:
-
--block-migration <BLOCK_MIGRATION>
— Migrates local disks by using block migration. Set toauto
which means nova will detect whether source and destination hosts on shared storage. if they are on shared storage, the live-migration won’t be block migration. Otherwise the block migration will be executed. Set toTrue
, means the request will fail when the source or destination host uses shared storage. Set toFalse
means the request will fail when the source and destination hosts are not on the shared storage.New in version 2.25
Possible values:
true
,false
-
--force <FORCE>
— Force a live-migration by not verifying the provided destination host by the scheduler.Warning
This could result in failures to actually live migrate the instance to the specified host. It is recommended to either not specify a host so that the scheduler will pick one, or specify a host without
force=True
set.New in version 2.30
Available until version 2.67
Possible values:
true
,false
-
--host <HOST>
— The host to which to migrate the server. If this parameter isNone
, the scheduler chooses a host.Warning
Prior to microversion 2.30, specifying a host will bypass validation by the scheduler, which could result in failures to actually migrate the instance to the specified host, or over-subscription of the host. It is recommended to either not specify a host so that the scheduler will pick one, or specify a host with microversion >= 2.30 and without
force=True
set.