git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [users@httpd] Connect mod_lbmethod_heartbeat to Tomcat


I'm not expert on this but I did a quick search. Did you come across
this page in your research:
https://tomcat.apache.org/connectors-doc/webserver_howto/apache.html

Good Luck and let us know how this works out would you. I just leased
my first Tomcat (vps) and I need to establish comms between it and a
http server.
On Fri, Sep 28, 2018 at 2:29 PM Randelke Althor <randelke@xxxxxxxxx> wrote:
>
> Hey all,
>
> I'm new to server configurations and Apache, so I apologize if this is
> overly simplistic or an inappropriate place to ask this question.
>
> I have recently upgraded from Apache 2.2 to 2.4 and am looking into
> changing the proxy method used by the server from the basic mod_proxy
> to mod_lbmethod_heartbeat in mod_proxy_balancer. I am using an Apache
> Server as a proxy to send the requests to a number of Tomcat servers,
> and am unsure of the flow of how the heartbeat method is supposed to
> work.
>
> I've done my best to scour the Apache docs, and my current
> understanding of the process is the Apache Server should have a
> HeartMonitor listening for heartbeat info that will be sent to it by
> each of the other servers. These servers will have mod_heartbeat so
> they will know to send the information to the specified port. The
> Apache Server will then use this information to distribute the
> requests as best it can. Does this sound like the correct flow for how
> this method is supposed to work?
>
> If so, how would the mod_heartbeat be loaded onto and used by Tomcat?
> Both are Apache, but I have not been able to find any documentation on
> a method like this in Tomcat and that doesn't seem surprising to me
> since they are different servers and I imagine are implemented very
> differently. Is there some sort of connector that would let the two
> communicate in this way, or is mod_lbmethod_heartbeat supposed to only
> be used between multiple Apache Servers?
>
> Thanks in advance for any help you can give me in understanding this method!
> Luke DiGiacomo
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx