AS Priority Policy Check
Rule Details
Parameter |
Description |
---|---|
Rule Name |
as-capacity-rebalancing |
Identifier |
AS Priority Policy Check |
Description |
If the priority policy EQUILIBRIUM_DISTRIBUTE is not enabled, this rule is non-compliant. |
Tag |
as |
Trigger Type |
Configuration change |
Filter Type |
as.scalingGroups |
Rule Parameters |
None |
Application Scenarios
If the AS group spans two or more AZs, you need to configure the multi-AZ scaling policy.
- EQUILIBRIUM_DISTRIBUTE (default): When adjusting the number of instances, ensure that instances in each AZ in the available_zones list is evenly distributed. If instances cannot be added in the target AZ, select another AZ based on the PICK_FIRST policy.
- PICK_FIRST: When AS scales out the AS group, the target AZ is determined by the order of the AZs in the available_zones list.
For details, see When There Are Multiple Flavors Included in the AS Configuration of an AS Group, What Order Are the Flavors Selected in During Scale-out Events? Balanced distribution helps improve the system availability and fault tolerance.
Solution
When you create or modify an AS group, select EQUILIBRIUM_DISTRIBUTE as the multi-AZ scaling policy.
Rule Logic
- If the multi-AZ scaling policy is EQUILIBRIUM_DISTRIBUTE, the resource is compliant.
- If the multi-AZ scaling policy is PICK_FIRST, the resource is non-compliant.
- If the multi-AZ scaling policy is not configured, the resource is non-compliant.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot