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

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.