ganglia多cluster設置

例如有兩個集羣,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
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章