Difference between revisions of "Ganglia"

From Alessandro's Wiki
Line 28: Line 28:
  trusted_hosts zombie elwood fricco 192.168.100.24 192.168.100.251 192.168.100.82 192.168.1.251 192.168.1.82 localhost 127.0.0.1
  trusted_hosts zombie elwood fricco 192.168.100.24 192.168.100.251 192.168.100.82 192.168.1.251 192.168.1.82 localhost 127.0.0.1


* Avvio il tutto (l'ordine è importante)
* Avviare i servizi:
prima di tutto stoppare i gmetad e gmond vari.
/etc/init.d/gmond stop
/etc/init.d/gmetad stop
 
poi avviare nel seguente ordine: (la sequenza è importante! Ancora non ho ben capito il criterio giusto)
Server:
Server:
  /etc/init.d/gmetad start
  /etc/init.d/gmetad start
Clients (in tutti, anche il server se è monitorizzato)
Clients (in tutti, meno che quello del server se cel'ha)
/etc/init.d/gmond start
Client del server
  /etc/init.d/gmond start
  /etc/init.d/gmond start


* se in un host ci sono due interfaccie e voglio usarne solo una per ganglia (in questo caso eth0), devo fare una route.
* se in un host ci sono due interfaccie e voglio usarne solo una per ganglia (in questo caso eth0), devo fare una route.
  route add -host 239.2.11.82 dev eth0
  route add -host 239.2.11.82 dev eth0

Revision as of 18:07, 21 January 2007

Ganglia:

  • sistema di monitorizzazione a livello cluster e/o GRID

My Ganglia

per far funzionare la bastarda.

  • configurazione:.
elwood:  amd64 3500+, 2GB ram.
 server Ganglia (gmetad)
 client Ganglia (gmond)
zombie: celeron 1700, 1,5GB ram.
 client Ganglia (gmond)
fricco: PIII 1000, 384MB ram.
 client Ganglia (gmond)
  • Nei client:
vi /etc/gmond.conf

imposto:

cluster {
 name = "MyHome"
}
  • Nel Server:
vi /etc/gmetad.conf

imposto datasource, gridname e trusted_hosts :

data_source "MyHome" 10 localhost 10 zombie 10 fricco
gridname "MyHome"
trusted_hosts zombie elwood fricco 192.168.100.24 192.168.100.251 192.168.100.82 192.168.1.251 192.168.1.82 localhost 127.0.0.1
  • Avviare i servizi:

prima di tutto stoppare i gmetad e gmond vari.

/etc/init.d/gmond stop
/etc/init.d/gmetad stop

poi avviare nel seguente ordine: (la sequenza è importante! Ancora non ho ben capito il criterio giusto) Server:

/etc/init.d/gmetad start

Clients (in tutti, meno che quello del server se cel'ha)

/etc/init.d/gmond start

Client del server

/etc/init.d/gmond start
  • se in un host ci sono due interfaccie e voglio usarne solo una per ganglia (in questo caso eth0), devo fare una route.
route add -host 239.2.11.82 dev eth0