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

Sample Load Balancer Cartridge Definition

The configurations included in a lb­-cartridge.json file are as follows:

{
    "type":"lb",
    "provider":"lb",
    "host":"stratos.org",
    "displayName":"load balancer",
    "description":"LB Cartridge",
    "version":"4",
    "defaultAutoscalingPolicy":"economyPolicy",
    "multiTenant":"false",
    "portMapping":[
         {
            "protocol":"http",
            "port":"8280",
            "proxyPort":"8280"
         },
         {
            "protocol":"https",
            "port":"8243",
            "proxyPort":"8243"
         }
    ],
    "iaasProvider":[
         {
            "type":"ec2",
            "imageId":"ap­southeast­1/ami­70326522",
            "maxInstanceLimit":"5",
            "property":[
               {
                  "name":"instanceType",
                  "value":"m1.medium"
               },
               {
                  "name":"keyPair",
                  "value":"xxxxxx"
               }
            ]
         }
    ],
    
    "property":[
         {
            "name":"load.balancer",
            "value":"true"
         }
    ]
} 

Parameter definitions

Cartridge definitions

ParameterDescriptionRequiredDefault ValueExample Value
typeType of the cartridgeYesN/Alb
providerProvider of the load balancer cartridgeYesN/A

lb

host Domain where the load balancer cartridge will be hostedYesN/A

stratos.org

displayName The name in which the load balancer cartridge will be displayedYesN/A

load balancer

description A short description about the load balancer cartridgeNoN/A

LB Cartridge

version The version of the load balancer cartridge applicationYesN/A

4

defaultAutoscalingPolicy The auto-scaling policy used by the load balancer cartridgeYesN/A

economyPolicy

multiTenant Whether the load balancer cartridge supports multi tenancyYesfalse

false

portMapping

Details of the ports mapped to the load balancer cartridge

 You can add parameter definitions on multiple port mappings if required.

YesN/AN/A
iaasProvider

Details of the IaaS provider that is used for the load balancer cartridge

 You can add parameter definitions on multiple IaaS providers if required.

YesN/AN/A
property

It is mandatory that LB cartridge definitions include the following property configurations:

"name":"load.balancer",
"value":"true"

Administrators can define dynamic parameters together with its corresponding values, which need to be set when an instance is spawned, via the property parameter. The LB will directly send these dynamic parameters together with its corresponding values, as key value pairs to the Private PaaS instance.

"name":"payload_parameter.<PARAMETER-NAME>"

"value":"<PARAMETER-VALUE>"

For example: 

"name":"payload_parameter.AB_IP"

"value":"4500"
   
portMapping
ParameterDescriptionRequiredDefault ValueExample Value
protocol
The protocol that is used to map the portsYesN/Ahttp
portThe port to which the load balancer cartridge is mappedYesN/A80
proxyPort   
The proxy port to which the cartridge is mappedYesN/A8280
iaasProvider
ParameterDescriptionRequiredDefault ValueExample Value
type 
        
Type of the IaaS providerYesN/A

ec2

imageId
The unique ID of the IaaS imageYesN/A

ap­southeast­1/ami­70326522

maxInstanceLimit
The maximum instances that will be spawned in the IaaSYesN/A

5

property

The IaaS provider properties are listed as name value pairs. It is mandatory that IaaS provider definitions include the following property configurations:

{
   "name":"instanceType",
   "value":"m1.medium"
},
{
   "name":"keyPair",
   "value":"xxxxxx"
}

Administrators can define other dynamic parameters together with its corresponding values appropriately, which need to be set when an instance is spawned, via this property parameter.

YesN/AN/A
property
ParameterDescriptionRequiredDefault ValueExample Value
nameName of the property.NoN/AAB_IP
valueValue corresponding to the property.NoN/A4500
com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links2' is unknown.