Forum Discussion

Parveez_70209's avatar
Parveez_70209
Icon for Nimbostratus rankNimbostratus
Dec 26, 2013

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

  • Hi,

     

    Currently we have the parent monitor attached as TCP. If for making a monitor for port 8080, how we can set ?

     

    Or else can we create HTTP monitor instead of tcp, whether it will monitor 80 as well as 8080 ?

     

    where we are thinking to specify Send string as GET /

     

    WHILE Receive String is empty

     

    The members are basically Tomcat Apache servers.

     

    Was going through the below link:

     

    https://www.f5.com/pdf/deployment-guides/f5-apache-dg.pdf

     

    Kindly guide Sir.

     

    Thanks and Regards Parveez

     

  • Yes you can use HTTP monitor instead of TCP.

     

    By default a monitor will request the pool member port, but you just have to define the "Alias Service Port" under Advanced configuration to make a HTTP monitor requesting the 8080 port even if the member is on 80 port.