This documentation is for WSO2 Stratos 2.0.0. View the latest Apache Stratos documentation.

||
Skip to end of metadata
Go to start of metadata

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

Icon

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.

 

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.

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.

 

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.
Icon

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.

  • No labels