Defines and configures a load balancer. For more information about load balancing in the Enterprise Server, see the Sun GlassFish Enterprise Server v2.1.1 High Availability Administration Guide.
Some topics in the documentation pertain to features that are available only in domains that are configured to support clusters. Examples of domains that support clusters are domains that are created with the cluster profile or the enterprise profile. For information about profiles, see Usage Profiles in Sun GlassFish Enterprise Server v2.1.1 Administration Guide.
The following table describes subelements for the load-balancer element.
Table 1–109 load-balancer Subelements
Element |
Required |
Description |
---|---|---|
zero or more |
Specifies a property or a variable. |
The following table describes attributes for the load-balancer element.
Table 1–110 load-balancer Attributes
Attribute |
Default |
Description |
---|---|---|
none |
Specifies the name of the load balancer. |
|
none |
Specifies the name of the lb-config used by the load balancer. |
|
false |
(optional) If true, changes to the specified lb-config are automatically applied to the load balancer. |
The following table describes properties for the load-balancer element.
Table 1–111 load-balancer Properties
Property |
Default |
Description |
---|---|---|
none |
Specifies the host name or IP address for the load balancer. |
|
none |
Specifies the load balancer's administration port number. |
|
none |
Specifies the load balancer's proxy host used for outbound HTTP. |
|
none |
Specifies the load balancer's proxy port used for outbound HTTP. |