Selecting Hosts to Launch Instances
To create and launch an instance on a specific host you must be logged in as an administrator.
-
Select the host where instances are launched using the
--availability-zone ZONE:HOST
parameter on theopenstack server create
command.For example:
$ openstack server create --image <UUID> --flavor m1.tiny --key_name test --availability-zone nova:server2
-
To view the list of valid compute hosts, use the
openstack hypervisor list
command.$ openstack hypervisor list +----+---------------------+ | ID | Hypervisor Hostname | +----+---------------------+ | 1 | server2 | | 2 | server3 | | 3 | server4 | +----+---------------------+