You can select which availability zone servers are launched on.
To select the availabiilty zone where servers are launched, use the
--availability-zone ZONE
parameter on the openstack
baremetalcompute server create command.
For example:
$ openstack baremetalcompute server create --image IMAGE --flavor m1.tiny \
--key-name KEY --availability-zone ZONE --nic net-id=UUID \
--partition ephemeral_gb=500 SERVER
To view the list of valid zones, use the openstack baremetalcompute availability zone list command.
$ openstack baremetalcompute availability zone list
+-----------+
| Zone Name |
+-----------+
| zone1 |
| zone2 |
+-----------+
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.