|
|
|
Copyright © 2003-2008 ZeroC, Inc. |
Specifies one or more endpoints for this object adapter. These endpoints typically do not specify a port. This attribute is translated into a definition of the adapter’s Endpoints configuration property (see Appendix C).
|
||
Specifies an object adapter identifier. The identifier must be unique among all adapters and replica groups in the registry. This attribute is translated into a definition of the adapter’s AdapterId configuration property (see Appendix C). If not defined, a default value is constructed from the adapter name and server id (and service name for an IceBox service).
|
||
The name of the object adapter as used in the server that creates it.
|
||
Specifies the priority of the object adapter as an integer value. The object adapter priority is used by the Ordered replica group load balancing policy to determine the order of the endpoints returned by a locate request. Endpoints are ordered from the smallest priority value to the highest. If not defined, the value is 0. See Section 35.10.2 for more information.
|
||
register-process
|
This attribute is only valid if the enclosing server uses an Ice version prior to 3.3. In Ice 3.3 or later, this functionality is replaced by the administrative facility (see Section 35.21).
If the value is true, this object adapter registers an object in the IceGrid registry that facilitates graceful shutdown of the server. Only one object adapter in a server should set this attribute to true. If not defined, the default value is false.
|
|
Specifies a replica group identifier. A non-empty value signals that this object adapter is a member of the indicated replica group. This attribute is translated into a definition of the adapter’s RepliaGroupId configuration property (see Appendix C). See Section 35.9 for more information on replication. If not defined, the default value is an empty string.
|
||
server-lifetime
|
A value of true indicates that the lifetime of this object adapter is the same as the lifetime of its server. This information is used by the IceGrid node to determine the state of the server. Specifically, the server is considered activated (see Section 35.24) when all the object adapters with the server-lifetime attribute set to true are registered with the registry (the object adapter registers itself during activation).
Furthermore, server deactivation is considered to begin as soon as one object adapter with the server-lifetime attribute set to true is unregistered with the registry (the object adapter unregisters itself during deactivation).
|
Specifies the identity by which this allocatable object is known.
|
||
Specifies the name of a property to generate that contains the stringified identity of this allocatable.
|
||
An arbitrary string used to group allocatable objects. By convention, the string represents the most-derived Slice type of the object, but an application is free to use another convention.
|
If true, the default templates configured for the IceGrid registry are imported and available for use within this application. See Section 35.7.4 for more information on default templates. If not specified, the default value is false.
|
||
The name of the application. This name must be unique among all applications in the registry. Within the application, child elements can refer to its name using the reserved variable ${application}.
|
Specifies the directory to use as the database environment. If not defined, a subdirectory within the node’s data directory is used.
|
||
The value of the configuration property. If not defined, the value is an empty string.
|
Specifies the proxy of the IcePatch2 server. If not defined, the default value is
${application}.IcePatch2/server. |
Specifies the load sample to use for the adaptive load balancing policy. It can only be defined if type is set to adaptive. Legal values are 1, 5 and 15. If not specified, the load sample default value is 1.
|
||
Specifies the maximum number of replicas used to compute the endpoints of the replica group. If not specified, the default value is 1.
|
||
The path name of the log file. If a relative path is specified, it is relative to the current working directory of the node. The node must have sufficient access privileges to read the file.
|
||
Specifies the name of a property in which to store the path name of the log file as given in the path attribute.
|
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 (see Section 35.10.2). The default is 1.0 on Unix platforms and 1/NCPUS on Windows (where NCPUS is the number of CPUs in the node’s computer).
Note that, if Unix and Windows machines are part of a replica group, the Unix and Windows figures are not directly comparable, but the registry still makes an attempt to pick the least-loaded node.
|
||
Specifies the name of this node. 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 ${node}. An icegridnode process representing this node must be started on the desired computer and its configuration property IceGrid.Node.Name must match this attribute (see Section 35.20.2).
|
Specifies the name of a property to generate that contains the stringified identity of the object. This attribute is only allowed if this object element is a child of an adapter element.
|
||
An arbitrary string used to group objects. By convention, the string represents the most-derived Slice type of the object, but an application is free to use another convention.
|
The name of the parameter. For example, if index is used as the name of a parameter, it can be referenced using ${index} in the server or service template.
|
||
An optional default value for the parameter. This value is used if the parameter is not defined when a server or service is instantiated.
|
Defines a new named property set with the given identifier. The identifier must be unique among all named property sets defined in the same scope. If not specified, the properties element refers to an unnamed property set or a property set reference.
|
||
Defines a reference to the named property set with the given identifier. If not specified, the element refers to an unnamed or named property set.
|
||
Specifies the name of a service that is defined in the enclosing server-instance descriptor. The server instance must be an IceBox server that includes a service with the given name. An unnamed property set with this attribute defined extends the properties of the service. If not specified, the unnamed property set extends the properties of the server instance.
|
Specifies the property value. If not defined, the value is an empty string.
|
Specifies the identifier of the replica group, which must be unique among all adapters and replica groups in the registry. This identifier can be used in indirect proxies in place of an adapter identifier.
|
Specifies whether the server’s activation mode. Legal values are manual,
on-demand, always and session. If not specified, manual activation is used by default. See Section 35.24 for more information. |
||
activation-timeout
|
Defines the number of seconds a node will wait for the server to activate. If the timeout expires, a client waiting to receive the endpoints of an object adapter in this server will receive an empty set of endpoints. If not defined, the default timeout is the value of the IceGrid.Node.WaitTime property configured for the server’s node.
|
|
Specifies whether the server can be allocated. A server is allocated implicitly when one of its allocatable objects is allocated. The value of this attribute is ignored if the server activation mode is session; a server with this activation mode is always allocatable. Otherwise, if not specified and the server activation mode is not session, the server is not allocatable.
|
||
application-distrib
|
Specifies whether this server’s distribution is dependent on the application’s distribution. If the value is true, the server cannot be patched until the application has been patched. If not defined, the default value is true. See Section 35.13.3 for more information on distribution dependencies.
|
|
deactivation-timeout
|
Defines the number of seconds a node will wait for the server to deactivate. If the timeout expires, the node terminates the server process. If not defined, the default timeout is the value of the node’s configuration property IceGrid.Node.WaitTime.
|
|
Specifies the Ice version in use by this server. If not defined, IceGrid assumes the server uses the same version that IceGrid itself uses. A server that uses an Ice version prior to 3.3 must define this attribute if its adapters use the register-process attribute (see Section 35.16.1). For example, a server using Ice 3.2.x should use 3.2 as the value of this attribute.
|
||
Specifies the identifier for this server. The identifier must be unique among all servers in the registry. Within the server, child elements can refer to its identifier using the reserved variable ${server}.
|
||
The default working directory for the server. If not defined, the server is started in the node’s current working directory.
|
||
Specifies the name of the user account under which the server is activated and run. If a user account mapper is configured for the node, the value of this attribute is used to find the corresponding account in the map.
On Unix, the node must be running as root to be able to run servers under a different user account. On Windows, or if the node is not running as root on Unix, the only permissible value for this attribute is an empty string or the name of the user account under which the node is running. On Unix, if the node is running as root and this attribute is not specified, the server is run under the user ${session.id} if the server activation mode is session or under the user nobody if the activation mode is manual, on-demand or always. |
Specifies the identifier for the server template. This identifier must be unique among all server templates in the application.
|
Specifies the name of this service. Within the service, child elements can refer to its name using the reserved variable ${service}.
|
Specifies the identifier for the service template. This identifier must be unique among all service templates in the application.
|
Specifies the variable name. The value of this variable is substituted whenever its name is used in variable syntax, as in ${name}.
|
||
Specifies the variable value. If not defined, the default value is an empty string.
|
|
|