Forum Discussion
To alert when Tomcat services go down
Hi,
We have a Web URL, which is consisting of two web-servers W01 and W02, which is using round-robin to divide traffic and listening port of the member-servers are port 80( W01:80 AND W02:80),
Query:
Tomcat services were in hung state in W01 server and query is why it doesn't diverted the traffic to secondary web-server: W02 which is mapped into the pool ?
But as tomcat services are basically into port 8080, so is there a way we can let the load0balancer know to switch back to the other member-server server, whenever tomcat services got any issue ?
By any Irule or by addditionally adding the member servers as:
W01:80 W02:80 W01:8080 W02:8080 ?
Thanks and Regards Parveez
3 Replies
- nitass
Employee
Tomcat services were in hung state in W01 server and query is why it doesn't diverted the traffic to secondary web-server: W02 which is mapped into the pool ?
did health monitor work (i.e. did it mark server down)?
if not, have you configured receive string in the monitor?
But as tomcat services are basically into port 8080
you can specify port when creating health monitor (i.e. port is not needed to be what pool member is listening).
By any Irule or by addditionally adding the member servers as: W01:80 W02:80 W01:8080 W02:8080 ?
no special configuration is required (i.e. translate-port will be enabled by default when creating host virtual server).
- Parveez_70209
Nimbostratus
Hi,
No Health monitor didn't worked it seems,it doesn't marked the member as down. Bcoz the listening port of the member is 80 while Tomcat services are running into port 8080 by default.
And health monitor currently used is TCP only? So, is http customized monitor suggested ? with Send and Receive String ?
Whether HTTP can monitor both 80 and 8080 ?
Thanks and Regards Parveez
- nitass
Employee
So, is http customized monitor suggested ? with Send and Receive String ?
sol2167 explains how to construct http send string. the receive string can be any string in response. you can test http monitor by using tool such as telnet, curl, etc.
sol2167: Constructing HTTP requests for use with the HTTP or HTTPS application health monitor
http://support.f5.com/kb/en-us/solutions/public/2000/100/sol2167.htmlMaking HTTP requests via telnet
http://blog.tonycode.com/tech-stuff/http-notes/making-http-requests-via-telnetWhether HTTP can monitor both 80 and 8080 ?
yes
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com