Why live migration when using XCP and openstack has so much downtime?
In my setup I use two XCP servers on top of Debian Wheezy (xcp-xapi package) and the openstack nova compute VM is running on Ubuntu 12.04 with OpenStack Grizzly.
I configured live migration based on the documentation and I had to apply some patches to solve these issues:
https:/
https:/
https:/
Eventually the migration works, but I experience very long downtime.
I made a simple script running in a while loop that it will simply print the time and ping from within the vm-on-migration to another pingable IP and this is the result:
Mon Jul 15 09:45:50 MDT 2013
64 bytes from 192.168.30.4: seq=0 ttl=64 time=0.523 ms
Mon Jul 15 09:45:51 MDT 2013
64 bytes from 192.168.30.4: seq=0 ttl=64 time=0.504 ms
Mon Jul 15 09:45:52 MDT 2013
64 bytes from 192.168.30.4: seq=0 ttl=64 time=0.520 ms
Mon Jul 15 09:48:58 MDT 2013
64 bytes from 192.168.30.4: seq=0 ttl=64 time=0.569 ms
Mon Jul 15 09:48:59 MDT 2013
64 bytes from 192.168.30.4: seq=0 ttl=64 time=0.510 ms
Mon Jul 15 09:49:00 MDT 2013
64 bytes from 192.168.30.4: seq=0 ttl=64 time=0.484 ms
As you see one ping before the initiation of the migration is at 09:45:52 and the next one comes more than 3 minutes after at 09:48:58
+------
root@controller:~# nova list --fields name,host,
+------
| ID | Name | Host | Instance Name | Networks | Status |
+------
| d0958165-
| b69eeb2d-
+------
root@controller:~# nova live-migration b69eeb2d-
root@controller:~# nova list --fields name,host,
+------
| ID | Name | Host | Instance Name | Networks | Status |
+------
| d0958165-
| b69eeb2d-
+------
root@controller:~# nova list --fields name,host,
+------
| ID | Name | Host | Instance Name | Networks | Status |
+------
| d0958165-
| b69eeb2d-
+------
If I migrate exactly the same vm, using the command "xe vm-migrate vm=instance-
Mon Jul 15 09:40:26 MDT 2013
64 bytes from 192.168.30.4: seq=0 ttl=64 time=0.492 ms
Mon Jul 15 09:40:27 MDT 2013
64 bytes from 192.168.30.4: seq=0 ttl=64 time=0.610 ms
Mon Jul 15 09:40:28 MDT 2013
64 bytes from 192.168.30.4: seq=0 ttl=64 time=0.753 ms
Mon Jul 15 09:40:31 MDT 2013
64 bytes from 192.168.30.4: seq=0 ttl=64 time=0.604 ms
Mon Jul 15 09:40:32 MDT 2013
64 bytes from 192.168.30.4: seq=0 ttl=64 time=0.497 ms
Mon Jul 15 09:40:33 MDT 2013
64 bytes from 192.168.30.4: seq=0 ttl=64 time=0.596 ms
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Vangelis Tasoulas
- Solved:
- Last query:
- Last reply: