Ask Your Question
0

how can I launch an instance in a concrete server? [closed]

asked 2014-03-08 16:11:49 -0500

diegolopez gravatar image

Hello,

I have got 2 compute nodes, and I'd like to choose in which one the instance will run. How can I do this? Maybe any parameter in "nova boot"?

Thanks!

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by koolhead17
close date 2014-06-05 08:06:24.838959

2 answers

Sort by ยป oldest newest most voted
0

answered 2014-03-09 22:57:49 -0500

Liping Mao gravatar image

Or you can use the default availability zone(nova): --availability-zone nova:$hostname

edit flag offensive delete link more
0

answered 2014-03-08 16:49:35 -0500

diegolopez gravatar image

Solved, first I created an aggregate zone (and It created an availability zone). Then, you can add machines to this zone. The instance can be boot on this new availability zone.

For example:
nova boot example --image 778d0d68-4e98-40a5-ad01-97ab60ca9035 --flavor 1 --availability-zone new_zone

Here the instructions: http://russellbryantnet.wordpress.com/2013/05/21/availability-zones-and-host-aggregates-in-openstack-compute-nova/ (http://russellbryantnet.wordpress.com...)

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2014-03-08 16:11:49 -0500

Seen: 153 times

Last updated: Mar 09 '14