`
heipark
  • 浏览: 2078074 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

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

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics