如何实现作为多个tomcat实例的loadbalancer的apache httpd的故障转移

时间:2022-01-10 14:09:33

I am implementing almost 3 tomcat instances with the load balanced by apache httpd and mod_jk in on single machine. I also configured session affinity and session replication in the tomcat instances. So, even though, any one of the 3 tomcat instances goes down, there would be no worry.

我正在实现几乎3个tomcat实例,并在单个机器上通过apache httpd和mod_jk进行负载平衡。我还在tomcat实例中配置了会话关联和会话复制。因此,即使3个tomcat实例中的任何一个发生故障,也不会有任何担心。

But as I am balancing the load for 3 tomcat instances by a single apache httpd, if the apache httpd fails and if its service goes down, then it becomes again a single point of failure.

但是当我通过单个apache httpd平衡3个tomcat实例的负载时,如果apache httpd失败并且如果它的服务发生故障,则它再次成为单点故障。

So, how to get rid of this problem? How can I do failover of the apache httpd which inturn works as the load balancer for multiple tomcats.

那么,如何摆脱这个问题呢?如何进行apache httpd的故障转移,其中inturn作为多个tomcats的负载均衡器。

1 个解决方案

#1


I have used cloud load balancers before (AWS). And they passed East US power failure. google

我之前使用过云负载均衡器(AWS)。他们通过美国东部的电力故障。谷歌

#1


I have used cloud load balancers before (AWS). And they passed East US power failure. google

我之前使用过云负载均衡器(AWS)。他们通过美国东部的电力故障。谷歌