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

Configuring autoscaler.xml

Sample configuration

<configuration>
	<autoscaler>
		<rulesEvaluator>
			<schedule>
				<initialDelay>30</initialDelay>
				<period>15</period>
			</schedule>
		</rulesEvaluator>
		<cloudController>
			<hostname>CC_HOSTNAME</hostname>
			<port>CC_LISTEN_PORT</port>
            		<clientTimeout>300000</clientTimeout>
		</cloudController>
        	<stratosManager>
			<hostname>SM_HOSTNAME</hostname>
			<port>SM_LISTEN_PORT</port>
            		<clientTimeout>300000</clientTimeout>
		</stratosManager>
		<member>
			<expiryTimeout>900000</expiryTimeout>
		</member>
	</autoscaler>
</configuration>

Element definitions

The following are the configurations in the autoscaler.xml file:

Rules evaluator

The scheduler that runs within the Rules Evaluator will evaluate the Autoscaling rules periodically. The Scheduler needs to be configured with the initialDelay  and period. 

XML ElementDescriptionDefault ValueMandatory/
Optional 
<initialDelay>

The Scheduler will always start after the Auto-scaler starts and after the time period defined in this element. This element needs to be specified in seconds.

30
Mandatory
<period>The Scheduler will evaluate the rules based on the time period specified in this element. This element needs to be specified in seconds.
15
Mandatory

Cloud Controller client

There is a Cloud Controller client located within the Autoscaler, which calls the Cloud Controller API. The Cloud Controller client connection details need to be configured in the Autoscaler configuration.

XML ElementDescriptionDefault ValueMandatory/
Optional 
<hostname>Cloud Controller hostnameN/AMandatory
<port>Cloud Controller portN/AMandatory
<clientTimeout>This element defines the service timeout period that will be applicable in the event there is no response from the Cloud Controller API.
300000
Mandatory

Stratos Manager client

There is a Stratos Manager client located within the Autoscaler, which calls the Stratos Manager API. The Stratos Manager client connection details need to be configured in the Autoscaler configuration.

XML ElementDescriptionDefault ValueMandatory/
Optional 
<hostname>Stratos Manager hostnameN/AMandatory
<port>Stratos Manager portN/AMandatory
<clientTimeout>This element defines the service timeout period that will be applicable in the event there is no response from the Stratos Manager API.
300000
Mandatory

Member timeout

When a new instance is started, it will be marked as a pending member. If the instance does not get activated within a specific time period, the Auto-scaler will terminate the instance. The expiryTimeout needs to be specified to define the termination time period.

XML ElementDescriptionDefault ValueMandatory/
Optional 
<expiryTimeout>

This element defines the member timeout period. The expiryTimeout needs to be defined in seconds.

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