ganglia多cluster设置(转)

转自:http://18567.blog.51cto.com/8567/670571

 

例如有两个集群,cluster1,cluster2
cluster1{
    test0
}
cluster2{
    test1
    test2
}
gmeta部署在test0上

gmeta.conf配置如下:
data_source "cluster1" localhost
data_source "cluster2" test2
test0上的gmond.conf:
cluster { 
name = "cluster1" 
owner = "unspecified" 
latlong = "unspecified" 
url = "unspecified" 
} 
udp_send_channel { 
host = test0
port = 8649 
ttl = 1 
} 

/* You can specify as many udp_recv_channels as you like as well. */ 
udp_recv_channel { 
/* mcast_join = 239.2.11.71 */
port = 8649 
/* bind = 239.2.11.71 */
} 

选取test2作为cluster2的headnode
test2上的gmond.conf配置:
cluster { 
name = "cluster2" 
owner = "unspecified" 
latlong = "unspecified" 
url = "unspecified" 
} 
udp_send_channel { 
host = jx-psop-test2.jx
port = 8649 
ttl = 1 
} 

/* You can specify as many udp_recv_channels as you like as well. */ 
udp_recv_channel { 
/* mcast_join = 239.2.11.71 */ 
port = 8649 
/* bind = 239.2.11.71 */
} 

test1向test2汇报,由test2汇总,
test1的gmond.conf配置同test2

 

--end

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值