Does OpenStack support restricting VMs distribution over the hosts

asked 2013-12-05 22:03:10 -0500

anonymous user


updated 2014-01-22 15:13:00 -0500

Evgeny gravatar image

Consider 3 VMs (VM1, VM2 and VM3) planned to be deployed over 2 hosts. Can the VMs distribution over the hosts be restricted like: - VM1 and VM2 should not be deployed in the same host - VM1 and VM3 can be deployed in the same host - VM2 and VM3 can be deployed in the same host ?

edit retag flag offensive close merge delete


are the 3 different VMs from different projects?

fifieldt gravatar imagefifieldt ( 2013-12-05 22:56:58 -0500 )edit

they are from the same project, but for redundancy reasons (considering the host as a failure zone), 2 of them should not run in the same host

haseeb gravatar imagehaseeb ( 2013-12-05 23:26:30 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2013-12-05 23:49:27 -0500

tim-bell gravatar image

You can give hints when you run nova boot to tell the cloud where to put the VM. See the docs at for the details of the Different Host Filter and Same Host Filter which allows you to place the VMs appropriately.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools


Asked: 2013-12-05 22:03:10 -0500

Seen: 155 times

Last updated: Dec 05 '13