com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links' is unknown.

Sample Policies XML File

<policies>
    <policy name="single" isDefault="true">
        <description>Single - Instances: Min 1, Max 1</description>
        <min_app_instances>1</min_app_instances>
        <max_app_instances>1</max_app_instances>
        <max_requests_per_second>5</max_requests_per_second>
        <alarming_upper_rate>0.7</alarming_upper_rate>
        <alarming_lower_rate>0.2</alarming_lower_rate>
        <scale_down_factor>0.25</scale_down_factor>
        <rounds_to_average>2</rounds_to_average>
    </policy>
    <policy name="elastic" isDefault="false">
        <description>Elastic - Instances: Min 1, Max 4</description>
        <min_app_instances>1</min_app_instances>
        <max_app_instances>4</max_app_instances>
        <max_requests_per_second>5</max_requests_per_second>
        <alarming_upper_rate>0.7</alarming_upper_rate>
        <alarming_lower_rate>0.2</alarming_lower_rate>
        <scale_down_factor>0.25</scale_down_factor>
        <rounds_to_average>2</rounds_to_average>
    </policy>
</policies>

 

Element Definitions

Click the respective element link for in-depth information.


policy

CriteriaDescription
XML Syntax
<policy>
Description

Used to define an individual autoscaling policy.

Mandatory/Optional

Mandatory

Attribute

name

DescriptionName of the policy
TypeString
Mandatory/OptionalMandatory
Attribute

isDefault

DescriptionSpecifies whether or not this policy will be set as the default Cartridge. If the user does not select a policy, the default policy will be applied.
TypeBoolean
Mandatory/OptionalMandatory

 

description

CriteriaDescription
XML Syntax
<description>
Description

Description on the policy. This description is displayed in the Stratos Controller subscribe page.

TypeString
Mandatory/OptionalMandatory

 

min_app_instances

CriteriaDescription
XML Syntax
<min_app_instances>
Description

Minimum number of maintained Cartridge instances.

TypeInteger
Mandatory/OptionalMandatory

 

max_app_instances

CriteriaDescription
XML Syntax
<max_app_instances>
Description

Maximum number of maintained Cartridge instances.

TypeInteger
Mandatory/OptionalMandatory

 

max_requests_per_second

CriteriaDescription
XML Syntax
<max_requests_per_second>
Description

Number of requests a service instance can withstand per second

TypeInteger
Mandatory/OptionalMandatory

 

alarming_upper_rate

CriteriaDescription
XML Syntax
<alarming_upper_rate>
Description

Upper bound of the alarming rate.

TypeDecimal
Mandatory/OptionalMandatory

 

alarming_lower_rate

CriteriaDescription
XML Syntax
<alarming_lower_rate>
Description

Lower bound of the alarming rate.

TypeDecimal
Mandatory/OptionalMandatory

 

scale_down_factor

CriteriaDescription
XML Syntax
<scale_down_factor>
Description

Factor that is needed to slow down the scaling down process.

TypeDecimal
Mandatory/OptionalMandatory

 

rounds_to_average

CriteriaDescription
XML Syntax
<rounds_to_average>
Description

Number of ‘autoscaling decision making’ task iterations that need to take place before an autoscaling decision is made.

TypeInteger
Mandatory/OptionalMandatory

 

For more information please see the ELB decision making variables and the Autoscaling service instances sections.

 

com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links2' is unknown.