Overview of HTTP Load Balancing Setup

Use the asadmin tool to configure load balancing in your environment. Follow these steps:

  1. Complete the "Requirements for HTTP Load Balancing", including installing and configuring a web server and Application Server instances and or clusters.
  2. Create a load balancer configuration using the asadmin command create-http-lb-config.
  3. Add references to clusters and stand-alone server instances for the load balancer to manage using asadmin create-http-lb-ref.
  4. Enable the clusters or stand-alone server instances reference by the load balancer using asadmin enable-http-lb-server.
  5. Enable applications for load balancing using asadmin enable-http-lb-application.
  6. 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.

  7. Create a health checker using asadmin create-health-checker.
  8. The health checker monitors unhealthy server instances so that when they become healthy again, the load balancer can send new requests to them.

  9. Generate the load balancer configuration file using asadmin export-http-lb-config.
  10. This command generates a configuration file to use with the load balancer plug-in shipped with the Sun Java System Application Server.

  11. Copy the load balancer configuration file to your web 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:


Legal Notices