F5 Load Balancing 4

Source: Internet
Author: User
  1. <! -- Normally, users must authenticate themselves to each web app individually. uncomment the following entry if you wowould like a user to be authenticated the first time they encounter a resource protected by a security constraint, and then have that user identity maintained authentication SS * All * Web applications contained in this virtual host. -->
  2. <! -- <Valve classname = "org. Apache. Catalina. authenticator. singlesignon"/> -->
  3. <! -- Access log processes all requests for this virtual host. by default, log files are created in the "logs" directory relative to $ catalina_home. if you wish, you can specify a different directory with the "directory" attribute. specify either a relative (to $ catalina_home) or absolute path to the desired directory. -->
  4. <! -- <Valve classname = "org. apache. catalina. valves. accesslogvalve "directory =" logs "prefix =" localhost_access_log. "suffix = ". TXT "pattern =" common "resolvehosts =" false "/> -->
  5. <! -- Access log processes all requests for this virtual host. by default, log files are created in the "logs" directory relative to $ catalina_home. if you wish, you can specify a different directory with the "directory" attribute. specify either a relative (to $ catalina_home) or absolute path to the desired directory. this access log implementation is optimized for maximum performance, but is hardcoded to support only the "common" and "combined" patterns. -->
  6. <! -- <Valve classname = "org. apache. catalina. valves. fastcommonaccesslogvalve "directory =" logs "prefix =" localhost_access_log. "suffix = ". TXT "pattern =" common "resolvehosts =" false "/> -->
  7. </Host>
  8. </Engine>
  9. </Service>
  10. </Server>



 

For tomcat, you can copy multiple copies for testing, modify server. XML, and add multiple instances for running. However, we recommend that you copy multiple copies for more intuitive viewing.

Modify the Tomcat context. xml file to enable global session replication.

<Context distributable = "true">

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.