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

Cloud Controller Configuration Files

A new Cloud Controller pack contains only the main configuration file that is namely cloud-controller.xml and it resides in the ${WSO2-CC}/repository/conf/ directory. The main configuration file mainly consists 3 sections that are namely,

To see an entire sample cloud-controller.xml file see Stratos IaaS configuration file.

 

BAM data publisher section

The BAM server URL should be specified in the carbon.xml file

This section contains the information related to the BAM data publisher of the Cloud Controller (such as BAM server information, Data publishing task interval and so on). To disable the BAM data publisher set the Enable attribute to False.

<dataPublisher enable="true">
      <bamServer>
          <adminUserName>admin</adminUserName>
          <adminPassword svns:secretAlias="cloud.controller.bam.server.admin.password">admin</adminPassword>
      </bamServer>
      <cron>1 * * * * ? *</cron>
</dataPublisher>

 

Element Definitions

Click the respective parameter link for in-depth information.

dataPublisher
CriteriaDescription
Syntax<dataPublisher>
Attributeenable
DescriptionUsed to enable or disable the BAM data publisher.
TypeString
Default ValueN/A
Mandatory/OptionalMandatory
adminUserName
CriteriaDescription
Syntax<adminUserName>
DescriptionBAM server Username
TypeString
Default Valueadmin
Mandatory/OptionalOptional
adminPassword
CriteriaDescription
Syntax<adminPassword>
DescriptionBAM server password.
TypeString
Default Valueadmin
Mandatory/OptionalOptional
cron
CriteriaDescription
Syntax<cron>
Description

For more information go to http://en.wikipedia.org/wiki/Cron

TypeString. (Valid cron expression)
Default Value

1 * * * * ? *

This means the first second of every minute.

Mandatory/OptionalOptional

 

Topology sync section

 This section contains information related to topology synchronization that mainly relates to WSO2 Message Broker server information.

<topologySync enable="true">
      <mbServerUrl>localhost:5673</mbServerUrl>
      <cron>1 * * * * ? *</cron>
</topologySync>

Element Definitions

Click the respective parameter link for in-depth information.

 
topologySync
CriteriaDescription
Syntax
<topologySync>
DescriptionSection to configure topology synchronization. The elements in this section define the topology synchronization. 
Attribute
enable
DescriptionUsed to enable or disable the Topology sync. Disabling this section  is not recommended as it will result in not syncing up the topology. 
TypeString
Default ValueN/A
Mandatory/OptionalMandatory

mbServerUrl

CriteriaDescription
Syntax<mbServerUrl>
DescriptionURL of the Message broker
Type String
Default Valuelocalhost:5672
Mandatory/OptionalOptional
 
cron
CriteriaDescription
Syntax<cron>
DescriptionFor more information please go to http://en.wikipedia.org/wiki/Cron
TypeString
Default Value

1 * * * * ? *

This means the first second of every minute.

Mandatory/OptionalOptional

 

IaaS providers section

