resize(migration) VS os-liveMigration

asked 2012-09-12 07:53:01 -0600

Can somebody explain to me the differences between the admin-action methods : migrate and os-liveMigration?

I noticed: 1. the method "migrate" invokes "resize" indeed with the parameter "flavor" setting as "None". 2. the method "migrate" takes no parameter, but "os-liveMigration" accepts the host name as a parameter.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2012-09-12 09:26:44 -0600

johngarbutt gravatar image

live-migration keeps the VM "running" when moving machines

Migration moves the VM, but involves taking a snapshot of the terminated VM, then starting it on a new host (well, sort of).

Resize is designed to shutdown a VM and resize its disk to match the newly request flavour, this may involve moving to a new host that has enough room for the larger VM

It turns out migration is a resize without changing the size of the VM, but just does the moving host bit.

I hope that helps? If this is not clear in the documentation, are you OK to raise a documentation bug?

edit flag offensive delete link more
0

answered 2012-09-12 18:34:45 -0600

There is a bug in the documentation - bug 1022653 - to describe this issue. And I'm designed to fix it. So I'm like to make sure my understanding is right. Thanks, John.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2012-09-12 07:53:01 -0600

Seen: 18 times

Last updated: Sep 12 '12