- 论坛徽章:
- 0
|
2楼
发表于 2011-08-03 10:54
本帖最后由 yayu_myself 于 2011-08-03 20:03 编辑
1、icp和集群有关系吗,是不是启用ICP一定要开启集群,编译是不是还应该加上其他参数--enable-ccache?
关于集群的配置被我从http://svn.apache.org/repos/asf/ ... wto/index.en.mdtext挖出来了,在配置文件中如下:
##############################################################################
287 #
288 # Cluster Subsystem
289 #
290 ##############################################################################
291 # cluster type requires restart to change
292 # 1 is full clustering, 2 is mgmt only, 3 is no clustering
293 LOCAL proxy.local.cluster.type INT 3
294 CONFIG proxy.config.cluster.cluster_port INT 8086
295 CONFIG proxy.config.cluster.rsport INT 8088
296 CONFIG proxy.config.cluster.mcport INT 8089
297 CONFIG proxy.config.cluster.mc_group_addr STRING 224.0.1.37
298 CONFIG proxy.config.cluster.mc_ttl INT 1
299 CONFIG proxy.config.cluster.log_bogus_mc_msgs INT 1
300 CONFIG proxy.config.cluster.ethernet_interface STRING eth0
.......
584 CONFIG proxy.config.cluster.cluster_configuration STRING cluster.config
这又引发了如下问题:
1)编译参数ccache是什么意思,我以为是cluster cache,求解答。
2)那个链接里面还说明了,如果要配置集群,必须满足如下条件:
Before you put a node into a Cluster, please make sure the following thing
checked:
* you are using the samy Operation System:
+ Using the same distrobution, ie: RHEL 5.5 X
+ Have same kernel, ie: 2.6.18-194.17.1.el5 X
+ The same ARCH, ie: `x86_64`
* install with the same version of Traffic Server
* the same hardware X
* on the same switch or same vlan.
我的条件不一样的在后面用X指明。反正我是没配置成功,不知道是不是因为配置不一样的原因,明天再试。
3)最疑惑的还是集群和ICP和WCCP之前的关系,他们没有直接关系呢,还是后面的ICP要首先依靠集群,如果集群是独立的,那集群和ICP以及WCCP的区别只是因为各自使用了不同的通讯协议吗?这个真的非常疑惑。
2、我的ICP配置是参考管理手册上的,而上面warning中提到的 ICP interface并没有在手册中说明,想知道这个会不会影响ICP,如有影响,这个值应该是什么?
proxy.config.icp.icp_interface STRING your_interface
Specifies the network interface used for ICP traffic.
Note: The Traffic Server installation script detects your network interface and sets this variable appropriately. If your system has multiple network interfaces, check that this variable specifies the correct interface.
这个问题之前一直看的中文版的管理手册,里面没有后续的章节(可能是官方之后更新的)。今天看了下英文的文档,发现里面有解释了,我的值是空,看来安装脚本是没有检测到,还得手动指定。 |
|