Use the asadmin
tool to configure load balancing in your environment. Follow these steps:
asadmin
command create-http-lb-config
. asadmin
create-http-lb-ref
.asadmin enable-http-lb-server
.asadmin enable-http-lb-application
.These applications must already be deployed and enabled for use on the clusters or stand-alone instances that the load balancer references. Enabling for load balancing is a separate step from enabling them for use.
asadmin
create-health-checker
. The health checker monitors unhealthy server instances so that when they become healthy again, the load balancer can send new requests to them.
asadmin
export-http-lb-config
.This command generates a configuration file to use with the load balancer plug-in shipped with the Sun Java System Application Server.
config
directory where the load balancer plug-in configuration files are stored.For more information on these topics, see the Administration Guide.
See Also: