2011-02-10
- 準備 ICAS, Crawlzilla, f-motif Demo VM
Ganglia
- Ganglia 設定檔參考 - Ubuntu karmic (9.04) 以後是 3.1.2-2 版本,且有 ganglia-webfrontend 套件,設定方式比較簡單。
#### Server #### ~$ sudo apt-get install gmetad ganglia-webfrontend ganglia-monitor #### Client #### ~$ sudo apt-get install ganglia-monitor
- 把 ganglia-webfrontend 的 apache 設定檔連結到 apache2 的目錄
~$ cd /etc/apache2/conf.d /etc/apache2/conf.d$ sudo ln -s ../../ganglia-webfrontend/apache.conf ganglia-webfrontend /etc/apache2/conf.d$ sudo apache2ctl restart
- /etc/ganglia/gmetad.conf - 自行取代掉 ${HOSTNAME_*} 內容
data_source "${HOSTNAME_1}" ${HOSTNAME_1}:8649 data_source "${HOSTNAME_2}" ${HOSTNAME_2}:8649 data_source "${HOSTNAME_3}" ${HOSTNAME_3}:8649 trusted_hosts 127.0.0.1 ${HOSTNAME_1} ${HOSTNAME_2} ${HOSTNAME_3}
- /etc/ganglia/gmond.conf
-
gmond.conf
old new 32 32 /* Feel free to specify as many udp_send_channels as you like. Gmond 33 33 used to only support having a single channel */ 34 34 udp_send_channel { 35 mcast_join = 239.2.11.71 35 # mcast_join = 239.2.11.71 36 host = localhost 36 37 port = 8649 37 ttl = 138 # ttl = 1 38 39 } 39 40 40 41 /* You can specify as many udp_recv_channels as you like as well. */ 41 42 udp_recv_channel { 42 mcast_join = 239.2.11.7143 # mcast_join = 239.2.11.71 43 44 port = 8649 44 bind = 239.2.11.7145 # bind = 239.2.11.71 45 46 }
-
- [參考] HOWTO: Setting up Ganglia, simply
Last modified 14 years ago
Last modified on Feb 23, 2011, 11:45:14 AM