Node Descriptor Element
A node
element defines an IceGrid node. The servers that the node is responsible for managing are described in child elements.
This element may only appear as a child of an application
element. Multiple node
elements having the same name may appear in an application. Their contents are merged and the last definition of load-factor
has precedence.
The following attributes are supported:
Attribute |
Description |
Required |
---|---|---|
|
A floating point value defining the factor that is multiplied with the node's load average. The load average is used by the adaptive load balancing policy to figure out which node is the least loaded. The default is |
No |
|
The name must be unique among all nodes in the registry. Within the node, child elements can refer to its name using the reserved variable |
Yes |
Here is an example to demonstrate the use of this element:
<node name="Node1" load-factor="2.0"> <description>A description of this node.</description> <server id="Server1" ...> <property name="NodeName" value="${node}"/> ... </server> </node>