A server-instance
element deploys an instance of a server-template
element on a node. It may supply additional information such as configuration properties.
This element may only appear as a child of a node
element.
The following attributes are supported:
Attribute | Description | Required |
---|---|---|
| Identifies the server template. | Yes |
All other attributes of the element must correspond to parameters declared by the template. The server-instance
element must provide a value for each parameter that does not have a default value supplied by the template.
Here is an example to demonstrate the use of this element:
<icegrid> <application name="SampleApp"> <server-template id="ServerTemplate"> <parameter name="id"/> <server id="${id}" activation="manual" .../> </server-template> <node name="Node1"> <server-instance template="ServerTemplate" id="TheServer"> <properties> <property name="Debug" value="1"/> </properties> </server-instance> </node> </application> </icegrid>