Note |
---|
This page is under construction. |
Table of Contents | ||||
---|---|---|---|---|
|
Carbon Service XML
Code Block |
---|
<service domain="nirwso2.appserver.domain" subDomain="mgt__$default" tenantRange="*"> <cartridge type="phpappserver"/> <host>nir.mgt</host> <host>appserver.stratos.wso2.com</host> <payload>/wso2as-5.0.1-cloud-controller/resources/payload/nir-mgt.txt</payload> </service> |
Parameter Description
...
opt/wso2cc-1.0.1/repository/resources/payload/as/as-default.zip</payload>
<property name="alarming_lower_rate" value="0.2"/>
<property name="rounds_to_average" value="2"/>
<property name="alarming_upper_rate" value="0.7"/>
<property name="max_app_instances" value="1"/>
<property name="min_app_instances" value="1"/>
<property name="scale_down_factor" value="0.25"/>
<property name="max_requests_per_second" value="5"/>
</service> |
Non-Carbon Service XML
Code Block |
---|
<service domain="test4.mysql.stratos.wso2.com.mysql.domain" subDomain="__$default" tenantRange="*">
<cartridge type="mysql"/>
<host>test4.mysql.stratos.wso2.com</host>
<payload>/opt/wso2cc-1.0.1/resources/payload/test4.mysql.stratos.wso2.com.mysql.domain-__$default.txt</payload>
<property name="alarming_lower_rate" value="0.2"/>
<property name="rounds_to_average" value="2"/>
<property name="alarming_upper_rate" value="0.7"/>
<property name="max_app_instances" value="1"/>
<property name="min_app_instances" value="1"/>
<property name="scale_down_factor" value="0.25"/>
<property name="max_requests_per_second" value="5"/>
</service> |
Element Definitions
Click the respective element link for in-depth information.
...
Table of Contents minLevel 4
service
...
Criteria | Description |
---|---|
XML Syntax | <service> |
Description | |
Mandatory/Optional | |
Attribute | domain |
Type | |
Description | |
TypeMandatory/Optional | Default Value |
Attribute | subDomain |
Type | |
Description | |
Mandatory/Optional |
...
Attribute | tenantRange |
Type | |
Description | |
Mandatory/Optional |
cartridge
Criteria | Description | |
---|---|---|
XML Syntax | <cartridge/> | |
Description | Reference to the Cartridge.Type | |
Mandatory/Optional | Default Value | |
Attribute | type | |
Description | ||
Fixed ValuesType | ||
Mandatory/Optional |
...
host
Criteria | Description |
---|---|
XML Syntax | </host><host> |
Description | Host name of this service instance. |
Type | |
Default Value | |
Fixed Values | |
Mandatory/Optional |
payload
Criteria | Description |
---|---|
XML Syntax | <payload> |
Description | Path to the payload file. |
Type | |
Mandatory/Optional |
...
...
property
...
Criteria | Description |
---|---|
XML Syntax</payload> | <property> |
Description | |
Mandatory/Optional | |
Attribute | name |
Description | Path to the payload file.|
Type | Default Value |
Mandatory/Optional | |
Attribute | value |
Description | |
Type | |
Mandatory/Optional |