974 B
974 B
Select availability zones where servers are launched
You can select which availability zone servers are launched on.
To select the availability zone where servers are launched, use the
--availability-zone ZONE
parameter on theopenstack 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 | +-----------+