Hello everybody.
I have installed Ganglia (for the first time) about 2 weeks ago. So far
it seems to be (almost) exactly what I need. The one thing I am trying
to figure out is how to get more than one gmond daemon running on the
same host. So instead of having a dedicated gmond reporter for each
cluster (I plan to implement about 30 clusters), I would want each node
in the cluster to report to a set of custom collectors on the primary
and secondary servers. This would greatly reduce the need for additional
hardware as well as keep redundancy.
So the /etc/init.d/gmond file would be configured to start n number of
daemons which would use a custom gmond.conf file per instance.
Environment would look something like:
Master Server 1
|
/etc/init.d/gmond.conf:
|
| |
gmond-custom1.conf gmond-custom2.conf
gmond-customXX.conf
cluster { cluster {
cluster {
name = "red App cluster" name = "green App
cluster" name = "yellow App cluster"
owner = "us" owner = "us"
owner = "us"
} }
}
udp_send_channel { udp_send_channel {
udp_send_channel {
mcast_join = localhost mcast_join =
localhost mcast_join = localhost
port = 8600 port = 8601
port = 8602
} }
}
udp_recv_channel { udp_recv_channel {
udp_recv_channel {
port = 8600 port = 8601
port = 8602
} }
}
tcp_accept_channel { tcp_accept_channel {
tcp_accept_channel {
port = 8600 port = 8601
port = 8602
} }
}
Red Client 1
|
gmond.conf
cluster {
name = "red App cluster"
owner = "us"
}
udp_send_channel {
mcast_join = Master Server 1
port = 8600
}
...
Green Client 1
|
gmond.conf
cluster {
name = "green App cluster"
}
udp_send_channel {
mcast_join = Master Server 1
port = 8601
}
...
Yellow Client 1
|
gmond.conf
cluster {
name = "yellow App cluster"
}
udp_send_channel {
mcast_join = Master Server 1
port = 8602
}
...
I have a basic handle on the concepts of Ganglia and have it working
fine otherwise. But the ability to use one (replicated) server host as
both the collector and the reporter would make this an awesome tool.
Thanks in advance and I hope the formatting of this message is nit
totally lame.
-Jess
------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general