Ask Your Question
1

Running a VM on specific host using Hot

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

newdevos gravatar image

Dears,

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
1

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

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

https://blog.russellbryant.net/2013/0...

https://www.mirantis.com/blog/segrega...

HTH Amedeo

edit flag offensive delete link more
-1

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

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

Comments

1

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 -0500 )edit
1

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 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

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

Seen: 291 times

Last updated: Jul 19 '16