Download presentation
Presentation is loading. Please wait.
Published byKelly Wilcox Modified over 9 years ago
1
ch 10 Monitoring NCNU CSIE 97321012 林似真 Stella
2
NCNU CSIE Stella2010/6/82 ganglia
3
NCNU CSIE Stella2010/6/83 [ˈgæŋglɪə] KK
4
NCNU CSIE Stella2010/6/84
5
NCNU CSIE Stella2010/6/85 outline ● WHY? ● HOW? ● WHAT? ● Ganglia ● Distributed Monitoring System ● Ganglia Architecture – gmond – gmetad – web front-end ● Monitor Intersection ● Ganglia Data Flow ● Distribution and Install ● Example ● Reference ● Q&A
6
NCNU CSIE Stella2010/6/86 WHY?
7
NCNU CSIE Stella2010/6/87 Why to Monitor? ● 系統狀態の監控 ● 解決系統の問題 ● 系統或應用程式の調校 ● 系統升級時の依據
8
NCNU CSIE Stella2010/6/88 HOW?
9
NCNU CSIE Stella2010/6/89 How to Monitor? ● 單一主機の監控 ● 分散式監控系統
10
NCNU CSIE Stella2010/6/810 How to Monitor? ● 單一主機の監控 ● commands : top, free, uptime, ps ● Log file ● Shell scripts ● MRTG ●...etc. 分散式監控系統
11
NCNU CSIE Stella2010/6/811 How to Monitor? ● 分散式監控系統 ● Network utilization ● CPU utilization ● Hardware ● System load ● Disk utilization ●...etc.
12
NCNU CSIE Stella2010/6/812 Ganglia? ● Nagios ←→ Ganglia ● graph display → easy to see ● show host metrics ● visualize trends
13
NCNU CSIE Stella2010/6/813 WHAT?
14
NCNU CSIE Stella2010/6/814 WHAT IS GANGLIA ?
15
NCNU CSIE Stella2010/6/815 Ganglia - Wiki
16
NCNU CSIE Stella2010/6/816 Ganglia ● distributed monitoring system ● monitor tool for clusters and gridsclustersgrids ● view live or historical statistics ● CPU load averages ● network utilization ● long-term trends ● graph display
17
NCNU CSIE Stella2010/6/817 WHAT IS Distributed System ?
18
NCNU CSIE Stella2010/6/818 Distributed Monitoring System ● Components : 1.daemons that reside on cluster nodes 2.server that collects clusters state information from nodes 3.GUI-based front-end, which provides system activity visulization → gmond → gmetad → web front-end as for Ganglia components :
19
NCNU CSIE Stella2010/6/819 Ganglia Architecture
20
NCNU CSIE Stella2010/6/820 gmond ● Ganglia monitoring daemon ● Multithreaded ● Responsibilities : 1.Monitor changes in host states 2.Announce relevant changes 3.Listen to the state of all the other ganglia nodes via a unicast or multicast channel 4.Answer requests for an XML description of the cluster state.
21
NCNU CSIE Stella2010/6/821 gmetad ● Ganglia meta daemon ● Aggregate data, information ● steps : 1.Poll gmond, clusters, or other gmetad 2.Parse the collected XML 3.Save numeric metrics in RRD(round-robin database) 4.Export aggregated XML over TCP to clients
22
NCNU CSIE Stella2010/6/822 web front-end ● web interface written in PHP ● Graph generated by gmetad displays historical information ● highly dynamic
23
NCNU CSIE Stella2010/6/823 monitor interaction ● Gmond runs on each cluster node; gmetad can fail over between nodes.
24
NCNU CSIE Stella2010/6/824
25
NCNU CSIE Stella2010/6/825 ● Distribution and Install
26
NCNU CSIE Stella2010/6/826 example ● official website demo official website demo ● wikimedia demo wikimedia demo
27
NCNU CSIE Stella2010/6/827 Refernc e
28
NCNU CSIE Stella2010/6/828 Reference ● Ganglia HowTo Ganglia HowTo ● Ganglia official website Ganglia official website ● wikipedia/Ganglia wikipedia/Ganglia
29
NCNU CSIE Stella2010/6/829 Q & A
30
NCNU CSIE Stella2010/6/830 Fin. Now You Can Rest Easy (In Peace ?).
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.