Allocate VM instances in the affinity group to different hosts as much as possible. If no more hosts are available, the VM instances will be allocated randomly.
Strictly allocate VM instances in the affinity group to different hosts. If no more hosts are available, the allocation fails.
This section provides some usage examples of anti-affinity group (soft) and anti-affinity group (hard) policies.
Name | Description | Optional | Optional Value | Starting Version |
---|---|---|---|---|
uuid | The UUID. For more information, see Resource Property. | 2.2 | ||
name | The name. For more information, see Resource Property. | 2.2 | ||
version | The version of the affinity group allocation algorithm. | 2.2 | ||
type | The affinity group type. The current type is host. In the future, network, router, data center, and rack affinity groups will be supported. | Yes |
| 2.2 |
policy | The affinity group policy. |
| 2.2 | |
createDate | The creation date. For more information, see Resource Property. | 2.2 | ||
lastOpDate | The last operation date. For more information, see Resource Property. | 2.2 | ||
description | The description. For more information, see Resource Property. | Yes | 2.2 | |
appliance | The resource that uses the affinity group. | 2.2 |
{ "inventories": [ { "appliance": "VROUTER", "createDate": "Mar 10, 2018 2:11:07 PM", "description": "zstack.affinity.group.for.virtual.router", "lastOpDate": "Mar 10, 2018 2:11:07 PM", "name": "zstack.affinity.group.for.virtual.router", "policy": "ANTISOFT", "type": "HOST", "usages": [], "uuid": "d271b2fe242911e88fe0fa0754e77200", "version": "1.0" } ], "success": true }
Back to Top
Email Us
contact@zstack.ioEmail Us
contact@zstack.ioEmail Us
contact@zstack.ioThe download link is sent to your email address.
If you don't see it, check your spam folder, subscription folder, or AD folder. After receiving the email, click the URL to download the documentation.Thank you for using ZStack products and services.
Submit successfully.
We'll connect soon.Thank you for using ZStack products and services.