To migrate a Linux-based VS from Xen to KVM compute resource, use the following request:
XML Request Example
JSON Request Example
migration_type* - set to xen_to_kvm if you want to run the migration from Xen to KVM.
backup_before_migration - set to 1 if you want to schedule a backup before the migration. Otherwise, set to 0 (default state is "1")
delete_old_backups - set to 1 if you want to remove old backups incompatible with KVM after the migration is completed. Otherwise, set to 0 (default state is "1")
If enabled, this option deletes all the old backups besides the one that is taken right before the migration provided that you also enabled scheduling a backup before the migration.
backup_after_migration - set to 1 if you want to schedule backups in case of successful migration. Otherwise, set to 0 (default state is "1")
destination* - hash of destination parameters:
hypervisor_group_id - the ID of a target compute zone where you migrate a VS
hypervisor_id - the ID of a target compute resource where you migrate a VS
disks_destinations - the array where you can pass the following parameters:
disk_id - the ID of the disk that you want to migrate
data_store_id - the ID of the target data store