Archive

Archive for the ‘Clustering’ Category

Clustering JBoss with Apache 2.2 / mod_proxy_ajp

June 17th, 2007 dirk No comments

1) configure Apache

    ProxyPass /balancer-manager !
    ProxyPass / balancer://myCluster/ stickysession=JSESSIONID lbmethod=bytraffic nofailover=Off
 
        SetHandler balancer-manager
        AuthType Basic
        AuthName "Cluster manager"
        AuthUserFile /etc/httpd/conf.d/htpasswd
        Require valid-user
 
        BalancerMember ajp://10.0.0.1:8009 route=member01
        BalancerMember ajp://10.0.0.2:8009 route=member02

2) For all application-server instances

edit %JBOSS_HOME%/server/%your_config_dir%/deploy/jboss-web.deployer/server.xml
Look for the “engine name” tag in the ajp1.3 connector, add a corresponding “jvmRoute”

<!-- Define an AJP 1.3 Connector on port 8009 -->
 
         emptySessionPath="true" enableLookups="false" redirectPort="8443"

edit %JBOSS_HOME%/server/%your_config_dir%/deploy/jboss-web.deployer/META-INF/jboss-service.xml and look for

useJK

it has to be set to “true”

true
Categories: Clustering Tags:
Stoppt die Vorratsdatenspeicherung! Jetzt klicken & handeln!Willst du auch bei der Aktion teilnehmen? Hier findest du alle relevanten Infos und Materialien: