Managed OpenStack
Latest
Create Instance on Specific Host Using CLI
Problem
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.
Environment
Platform9 Managed OpenStack - All Versions
Procedure
Identify a host and its availability zone.
$ openstack host list
Pass 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]
Additional Information
Last updated on
Was this page helpful?
Frequently Asked Questions
Solution
How To
Internal Only
Templates
Powered by
