Template:ApacheAppSuiteConf/easHttpProxy: Difference between revisions

From Open-Xchange
No edit summary
No edit summary
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
     # Microsoft recommends a minimum timeout value of 15 minutes for eas connections
     <nowiki>#</nowiki> Define another Proxy Container with different timeout for the sync clients. Microsoft recommends a minimum value of 15 minutes.
     <Proxy balancer://eas_oxcluster>
    <nowiki>#</nowiki> Setting the value lower than the one defined as com.openexchange.usm.eas.ping.max_heartbeat in eas.properties will lead to connection
    <nowiki>#</nowiki> timeouts for clients.  See http://support.microsoft.com/?kbid=905013 for additional information.
    <nowiki>#</nowiki>
    <nowiki>#</nowiki> NOTE for Apache versions < 2.4:
    <nowiki>#</nowiki> When using a single node system or using BalancerMembers that are assigned to other balancers please add a second hostname for that
    <nowiki>#</nowiki> BalancerMember's IP so Apache can treat it as additional BalancerMember with a different timeout.
    <nowiki>#</nowiki>
    <nowiki>#</nowiki> Example from /etc/hosts: 127.0.0.1 localhost localhost_sync
    <nowiki>#</nowiki>
    <nowiki>#</nowiki> Alternatively select one or more hosts of your cluster to be restricted to handle only eas/usm requests
     <Proxy balancer://{{{syncProxyName}}}>
       Order deny,allow
       Order deny,allow
       Allow from all
       Allow from all
       # multiple server setups need to have the hostname inserted instead localhost
       # multiple server setups need to have the hostname inserted instead localhost
       BalancerMember http://localhost:8009 timeout=900 smax=0 ttl=60 retry=60 loadfactor=50 route=OX1
       BalancerMember http://localhost_sync:8009 timeout=1900 smax=0 ttl=60 retry=60 loadfactor=50 route=APP1
       # Enable and maybe add additional hosts running OX here
       # Enable and maybe add additional hosts running OX here
       # BalancerMember http://oxhost2:8009 timeout=900 smax=0 ttl=60 retry=60 loadfactor=50 route=OX2
       # BalancerMember http://oxhost2:8009 timeout=1900 smax=0 ttl=60 retry=60 loadfactor=50 route=APP2
       ProxySet stickysession=JSESSIONID
       ProxySet stickysession=JSESSIONID|jsessionid scolonpathdelim=On
  </Proxy>
      SetEnv proxy-initial-not-pooled
      SetEnv proxy-sendchunked
    </Proxy>

Latest revision as of 10:47, 24 September 2015

   # Define another Proxy Container with different timeout for the sync clients. Microsoft recommends a minimum value of 15 minutes.
   # Setting the value lower than the one defined as com.openexchange.usm.eas.ping.max_heartbeat in eas.properties will lead to connection
   # timeouts for clients.  See http://support.microsoft.com/?kbid=905013 for additional information.
   #
   # NOTE for Apache versions < 2.4:
   # When using a single node system or using BalancerMembers that are assigned to other balancers please add a second hostname for that
   # BalancerMember's IP so Apache can treat it as additional BalancerMember with a different timeout.
   #
   # Example from /etc/hosts: 127.0.0.1	localhost localhost_sync
   #
   # Alternatively select one or more hosts of your cluster to be restricted to handle only eas/usm requests
   <Proxy balancer://{{{syncProxyName}}}>
      Order deny,allow
      Allow from all
      # multiple server setups need to have the hostname inserted instead localhost
      BalancerMember http://localhost_sync:8009 timeout=1900 smax=0 ttl=60 retry=60 loadfactor=50 route=APP1
      # Enable and maybe add additional hosts running OX here
      # BalancerMember http://oxhost2:8009 timeout=1900  smax=0 ttl=60 retry=60 loadfactor=50 route=APP2
      ProxySet stickysession=JSESSIONID|jsessionid scolonpathdelim=On
      SetEnv proxy-initial-not-pooled
      SetEnv proxy-sendchunked
   </Proxy>