VM Migration From KVM To Openstack
VM Migration From KVM To Openstack
VM Migration From KVM To Openstack
1. Migration Procedure
Step 1: Enviroment check
Collect network-id
[root@controller01 ~(keystone)]# openstack network list
+--------------------------------------+----------------+--------------------------------------+
| ID | Name | Subnets |
+--------------------------------------+----------------+--------------------------------------+
| 28302b07-83a1-4732-9a67-a4a195e644c2 | provider-dmz | 6ec3760d-7649-423a-85cb-d46073e516d2 |
| 79d9d67c-13d5-4617-b8e7-b8c1034183f3 | provider-local | 0456cb58-ff2e-4c6e-b377-603aee0bef93 |
+--------------------------------------+----------------+--------------------------------------+
Collect qcow2 location in node7
ae_mssp-prod /vm_node7/ae_mssp-prod.qcow2
me_mssp-prod /vm_node7/me_mssp-prod.qcow2
mshop_web-prod /vm_node7/mshop_web-prod.qcow2
mshop_app-prod /vm_node7/mshop_app-prod.qcow2
db_mssp_bk-prod /vm_node7/db_mssp_bk-prod.qcow2
2. Rollback
2.1 Backup instances in openstack
Step 1: Create snapshot
In dashboard: Project > Compute > Instances > Select instance and click “Create Snapshot”
Step 2: Create Volumes from snapshot
In dashboard: Project > Volumes > Volume Snapshots > select snapshot image and click “Create
Volume”