Ganglia is an open source cluster monitoring project initiated by UC Berkeley, designed to measure thousands of nodes. The core of ganglia consists of Gmond, Gmetad, and a web front end. Mainly used to monitor the performance of the system, such as: CPU, MEM, hard disk utilization, I/O load, network traffic, etc., through the curve is easy to see the working state of each node, the rational adjustment, distribution system resources, improve the overall performance of the system play an important role.
basic information editing Ganglia is an open source cluster monitoring project initiated by UC Berkeley, designed to measure thousands of nodes. The core of ganglia consists of Gmond, Gmetad, and a web front end. Mainly used to monitor the performance of the system, such as: CPU, MEM, hard disk utilization, I/O load, network traffic, etc., through the curve is easy to see the working state of each node, the rational adjustment, distribution system resources, improve the overall performance of the system play an important role. Each computer runs a daemon named Gmond that collects and sends metric data. Hosts that receive all of the metrics data can display this data and can pass the condensed form of the data to the hierarchy. It is precisely because of this hierarchical pattern that the Ganglia can be extended well. Gmond brings very little system load, which makes it a piece of code that runs on each computer in the cluster without impacting user performance. The multiple collection of all this data can affect node performance. The "jitter" in the network occurs when a large number of small messages are present, and you can avoid this problem by keeping the node clock consistent. Gmetad can be deployed in any node in the cluster or a standalone host connected to the cluster through a network, it communicates with Gmond through unicast routing, collects state information of nodes in the region, and is stored in the database in the form of XML data. The RRDtool tool processes the data and generates the corresponding graphical display, which is provided visually to the client in a web-based manner.2Ganglia working principle edit Ganglia includes several programs that pass monitoring data between them through XDR (XML compression format) or XML format to achieve monitoring results. A node within a cluster collects the state information of the publishing node by running Gmond, and then gmetad the information collected by the periodic polling gmond and then stores it in the RRD database, which can be queried for display by the Web server. [1]
Ganglia open source cluster monitoring project