[Openstack] Migration of 2 VMs to the same Compute node

Daniel Spiekermann daniel.spiekermann at fernuni-hagen.de
Tue Feb 17 06:42:39 UTC 2015


Am 16.02.2015 um 16:55 schrieb Adnan Smajlovic:
> On 16 February 2015 at 14:22, Christian Berendt <christian at berendt.io 
> <mailto:christian at berendt.io>> wrote:
>
>     On 02/14/2015 06:54 PM, Daniel Spiekermann wrote:
>     > is it possible to migrate 2 different VMs to the same compute node?
>
>     Have you tried it with nova live-migration or only with nova migrate?
>
>     With nova live-migration it is possible to specify the target host.
>
>     usage: nova live-migration [--block-migrate] [--disk-over-commit]
>                                <server> [<host>]
>
>     Migrate running server to a new machine.
>
>     Positional arguments:
>       <server>            Name or ID of server.
>       <host>              destination host name.
>
>     Christian.
>
>
> Initially I thought that the server group affinity filter (available 
> since Icehouse) would be suitable for the use case you have outlined: 
> - 
> http://docs.openstack.org/trunk/config-reference/content/section_compute-scheduler.html#servergroupaffinityfilter
>
> However it seems that it is currently only honoured at boot and 
> updated for the upcoming Kilo release - 
> https://blueprints.launchpad.net/nova/+spec/anti-affinity-on-migration. Until 
> then live migration may indeed be your only way to achieve the 
> required affinity behaviour.

Thanks Christian and Adnan,

nova live-migration is exactly what I am looking for.
Works well for my little testlab

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20150217/c1f74993/attachment.html>


More information about the Openstack mailing list