Create Instance on Specific Host Using CLI
PreviousIsolate Compute Hosts for a Specific TenantNextLimit Memory Provisioning in Platform9 Managed OpenStack
Last updated
By default, selecting a host to launch instances is done by nova-scheduler.
There are use-cases where nova-scheduler can be forced to create instances on a specific host.
Platform9 Managed OpenStack - All Versions
Identify a host and its availability zone.
$ openstack host listPass the parameter --availability-zone to the o penstack server create command. For example:
$ openstack server create \
--image [IMAGE_UUID] \
--flavor [FLAVOR_UUID] \
--key-name [key ID] \
--availability-zone [ZONE_NAME]:[HOST_UUID] \
--nic net-id=[NETWORK_UUID] \
[INSTANCE_NAME]Last updated
