300 likes | 438 Vues
ch 10 Monitoring NCNU CSIE 97321012 林似真 Stella. ganglia. 2010/6/8. NCNU CSIE Stella. 2. [ˈgæŋglɪə] KK. 2010/6/8. NCNU CSIE Stella. 3. 2010/6/8. NCNU CSIE Stella. 4. outline. WHY? HOW? WHAT? Ganglia Distributed Monitoring System Ganglia Architecture gmond gmetad
E N D
ch 10 Monitoring NCNU CSIE 97321012 林似真 Stella
ganglia 2010/6/8 NCNU CSIE Stella 2
[ˈgæŋglɪə] KK 2010/6/8 NCNU CSIE Stella 3
2010/6/8 NCNU CSIE Stella 4
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 2010/6/8 NCNU CSIE Stella 5
WHY? 2010/6/8 NCNU CSIE Stella 6
Why to Monitor? 系統狀態の監控 解決系統の問題 系統或應用程式の調校 系統升級時の依據 2010/6/8 NCNU CSIE Stella 7
HOW? 2010/6/8 NCNU CSIE Stella 8
How to Monitor? 單一主機の監控 分散式監控系統 2010/6/8 NCNU CSIE Stella 9
How to Monitor? 單一主機の監控 commands : top, free, uptime, ps Log file Shell scripts MRTG ...etc.分散式監控系統 2010/6/8 NCNU CSIE Stella 10
How to Monitor? 分散式監控系統 Network utilization CPU utilization Hardware System load Disk utilization ...etc. 2010/6/8 NCNU CSIE Stella 11
Ganglia? Nagios ←→ Ganglia graph display → easy to see show host metrics visualize trends 2010/6/8 NCNU CSIE Stella 12
WHAT? 2010/6/8 NCNU CSIE Stella 13
WHAT IS GANGLIA ? 2010/6/8 NCNU CSIE Stella 14
Ganglia - Wiki 2010/6/8 NCNU CSIE Stella 15
Ganglia distributed monitoring system monitor tool for clusters and grids view live or historical statistics CPU load averages network utilization long-term trends graph display 2010/6/8 NCNU CSIE Stella 16
WHAT IS Distributed System ? 2010/6/8 NCNU CSIE Stella 17
Distributed Monitoring System Components : daemons that reside on cluster nodes server that collects clusters state information from nodes GUI-based front-end, which provides system activity visulization as for Ganglia components : → gmond → gmetad → web front-end 2010/6/8 NCNU CSIE Stella 18
Ganglia Architecture 2010/6/8 NCNU CSIE Stella 19
gmond Ganglia monitoring daemon Multithreaded Responsibilities : Monitor changes in host states Announce relevant changes Listen to the state of all the other ganglia nodes via a unicast or multicast channel Answer requests for an XML description of the cluster state. 2010/6/8 NCNU CSIE Stella 20
gmetad Ganglia meta daemon Aggregate data, information steps : Poll gmond, clusters, or other gmetad Parse the collected XML Save numeric metrics in RRD(round-robin database) Export aggregated XML over TCP to clients 2010/6/8 NCNU CSIE Stella 21
web front-end web interface written in PHP Graph generated by gmetad displays historical information highly dynamic 2010/6/8 NCNU CSIE Stella 22
monitor interaction Gmond runs on each cluster node; gmetad can fail over between nodes. 2010/6/8 NCNU CSIE Stella 23
2010/6/8 NCNU CSIE Stella 24
Distribution and Install 2010/6/8 NCNU CSIE Stella 25
example official website demo wikimedia demo 2010/6/8 NCNU CSIE Stella 26
Refernce 2010/6/8 NCNU CSIE Stella 27
Reference Ganglia HowTo Ganglia official website wikipedia/Ganglia 2010/6/8 NCNU CSIE Stella 28
Q & A 2010/6/8 NCNU CSIE Stella 29
Fin. Now You Can Rest Easy (In Peace ?). 2010/6/8 NCNU CSIE Stella 30