Ask Your Question

How to create vms on the same computer node?

asked 2015-03-12 03:06:12 -0500

nethawk gravatar image

I want to create three vms, and I want to create them on the same computer node. How can I do?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2015-03-12 12:47:32 -0500

jdexter gravatar image

When you launch vms, nova scheduler determines what hosts to add the VMs to depending on the criteria you have defined in the schedule filter.

To assign vms to a particular host, you can specify the host using the availability zone option in the nova boot command.

$ nova boot --image <image-id> --flavor <flavor-id> <vm-name> --availability-zone <availability-zone> Where <availability-zone> is zone:host as seen in you $ nova service-list

edit flag offensive delete link more

answered 2015-03-12 03:29:39 -0500

1-Cloud gravatar image

If you want to create a Instances on Compute node use this command.

$ nova boot --image <image-id> --flavor <flavor-id> <vm-name>

this command will creatre vms on compute node.

now, you can see vms in

$ nova list

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-03-12 03:06:12 -0500

Seen: 195 times

Last updated: Mar 12 '15