This section specifies the properties that are common to an IaaS here. Users can use this section to avoid repeatedly specifying the same property. If users wish they can remove this section; however, we recommend that this section be maintained.

 <iaasProviders>
      <iaasProvider type="ec2" name="ec2 specific details">
          <className>org.wso2.carbon.stratos.cloud.controller.iaases.AWSEC2Iaas</className>
          <provider>aws-ec2</provider>
		  <identity svns:secretAlias="cloud.controller.ec2.identity"></identity>
		  <credential svns:secretAlias="cloud.controller.ec2.credential"></credential>
          <scaleUpOrder>1</scaleUpOrder>
          <scaleDownOrder>2</scaleDownOrder>
          <property name="jclouds.ec2.ami-query" value="owner-id=XXXX-XXX;state=available;image-type=machine"/>
          <property name="availabilityZone" value="us-east-1c"/>
          <property name="securityGroups" value="default"/>
          <property name="instanceType" value="m1.large"/>
          <property name="keyPair" value="nirmal-key"/>
          <imageId>us-east-1/ami-XXXXX</imageId>
      </iaasProvider>
      <iaasProvider type="openstack" name="openstack specific details">
          <className>org.wso2.carbon.stratos.cloud.controller.iaases.OpenstackNovaIaas</className>
          <provider>openstack-nova</provider>
          <identity svns:secretAlias="cloud.controller.openstack.identity"></identity>
          <credential svns:secretAlias="cloud.controller.openstack.credential"></credential>
          <property name="jclouds.endpoint" value="http://192.168.16.20:5000/" />
          <property name="jclouds.openstack-nova.auto-create-floating-ips" value="false"/>
          <property name="jclouds.api-version" value="2.0/" />
          <scaleUpOrder>2</scaleUpOrder>
          <scaleDownOrder>3</scaleDownOrder>
          <property name="X" value="x" />
          <property name="Y" value="y" />
          <imageId>nova/dab37f0e-cf6f-4812-86fc-XXXXXXXXXXXX</imageId>
      </iaasProvider>
  </iaasProviders>

 

Element Definitions

Click the respective parameter link for in-depth information.

 

iaasProvider
CriteriaDescription
Syntax
<iaasProvider type="ec2" name="ec2 specific details">
Attribute
type       
Description Type of the IaaS provider. The type mentioned should be unique.
TypeString
Default ValueN/A
Mandatory/OptionalMandatory
Attribute
name       
DescriptionName of the IaaS provider.
TypeString
Default ValueN/A
Mandatory/OptionalOptional
className
CriteriaDescription
Syntax
<className>
DescriptionThe full qualified name of the IaaS implementation.
TypeString
Default ValueN/A
Mandatory/OptionalMandatory
 provider
CriteriaDescription
Syntax
<provider>
DescriptionName of the IaaS provider.
TypeString
Default ValueN/A
Mandatory/OptionalMandatory
identity
CriteriaDescription
Syntax
<identity>
DescriptionIdentity of the user's IaaS acccount. If a value for this element can not be found via secure vault the text value will be used.
TypeString
Default ValueN/A
Mandatory/OptionalMandatory
 credential
CriteriaDescription
Syntax
<credential>
Description

Credentials of the user's IaaS account. If a value for this element can not be found via secure vault the text value will be used.

TypeString
Default ValueN/A
Mandatory/OptionalMandatory
 scaleUpOrder
CriteriaDescription
Syntax
<scaleUpOrder>
DescriptionThe order in which scaling up should take place against the other IaaS providers. 1 has the highest precedence.
TypePositive Integer
Default ValueN/A
Mandatory/Optional Mandatory
scaleDownOrder
CriteriaDescription
Syntax
<scaleDownOrder>
DescriptionThe order in which scaling down should take place against the other IaaS providers. 1 has the highest precedence.
TypePositive Integer
Default ValueN/A
Mandatory/OptionalMandatory
property
CriteriaDescription
Syntax
<property name="abc" value="dfe"/>
Description

Used to define any property that is required for that respective IaaS provider.

Attribute
name
DescriptionUnique name that defines the property.
TypeString
Default ValueN/A
Mandatory/OptionalOptional
Attribute
value
DescriptionValue corresponding to the property.
TypeString
Default ValueN/A
Mandatory/Optional Optional
imageId
CriteriaDescription
Syntax
<imageId>
DescriptionID of the Cartridge image that resides in your IaaS.
Type String
Default ValueN/A
Mandatory/Optional Please see the note below.

The imageId has to be specified in either the Cloud Controller XML or the Cartridge XML. If the imageId is specified in the Cartridge XML the imageId value in the Cartridge XML will override the value specified in the Cloud Controller XML. As a result if the imageId is not specified in the Cartridge XML it will be mandatory to specify it in the Cloud Controller XML.

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