= 2011-02-10 = * 準備 ICAS, Crawlzilla, f-motif Demo VM == Ganglia == * Ganglia 設定檔參考 - Ubuntu karmic (9.04) 以後是 3.1.2-2 版本,且有 [http://packages.ubuntu.com/ganglia-webfrontend 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 {{{ #!text data_source "${YOUR_NAME} cluster" ${HOSTNAME}:8649 trusted_hosts 127.0.0.1 ${HOST_IP} ${HOSTNAME} }}} * /etc/ganglia/gmond.conf {{{ #!diff --- gmond.conf.dpkg 2011-02-10 18:27:14.000000000 +0800 +++ gmond.conf 2011-02-10 18:29:27.000000000 +0800 @@ -32,16 +32,17 @@ /* Feel free to specify as many udp_send_channels as you like. Gmond used to only support having a single channel */ udp_send_channel { - mcast_join = 239.2.11.71 +# mcast_join = 239.2.11.71 + host = ${HOSTNAME_OR_IP} port = 8649 - ttl = 1 +# ttl = 1 } /* You can specify as many udp_recv_channels as you like as well. */ udp_recv_channel { - mcast_join = 239.2.11.71 +# mcast_join = 239.2.11.71 port = 8649 - bind = 239.2.11.71 +# bind = 239.2.11.71 } }}}