Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save tmusabbir/7019093 to your computer and use it in GitHub Desktop.
Save tmusabbir/7019093 to your computer and use it in GitHub Desktop.
Configure Ganglia for multiple clusters in Unicast mode
Configure Ganglia for multiple clusters in Unicast mode
data_source "KafkaCluster" 60 10.0.0.249:8649
data_source "StormCluster" 60 10.0.0.182:8649
gridname "Cloud for Beginners"
cluster {
name = "KafkaCluster"
owner = "unspecified"
latlong = "unspecified"
url = "unspecified"
}
udp_send_channel {
#mcast_join = 239.2.11.71
host = 10.0.0.249
port = 8649
ttl = 1
}
udp_recv_channel {
#mcast_join = 239.2.11.71
port = 8649
#bind = 239.2.11.71
}
tcp_accept_channel {
port = 8649
}
cluster {
name = "StormCluster"
owner = "unspecified"
latlong = "unspecified"
url = "unspecified"
}
udp_send_channel {
#mcast_join = 239.2.11.71
host = 10.0.0.182
port = 8649
ttl = 1
}
udp_recv_channel {
#mcast_join = 239.2.11.71
port = 8649
#bind = 239.2.11.71
}
tcp_accept_channel {
port = 8649
}
[root@ip-10-0-0-33 ganglia]# pdsh -w 10.0.0.249,10.0.0.250,10.0.0.251,10.0.0.194,10.0.0.195,10.0.0.196,10.0.0.182 service gmond stop
[root@ip-10-0-0-33 ganglia]# service gmetad stop
[root@ip-10-0-0-33 ganglia]# pdsh -w 10.0.0.249,10.0.0.250,10.0.0.251,10.0.0.194,10.0.0.195,10.0.0.196,10.0.0.182 service gmond start
[root@ip-10-0-0-33 ganglia]# service gmetad start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment