我已经设置了apache集群(Ubuntu),我使用了tomcat支持的集群技术,并在mod_jk之后使用了链接,这是非常清晰和易于遵循的。
我用three computers 1 as LB and other two as tomcat web servers在我的局域网中这样做,一旦我对设置完全满意,我就想把它实现到生产中。
我跟踪了许多链接,我粘贴的链接就是其中之一,我在不同的物理机器上配置了它。配置是successful,我觉得很容易设置它。我检查了停止一个,它立即开始向另一个webserver发送请求。据我所知,此配置支持HA和LB两种配置。
下面是我的apache集群详细信息:
关于集群和网络负载平衡之间的区别,我已经介绍了几个链接。我得到的是:
Clustering: A cluster is a group of resources that are trying to achieve a common objective, and are aware of one another. Clustering usually involves setting up the resources (servers usually) to exchange details on a particular channel (port) and keep exchanging