On 16 February 2015 at 14:22, Christian Berendt <christ...@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.

Regards,

--
Adnan
_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to