Table of Contents

Search

  1. Preface
  2. Introduction to High Availability
  3. Set Up the High Availability Environment
  4. Configure JMS Discovery
  5. Configure RMI Connections
  6. Configure the Operation Console
  7. Configure an HTTP Load Balancer
  8. Configure the Dashboard and Reports
  9. Appendix A: Troubleshooting High Availability
  10. Appendix B: High Availability Log Messages
  11. Appendix C: Port Number Reference
  12. Appendix D: Glossary

High Availability Guide

High Availability Guide

HTTP Load Balancer Overview

HTTP Load Balancer
Overview

You use a load balancer in the high availability cluster to distribute the workload evenly over two or more servers and to achieve optimal network performance.
The following figure shows how the load balancer forwards browser requests to one of the Tomcat instances:
browser or client sends request to load balancer, sends request to tomcat instance, process request and returns result to load balancer, returns result to client or browser
In this diagram, the browser sends the request to the load balancer. The load balancer determines which Tomcat instance will handle the request and forwards the request to the Tomcat instance. The Tomcat instance processes the request and sends the result back to the load balancer. The load balancer forwards the result back to the browser.
The load balancer determines which Tomcat computer handles each request. This computer might vary from request to request and depends on the configuration.
You can use any load balancing software or hardware.
This chapter includes examples for configuring load balancing with a newly installed copy of Apache HTTP Server.

0 COMMENTS

We’d like to hear from you!