2ce5b11b1a
This patch changes the name of the Admin-Guide from the Cloud Admin Guide to the Administrator guide. This affects the filename in the repository, and references to cloud administrators within the document texts. 1.) Changing instances of 'cloud administrator' to 'administrator'. 2.) Change links from '/admin-guide-cloud/' to '/admin-guide/' within the Admin Guide. 3.) Adjust .htaccess file. Change-Id: I7f21a710e922981aa295afc0616de36fd819b523 Implements: blueprint user-guides-reorganised
1.1 KiB
1.1 KiB
Select hosts where instances are launched
With the appropriate permissions, you can select which host instances are launched on and which roles can boot instances on this host.
To select the host where instances are launched, use the
--availability_zone ZONE:HOST
parameter on thenova boot
command.For example:
$ nova boot --image <uuid> --flavor m1.tiny --key_name test --availability-zone nova:server2
To specify which roles can launch an instance on a specified host, enable the
create:forced_host
option in thepolicy.json
file. By default, this option is enabled for only the admin role.To view the list of valid compute hosts, use the
nova hypervisor-list
command.$ nova hypervisor-list +----+---------------------+ | ID | Hypervisor hostname | +----+---------------------+ | 1 | server2 | | 2 | server3 | | 3 | server4 | +----+---------------------+