Apache Traffic Server集群无法正常工作 [英] Apache Traffic Server Clustering not working

查看:270
本文介绍了Apache Traffic Server集群无法正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在运行在两个不同物理根节点上的Debian Squeeze上的两个openvz容器上编译了trafficserver-4.1.2.除群集外,包括缓存在内的所有内容都可以正常工作.我在两个节点上都添加了相同的名称,

I compiled trafficserver-4.1.2 on two openvz containers running on Debian Squeeze, located on two different physical root nodes. Everything including caching is working fine, except for the clustering. I added the same name to the two nodes, as

traffic_line -s proxy.config.proxy_name -v fetest

配置为在端口80上运行

Configured to run on port 80

traffic_line -s proxy.config.http.server_ports -v 80

遵循 http://trafficserver上的文档. readthedocs.org/en/4.0.x/admin/cluster-howto.en.html

traffic_line -r proxy.local.cluster.type
1

traffic_line -r proxy.config.cluster.ethernet_interface
venet0:0

但是

traffic_line -r proxy.process.cluster.nodes
1

第二个节点未显示.仅显示一个节点.不管另一个节点是否启动,这就是它的全部显示,并且cluster.config中没有添加任何条目.

The second node is not showing up. Only a single node is being showed. Whether the other node is up or not, this is all it shows up, and there are no entries added up in cluster.config.

推荐答案

这看起来更像是多播问题.确保您的根节点/母船都在同一台交换机/vlan上.接口上的tcp转储可以显示群集是否能够使用多播相互通信.

This looks more like a multicasting issue. Make sure your root nodes/mother ships are on the same switch/vlan. A tcp dump on the interfaces can show you whether the cluster is able to communicate each other using multicast.

这篇关于Apache Traffic Server集群无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