| Znav | ||||
|---|---|---|---|---|
|
A server-instance element deploys an instance of a server-template element on a node.
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:
| Wiki Markup |
|---|
{zcode:xml}
<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"/>
</node>
</application>
</icegrid>
{zcode} |
| Ztop |
|---|
See Also
- Server-Template Descriptor Element
- Node Descriptor Element
- IceGrid Templates
- Using Descriptor Variables and Parameters
| Zret |
|---|
| Znav | ||||
|---|---|---|---|---|
|