wiki:jazz/11-02-10

Version 4 (modified by jazz, 14 years ago) (diff)

--

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
    data_source "${YOUR_NAME} cluster" ${HOSTNAME}:8649
    trusted_hosts 127.0.0.1 ${HOST_IP} ${HOSTNAME}
    
  • /etc/ganglia/gmond.conf
    • gmond.conf

      old new  
      3232/* Feel free to specify as many udp_send_channels as you like.  Gmond
      3333   used to only support having a single channel */
      3434udp_send_channel {
      35   mcast_join = 239.2.11.71
       35#  mcast_join = 239.2.11.71
       36  host = ${HOSTNAME_OR_IP}
      3637  port = 8649
      37   ttl = 1
       38#  ttl = 1
      3839}
      3940
      4041/* You can specify as many udp_recv_channels as you like as well. */
      4142udp_recv_channel {
      42   mcast_join = 239.2.11.71
       43#  mcast_join = 239.2.11.71
      4344  port = 8649
      44   bind = 239.2.11.71
       45#  bind = 239.2.11.71
      4546}