Jump to content

apache 2.2.6 nlb to apache tomcat 5.5 on EMC documentum


Omer Yfhar

Recommended Posts

Hello all

I have a big envirument of 5 win2003.

each server hold one apache and 4 apache tomcat instanc.

There are a lot of mess going on becuse no one knew how to impliment them. they are all in the LAN so security isnt an issu.

i saw they are configure to act with proxy + jk

 

in httpd.conf:

 

<Proxy balancer://mycluster>

  BalancerMember ajp://localhost:8009 route=jvm1 retry=5

  BalancerMember ajp://localhost:8109 route=jvm2 retry=5

  BalancerMember ajp://localhost:8209 route=jvm3 retry=5

  BalancerMember ajp://localhost:8309 route=jvm4 retry=5

</Proxy>

 

 

<Location /webtop/>

Proxypass balancer://mycluster/webtop/ stickysession=JSESSIONID|jsessionid

</Location>

 

 

<Location /whoami/>

Proxypass balancer://mycluster/whoami/ stickysession=JSESSIONID|jsessionid

</Location>

 

in server.xml:

<!-- Define a non-SSL HTTP/1.1 Connector on port 8080 -->

    <Connector

port="8100"              maxHttpHeaderSize="8192"

              maxThreads="2000" minSpareThreads="25" maxSpareThreads="75"

              enableLookups="false" redirectPort="8443" acceptCount="1000"

              connectionTimeout="60000" maxKeepAliveRequests="1000" disableUploadTimeout="true" />

    <!-- Note : To disable connection timeouts, set connectionTimeout value

    to 0 -->

 

<!-- Note : To use gzip compression you could set the following properties :

 

  compression="on"

  compressionMinSize="2048"

  noCompressionUserAgents="gozilla, traviata"

  compressableMimeType="text/html,text/xml"

-->

 

    <!-- Define a SSL HTTP/1.1 Connector on port 8443 -->

    <!--

    <Connector port="8443" maxHttpHeaderSize="8192"

              maxThreads="150" minSpareThreads="25" maxSpareThreads="75"

              enableLookups="false" disableUploadTimeout="true"

              acceptCount="100" scheme="https" secure="true"

              clientAuth="false" sslProtocol="TLS" />

    -->

 

    <!-- Define an AJP 1.3 Connector on port 8009 -->

    <Connector port="8009"

              enableLookups="false" redirectPort="8443" protocol="AJP/1.3" />

 

    <!-- Define a Proxied HTTP/1.1 Connector on port 8082 -->

    <!-- See proxy documentation for more information about using this. -->

    <!--

    <Connector port="8082"

              maxThreads="150" minSpareThreads="25" maxSpareThreads="75"

              enableLookups="false" acceptCount="100" connectionTimeout="20000"

              proxyPort="80" disableUploadTimeout="true" />

   

 

my Question, what is the best senario to implement apache NLB to serve apache tomcat.

 

thanks

omer yfhar

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.