Documentation for Ice 3.5. The latest release is Ice 3.7. Refer to the space directory for other releases.

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

template

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:

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>
See Also
  • No labels