Ask Your Question

Running a VM on specific host using Hot

asked 2016-07-18 11:24:51 -0600

newdevos gravatar image


I want to use hot in order to specify the physical servers where to run my VMs ? In fact, it is possible to do this with nova using "--availability-zone nova:node_name" option, but with Hot I don't know how ? Any advice is welcome.

Thanks in advance. Best regards.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2016-07-19 02:14:56 -0600

you can do this using flavor metadata and host aggregate, for example have a look at:

HTH Amedeo

edit flag offensive delete link more

answered 2016-07-19 04:50:30 -0600

newdevos gravatar image

Thanks amedeo-salvati for your reply. But what you mention in these links is applicable only with nova using "--availability-zone nova:node_name" option, as I already highlight in my question. However, I am wondering if it is possible to use Heat Orchestration Template (HOT) to specify the host server.

Thanks in advance. Regards.

edit flag offensive delete link more



As admin create a Host Aggregate adding the compute host you want to use for the VM. Give a name to the availability_zone for the host aggregate, ie. fast. Then use that same availability zone name in your template as: availability_zone: fast

barry.davis gravatar imagebarry.davis ( 2016-07-19 09:44:33 -0600 )edit

Thanks so much I solved my problem. I have to use availability_zone parameter in the hot file as mentioned by barry.davis Thanks for all of you. Best regards.

newdevos gravatar imagenewdevos ( 2016-07-20 09:37:05 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools


Asked: 2016-07-18 11:24:51 -0600

Seen: 1,038 times

Last updated: Jul 19 '16