Tomcat mod_jk cluster skip 404 http status Announcing the arrival of Valued Associate #679:...
Moving a wrapfig vertically to encroach partially on a subsection title
My mentor says to set image to Fine instead of RAW — how is this different from JPG?
If Windows 7 doesn't support WSL, then what is "Subsystem for UNIX-based Applications"?
How much damage would a cupful of neutron star matter do to the Earth?
Is CEO the "profession" with the most psychopaths?
Why are vacuum tubes still used in amateur radios?
Why is std::move not [[nodiscard]] in C++20?
Did any compiler fully use 80-bit floating point?
How many time has Arya actually used Needle?
How does the math work when buying airline miles?
Can two person see the same photon?
Is openssl rand command cryptographically secure?
Does the Black Tentacles spell do damage twice at the start of turn to an already restrained creature?
Should a wizard buy fine inks every time he want to copy spells into his spellbook?
Resize vertical bars (absolute-value symbols)
Does the Mueller report show a conspiracy between Russia and the Trump Campaign?
How would you say "es muy psicólogo"?
Co-worker has annoying ringtone
GDP with Intermediate Production
Are the endpoints of the domain of a function counted as critical points?
Flight departed from the gate 5 min before scheduled departure time. Refund options
How do living politicians protect their readily obtainable signatures from misuse?
What is the "studentd" process?
Is multiple magic items in one inherently imbalanced?
Tomcat mod_jk cluster skip 404 http status
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)
Come Celebrate our 10 Year Anniversary!Adobe Coldfusion Railo OpenBD Apache Tomcat Multiple SitesMod_jk Tomcat VirtualHostApache+mod_jk and a specific 404 handlertomcat/mod_jk- error trying to configure mod_jk with tomcat+apache web serverplesk+ tomcat + mod_jk + jsp gives 404Varnish + Tomcat vs Apache + mod_jk + Tomcatmod_jk status page not working404 in Tomcat manager with AJP connectormod_jk losing connection with tomcatApache Tomcat 7.0.57 Cluster & mod_proxy / mod_proxy_ajp
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}
I am trying Tomcat Clustering with mod_jk for months and so far not so bad but facing a problem during deployment. I am using FarmDeployer to copy and deploy the WAR to other nodes in the cluster but most of the time the WAR is not deployed properly and thus leaving the page in 404 error. Even after removing the exploded war directory and again having tomcat extracted the WAR, the browser couldn't render the actual site until I restart/stop the tomcat service on that particular node(of course, http://node-ip/myapp works if redeployed war but not http://site1.mydomain.net once rendered 404 page). And also I think this problem is browser related(tried all the browsers) as the page rendered on other computers when redeployed after 404 error. I Also tried fail_on_status and so it puts the nodes to error stage which ever render 404 http status and redirect to other node BUT on my testing I found that it completely puts those nodes to error state and no request is sent to those nodes until restart though they are back working.
Workers.properties on load balancer:
workers.tomcat_home=/usr/share/tomcat
workers.java_home=/usr/lib/jvm/java-6-openjdk
ps=/
worker.list=cluster,balancer1,status
worker.balancer1.port=8009
worker.balancer1.host=localhost
worker.balancer1.type=ajp13
worker.balancer1.lbfactor=2
worker.balancer1.cache_timeout=20
worker.balancer1.socket_timeout=20
#worker.balancer1.fail_on_status=-404,-503
worker.web1.port=8009
worker.web1.host=192.168.1.8
worker.web1.type=ajp13
worker.web1.lbfactor=4
worker.web1.redirect=web2
worker.web1.cache_timeout=20
worker.web1.socket_timeout=20
#worker.web1.fail_on_status=-404,-503
worker.web2.port=8009
worker.web2.host=192.168.1.9
worker.web2.type=ajp13
worker.web2.lbfactor=4
worker.web2.redirect=web1
worker.web2.cache_timeout=20
worker.web2.socket_timeout=20
#worker.web2.fail_on_status=-404,503
worker.cluster.type=lb
worker.cluster.balance_workers=web1,web2,balancer1
worker.cluster.sticky_session=True
worker.cluster.sticky_session_force=False
# Status worker for managing load balancer
worker.status.type=status
Anybody has any idea to skip 404 error node and instead hit other properly deployed nodes?. Atleast any tips in configuration if anything so that it renders the actual page after facing 404 having stickey session enabled.
Update:1
Apache Virtual Hosting on Load balancer(192.168.1.5 or balancer1):
<VirtualHost *:80>
ServerName site1.mydomain.net
JkAutoAlias /usr/share/tomcat/webapps/myapp
DocumentRoot /usr/share/tomcat/webapps/myapp
JkMount / cluster
JkMount /* cluster
JkMount /*.jsp cluster
JkUnMount /myapp/*.html cluster
JkUnMount /myapp/*.jpg cluster
JkUnMount /myapp/*.gif cluster
JkUnMount /myapp/*.png cluster
JkUnMount /myapp/*.css cluster
JkUnMount /abc cluster
JkUnMount /abc/* cluster
JkUnMount /*.html cluster
JkUnMount /*.jpg cluster
JkUnMount /*.gif cluster
JkUnMount /*.png cluster
JkUnMount /*.css cluster
ProxyRequests Off
ProxyPreserveHost On
ProxyVia On
<Proxy balancer://ajpCluster/>
Order deny,allow
Allow from all
BalancerMember ajp://192.168.1.8:8009/ route=web1 ttl=60 timeout=20 retry=10
BalancerMember ajp://192.168.1.9:8009/ route=web2 ttl=60 timeout=20 retry=10
BalancerMember ajp://192.168.1.5:8009/ route=balancer1 status=+H ttl=60
ProxySet lbmethod=byrequests
ProxySet stickysession=JSESSIONID|jsessionid
</Proxy>
<Location />
ProxyPass balancer://ajpCluster/ nofailover=off
ProxyPassReverse balancer://ajpCluster/
</Location>
</VirtualHost>
Tomcat virtual Hosting common on all the nodes:
<Host name="localhost" appBase="webapps"
unpackWARs="true" autoDeploy="true" deployOnStartup="true">
<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
prefix="localhost_access_log." suffix=".txt"
pattern="%h %l %u %t "%r" %s %b" />
</Host>
<Host name="site1.mydomain.net" debug="0" appBase="webapps" unpackWARs="false" autoDeploy="false" deployOnStartup="false">
<Logger className="org.apache.catalina.logger.FileLogger" directory="logs" prefix="virtual_log1." suffix=".log" timestamp="true"/>
<Context path="" docBase="/usr/share/tomcat/webapps/myapps" debug="0" reloadable="true"/>
NO session replication with tomcat clustering: Disabled for now by commenting <cluster> element as it's consuming lot of memory updating and interacting all time one another in the cluster. For now I have Load balancing and Auto Failover with mod_jk or proxy_ajp BUT with 404 error problem when myapp is unavailable(and available again) as described above.
How everybody handling this?
cluster failover http-status-code-404 mod-jk tomcat
bumped to the homepage by Community♦ 11 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
I am trying Tomcat Clustering with mod_jk for months and so far not so bad but facing a problem during deployment. I am using FarmDeployer to copy and deploy the WAR to other nodes in the cluster but most of the time the WAR is not deployed properly and thus leaving the page in 404 error. Even after removing the exploded war directory and again having tomcat extracted the WAR, the browser couldn't render the actual site until I restart/stop the tomcat service on that particular node(of course, http://node-ip/myapp works if redeployed war but not http://site1.mydomain.net once rendered 404 page). And also I think this problem is browser related(tried all the browsers) as the page rendered on other computers when redeployed after 404 error. I Also tried fail_on_status and so it puts the nodes to error stage which ever render 404 http status and redirect to other node BUT on my testing I found that it completely puts those nodes to error state and no request is sent to those nodes until restart though they are back working.
Workers.properties on load balancer:
workers.tomcat_home=/usr/share/tomcat
workers.java_home=/usr/lib/jvm/java-6-openjdk
ps=/
worker.list=cluster,balancer1,status
worker.balancer1.port=8009
worker.balancer1.host=localhost
worker.balancer1.type=ajp13
worker.balancer1.lbfactor=2
worker.balancer1.cache_timeout=20
worker.balancer1.socket_timeout=20
#worker.balancer1.fail_on_status=-404,-503
worker.web1.port=8009
worker.web1.host=192.168.1.8
worker.web1.type=ajp13
worker.web1.lbfactor=4
worker.web1.redirect=web2
worker.web1.cache_timeout=20
worker.web1.socket_timeout=20
#worker.web1.fail_on_status=-404,-503
worker.web2.port=8009
worker.web2.host=192.168.1.9
worker.web2.type=ajp13
worker.web2.lbfactor=4
worker.web2.redirect=web1
worker.web2.cache_timeout=20
worker.web2.socket_timeout=20
#worker.web2.fail_on_status=-404,503
worker.cluster.type=lb
worker.cluster.balance_workers=web1,web2,balancer1
worker.cluster.sticky_session=True
worker.cluster.sticky_session_force=False
# Status worker for managing load balancer
worker.status.type=status
Anybody has any idea to skip 404 error node and instead hit other properly deployed nodes?. Atleast any tips in configuration if anything so that it renders the actual page after facing 404 having stickey session enabled.
Update:1
Apache Virtual Hosting on Load balancer(192.168.1.5 or balancer1):
<VirtualHost *:80>
ServerName site1.mydomain.net
JkAutoAlias /usr/share/tomcat/webapps/myapp
DocumentRoot /usr/share/tomcat/webapps/myapp
JkMount / cluster
JkMount /* cluster
JkMount /*.jsp cluster
JkUnMount /myapp/*.html cluster
JkUnMount /myapp/*.jpg cluster
JkUnMount /myapp/*.gif cluster
JkUnMount /myapp/*.png cluster
JkUnMount /myapp/*.css cluster
JkUnMount /abc cluster
JkUnMount /abc/* cluster
JkUnMount /*.html cluster
JkUnMount /*.jpg cluster
JkUnMount /*.gif cluster
JkUnMount /*.png cluster
JkUnMount /*.css cluster
ProxyRequests Off
ProxyPreserveHost On
ProxyVia On
<Proxy balancer://ajpCluster/>
Order deny,allow
Allow from all
BalancerMember ajp://192.168.1.8:8009/ route=web1 ttl=60 timeout=20 retry=10
BalancerMember ajp://192.168.1.9:8009/ route=web2 ttl=60 timeout=20 retry=10
BalancerMember ajp://192.168.1.5:8009/ route=balancer1 status=+H ttl=60
ProxySet lbmethod=byrequests
ProxySet stickysession=JSESSIONID|jsessionid
</Proxy>
<Location />
ProxyPass balancer://ajpCluster/ nofailover=off
ProxyPassReverse balancer://ajpCluster/
</Location>
</VirtualHost>
Tomcat virtual Hosting common on all the nodes:
<Host name="localhost" appBase="webapps"
unpackWARs="true" autoDeploy="true" deployOnStartup="true">
<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
prefix="localhost_access_log." suffix=".txt"
pattern="%h %l %u %t "%r" %s %b" />
</Host>
<Host name="site1.mydomain.net" debug="0" appBase="webapps" unpackWARs="false" autoDeploy="false" deployOnStartup="false">
<Logger className="org.apache.catalina.logger.FileLogger" directory="logs" prefix="virtual_log1." suffix=".log" timestamp="true"/>
<Context path="" docBase="/usr/share/tomcat/webapps/myapps" debug="0" reloadable="true"/>
NO session replication with tomcat clustering: Disabled for now by commenting <cluster> element as it's consuming lot of memory updating and interacting all time one another in the cluster. For now I have Load balancing and Auto Failover with mod_jk or proxy_ajp BUT with 404 error problem when myapp is unavailable(and available again) as described above.
How everybody handling this?
cluster failover http-status-code-404 mod-jk tomcat
bumped to the homepage by Community♦ 11 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
I am trying Tomcat Clustering with mod_jk for months and so far not so bad but facing a problem during deployment. I am using FarmDeployer to copy and deploy the WAR to other nodes in the cluster but most of the time the WAR is not deployed properly and thus leaving the page in 404 error. Even after removing the exploded war directory and again having tomcat extracted the WAR, the browser couldn't render the actual site until I restart/stop the tomcat service on that particular node(of course, http://node-ip/myapp works if redeployed war but not http://site1.mydomain.net once rendered 404 page). And also I think this problem is browser related(tried all the browsers) as the page rendered on other computers when redeployed after 404 error. I Also tried fail_on_status and so it puts the nodes to error stage which ever render 404 http status and redirect to other node BUT on my testing I found that it completely puts those nodes to error state and no request is sent to those nodes until restart though they are back working.
Workers.properties on load balancer:
workers.tomcat_home=/usr/share/tomcat
workers.java_home=/usr/lib/jvm/java-6-openjdk
ps=/
worker.list=cluster,balancer1,status
worker.balancer1.port=8009
worker.balancer1.host=localhost
worker.balancer1.type=ajp13
worker.balancer1.lbfactor=2
worker.balancer1.cache_timeout=20
worker.balancer1.socket_timeout=20
#worker.balancer1.fail_on_status=-404,-503
worker.web1.port=8009
worker.web1.host=192.168.1.8
worker.web1.type=ajp13
worker.web1.lbfactor=4
worker.web1.redirect=web2
worker.web1.cache_timeout=20
worker.web1.socket_timeout=20
#worker.web1.fail_on_status=-404,-503
worker.web2.port=8009
worker.web2.host=192.168.1.9
worker.web2.type=ajp13
worker.web2.lbfactor=4
worker.web2.redirect=web1
worker.web2.cache_timeout=20
worker.web2.socket_timeout=20
#worker.web2.fail_on_status=-404,503
worker.cluster.type=lb
worker.cluster.balance_workers=web1,web2,balancer1
worker.cluster.sticky_session=True
worker.cluster.sticky_session_force=False
# Status worker for managing load balancer
worker.status.type=status
Anybody has any idea to skip 404 error node and instead hit other properly deployed nodes?. Atleast any tips in configuration if anything so that it renders the actual page after facing 404 having stickey session enabled.
Update:1
Apache Virtual Hosting on Load balancer(192.168.1.5 or balancer1):
<VirtualHost *:80>
ServerName site1.mydomain.net
JkAutoAlias /usr/share/tomcat/webapps/myapp
DocumentRoot /usr/share/tomcat/webapps/myapp
JkMount / cluster
JkMount /* cluster
JkMount /*.jsp cluster
JkUnMount /myapp/*.html cluster
JkUnMount /myapp/*.jpg cluster
JkUnMount /myapp/*.gif cluster
JkUnMount /myapp/*.png cluster
JkUnMount /myapp/*.css cluster
JkUnMount /abc cluster
JkUnMount /abc/* cluster
JkUnMount /*.html cluster
JkUnMount /*.jpg cluster
JkUnMount /*.gif cluster
JkUnMount /*.png cluster
JkUnMount /*.css cluster
ProxyRequests Off
ProxyPreserveHost On
ProxyVia On
<Proxy balancer://ajpCluster/>
Order deny,allow
Allow from all
BalancerMember ajp://192.168.1.8:8009/ route=web1 ttl=60 timeout=20 retry=10
BalancerMember ajp://192.168.1.9:8009/ route=web2 ttl=60 timeout=20 retry=10
BalancerMember ajp://192.168.1.5:8009/ route=balancer1 status=+H ttl=60
ProxySet lbmethod=byrequests
ProxySet stickysession=JSESSIONID|jsessionid
</Proxy>
<Location />
ProxyPass balancer://ajpCluster/ nofailover=off
ProxyPassReverse balancer://ajpCluster/
</Location>
</VirtualHost>
Tomcat virtual Hosting common on all the nodes:
<Host name="localhost" appBase="webapps"
unpackWARs="true" autoDeploy="true" deployOnStartup="true">
<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
prefix="localhost_access_log." suffix=".txt"
pattern="%h %l %u %t "%r" %s %b" />
</Host>
<Host name="site1.mydomain.net" debug="0" appBase="webapps" unpackWARs="false" autoDeploy="false" deployOnStartup="false">
<Logger className="org.apache.catalina.logger.FileLogger" directory="logs" prefix="virtual_log1." suffix=".log" timestamp="true"/>
<Context path="" docBase="/usr/share/tomcat/webapps/myapps" debug="0" reloadable="true"/>
NO session replication with tomcat clustering: Disabled for now by commenting <cluster> element as it's consuming lot of memory updating and interacting all time one another in the cluster. For now I have Load balancing and Auto Failover with mod_jk or proxy_ajp BUT with 404 error problem when myapp is unavailable(and available again) as described above.
How everybody handling this?
cluster failover http-status-code-404 mod-jk tomcat
I am trying Tomcat Clustering with mod_jk for months and so far not so bad but facing a problem during deployment. I am using FarmDeployer to copy and deploy the WAR to other nodes in the cluster but most of the time the WAR is not deployed properly and thus leaving the page in 404 error. Even after removing the exploded war directory and again having tomcat extracted the WAR, the browser couldn't render the actual site until I restart/stop the tomcat service on that particular node(of course, http://node-ip/myapp works if redeployed war but not http://site1.mydomain.net once rendered 404 page). And also I think this problem is browser related(tried all the browsers) as the page rendered on other computers when redeployed after 404 error. I Also tried fail_on_status and so it puts the nodes to error stage which ever render 404 http status and redirect to other node BUT on my testing I found that it completely puts those nodes to error state and no request is sent to those nodes until restart though they are back working.
Workers.properties on load balancer:
workers.tomcat_home=/usr/share/tomcat
workers.java_home=/usr/lib/jvm/java-6-openjdk
ps=/
worker.list=cluster,balancer1,status
worker.balancer1.port=8009
worker.balancer1.host=localhost
worker.balancer1.type=ajp13
worker.balancer1.lbfactor=2
worker.balancer1.cache_timeout=20
worker.balancer1.socket_timeout=20
#worker.balancer1.fail_on_status=-404,-503
worker.web1.port=8009
worker.web1.host=192.168.1.8
worker.web1.type=ajp13
worker.web1.lbfactor=4
worker.web1.redirect=web2
worker.web1.cache_timeout=20
worker.web1.socket_timeout=20
#worker.web1.fail_on_status=-404,-503
worker.web2.port=8009
worker.web2.host=192.168.1.9
worker.web2.type=ajp13
worker.web2.lbfactor=4
worker.web2.redirect=web1
worker.web2.cache_timeout=20
worker.web2.socket_timeout=20
#worker.web2.fail_on_status=-404,503
worker.cluster.type=lb
worker.cluster.balance_workers=web1,web2,balancer1
worker.cluster.sticky_session=True
worker.cluster.sticky_session_force=False
# Status worker for managing load balancer
worker.status.type=status
Anybody has any idea to skip 404 error node and instead hit other properly deployed nodes?. Atleast any tips in configuration if anything so that it renders the actual page after facing 404 having stickey session enabled.
Update:1
Apache Virtual Hosting on Load balancer(192.168.1.5 or balancer1):
<VirtualHost *:80>
ServerName site1.mydomain.net
JkAutoAlias /usr/share/tomcat/webapps/myapp
DocumentRoot /usr/share/tomcat/webapps/myapp
JkMount / cluster
JkMount /* cluster
JkMount /*.jsp cluster
JkUnMount /myapp/*.html cluster
JkUnMount /myapp/*.jpg cluster
JkUnMount /myapp/*.gif cluster
JkUnMount /myapp/*.png cluster
JkUnMount /myapp/*.css cluster
JkUnMount /abc cluster
JkUnMount /abc/* cluster
JkUnMount /*.html cluster
JkUnMount /*.jpg cluster
JkUnMount /*.gif cluster
JkUnMount /*.png cluster
JkUnMount /*.css cluster
ProxyRequests Off
ProxyPreserveHost On
ProxyVia On
<Proxy balancer://ajpCluster/>
Order deny,allow
Allow from all
BalancerMember ajp://192.168.1.8:8009/ route=web1 ttl=60 timeout=20 retry=10
BalancerMember ajp://192.168.1.9:8009/ route=web2 ttl=60 timeout=20 retry=10
BalancerMember ajp://192.168.1.5:8009/ route=balancer1 status=+H ttl=60
ProxySet lbmethod=byrequests
ProxySet stickysession=JSESSIONID|jsessionid
</Proxy>
<Location />
ProxyPass balancer://ajpCluster/ nofailover=off
ProxyPassReverse balancer://ajpCluster/
</Location>
</VirtualHost>
Tomcat virtual Hosting common on all the nodes:
<Host name="localhost" appBase="webapps"
unpackWARs="true" autoDeploy="true" deployOnStartup="true">
<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
prefix="localhost_access_log." suffix=".txt"
pattern="%h %l %u %t "%r" %s %b" />
</Host>
<Host name="site1.mydomain.net" debug="0" appBase="webapps" unpackWARs="false" autoDeploy="false" deployOnStartup="false">
<Logger className="org.apache.catalina.logger.FileLogger" directory="logs" prefix="virtual_log1." suffix=".log" timestamp="true"/>
<Context path="" docBase="/usr/share/tomcat/webapps/myapps" debug="0" reloadable="true"/>
NO session replication with tomcat clustering: Disabled for now by commenting <cluster> element as it's consuming lot of memory updating and interacting all time one another in the cluster. For now I have Load balancing and Auto Failover with mod_jk or proxy_ajp BUT with 404 error problem when myapp is unavailable(and available again) as described above.
How everybody handling this?
cluster failover http-status-code-404 mod-jk tomcat
cluster failover http-status-code-404 mod-jk tomcat
edited Jan 7 '12 at 2:24
user53864
asked Jan 2 '12 at 16:50
user53864user53864
62372761
62372761
bumped to the homepage by Community♦ 11 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 11 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
The only resolution I could find so far is by de-activate the web servers leaving only one to host during deployment. Once the deployment is successful, activate the web servers and update the left backend server separately by disabling it. Probably we could activate/de-activate nodes with proxy balancer-manager in virtual hosting or with jkstatus of mod_jk in workers.properties like:
Proxy:
# Balancer-manager, for monitoring
ProxyPass /balancer-manager !
<Location /balancer-manager>
SetHandler balancer-manager
Order deny,allow
Deny from None
Allow from all
</Location>
mod_jk:
worker.list=cluster,status
................
.............
.......
# Status worker for managing load balancer
worker.status.type=status
A lot of user intervention is required!
add a comment |
protected by Community♦ Feb 5 '18 at 9:22
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
The only resolution I could find so far is by de-activate the web servers leaving only one to host during deployment. Once the deployment is successful, activate the web servers and update the left backend server separately by disabling it. Probably we could activate/de-activate nodes with proxy balancer-manager in virtual hosting or with jkstatus of mod_jk in workers.properties like:
Proxy:
# Balancer-manager, for monitoring
ProxyPass /balancer-manager !
<Location /balancer-manager>
SetHandler balancer-manager
Order deny,allow
Deny from None
Allow from all
</Location>
mod_jk:
worker.list=cluster,status
................
.............
.......
# Status worker for managing load balancer
worker.status.type=status
A lot of user intervention is required!
add a comment |
The only resolution I could find so far is by de-activate the web servers leaving only one to host during deployment. Once the deployment is successful, activate the web servers and update the left backend server separately by disabling it. Probably we could activate/de-activate nodes with proxy balancer-manager in virtual hosting or with jkstatus of mod_jk in workers.properties like:
Proxy:
# Balancer-manager, for monitoring
ProxyPass /balancer-manager !
<Location /balancer-manager>
SetHandler balancer-manager
Order deny,allow
Deny from None
Allow from all
</Location>
mod_jk:
worker.list=cluster,status
................
.............
.......
# Status worker for managing load balancer
worker.status.type=status
A lot of user intervention is required!
add a comment |
The only resolution I could find so far is by de-activate the web servers leaving only one to host during deployment. Once the deployment is successful, activate the web servers and update the left backend server separately by disabling it. Probably we could activate/de-activate nodes with proxy balancer-manager in virtual hosting or with jkstatus of mod_jk in workers.properties like:
Proxy:
# Balancer-manager, for monitoring
ProxyPass /balancer-manager !
<Location /balancer-manager>
SetHandler balancer-manager
Order deny,allow
Deny from None
Allow from all
</Location>
mod_jk:
worker.list=cluster,status
................
.............
.......
# Status worker for managing load balancer
worker.status.type=status
A lot of user intervention is required!
The only resolution I could find so far is by de-activate the web servers leaving only one to host during deployment. Once the deployment is successful, activate the web servers and update the left backend server separately by disabling it. Probably we could activate/de-activate nodes with proxy balancer-manager in virtual hosting or with jkstatus of mod_jk in workers.properties like:
Proxy:
# Balancer-manager, for monitoring
ProxyPass /balancer-manager !
<Location /balancer-manager>
SetHandler balancer-manager
Order deny,allow
Deny from None
Allow from all
</Location>
mod_jk:
worker.list=cluster,status
................
.............
.......
# Status worker for managing load balancer
worker.status.type=status
A lot of user intervention is required!
answered Jan 15 '12 at 3:20
user53864user53864
62372761
62372761
add a comment |
add a comment |
protected by Community♦ Feb 5 '18 at 9:22
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?