To add a new compute zone, use the following request:
XML Request Example
JSON Request Example
label* - title of a new compute zone
server_type - specify the type of servers that will reside within this compute zone:
- virtual - choose the virtual type to create a Xen, KVM, VMware or CloudBoot zone
- smart - choose the smart server type to create a smart server zone
- baremetal - choose the baremetal server type to create a baremetal server zone
- vpc - choose the vpc server type to create a vCloud Director server zone
location_group - specify the location group to which the compute zone will be assigned
preconfigured_only - specify whether the zone can be used for creating Instance Package VSs only.When this option is enabled, the zone cannot be used during custom virtual server (VSs built by setting resources manually) creation.
release_resource_type - specify the release resource type. Release resource option allows to free up compute resource resources by over-committing RAM, CPU and CPU shares of virtual servers that are shut down. By default, the compute zone is created with the Memory Guarantee option enabled. In this case the release resources option is not used. Then, to enable resource over-committing you should choose either the Ballooning or Only Started VS option.
memory_guarantee - the actual free compute resource memory is calculated. All virtual servers residing on the compute resource will be able to start.
ballooning - free compute resource memory is calculated with the ability to use memory over-committing. The ballooning option is only available for KVM compute resources. NOTE: Virtual server may be migrated to another compute resource if there is not enough memory for it to start up on the compute resource with the ballooning option enabled.
Do not use the ballooning option if there is at least one edge or storage server within the compute zone.
only_started_vms - only the memory of running virtual servers is calculated.
max_vms_start_at_once - the maximum number of virtual servers that can be started simultaneously within this compute zone
recovery_type - specify the compute resource selection algorithm, which will be used on virtual server provisioning and recovery, per compute zone:
roundrobin - set the roundrobin type to select the compute resource with maximum free RAM during the VS recovery
Note: this option behaves in different ways, depending on the event:
- On provisioning, the round-robin algorithm will be used on compute resource selection.
- On recovery, the compute resource with maximum free RAM will be selected.
- fillnext - select the fillnext type to select the compute resource with minimum required free RAM. This option allows to fill compute resource as tightly as possible before starting to use next appliance in the zone
failover_timeout - time period for which the iterations will run during the failover if the compute resource does not respond
prefer_local_reads - set 1 to minimise the network throughput dependency for read heavy workloads. When this option is enabled, reads go over the local software bridge to a local replica of the data rather than traverse a physical NIC + switch.
run_sysprep - set 1 to enable Windows virtual server deployment without running sysprep
NOTE: It is not possible to set VS password when creating a Windows-based VMware virtual server without running a sysprep.
cpu_units - set the number of cpu units for applied to each compute resource in this compute zone
cpu_flags_enabled - true if CPU flags are enabled for the compute zone; otherwise false
custom_config - specify any custom commands you want to run when a compute zone is booted
default_gateway - external gateway IP address. All virtual servers within the compute zone will be rerouted to this gateway.
vlan - address of a VLAN, on which the default gateway is located, with prefix length specified. For example: 10.0.0.1/24.
- added the custom_config parameter
- added the following parameters:
- added cpu_units parameter
- added the following parameters: