= 2011-06-04 = == Browser OS == * [http://webian.org/shell/ Webian Shell] - A full screen web browser for devices that don't need a desktop. * 有點像 Google Chrome OS 的計畫,源自 Mozilla 基金會的 Chromeless 計畫 - http://mozillalabs.com/chromeless == Chukwa == * [http://wiki.apache.org/hadoop/Chukwa_Quick_Start Chukwa Quick Start] == Security == * [http://www.howtoforge.com/securing-ssh-on-ubuntu-with-wikid-two-factor-authentication Securing SSH On Ubuntu With WiKID Two-Factor Authentication] == Ganglia == * 參考 [wiki:jazz/11-02-10 2011-02-10] 的設定,不過卻只顯示一台。重新啟動 hadoop.nchc.org.tw * /etc/ganglia/gmond.conf {{{ #!diff --- gmond.conf.dpkg 2011-06-04 22:04:55.000000000 +0800 +++ gmond.conf 2011-06-04 22:02:53.000000000 +0800 @@ -18,30 +18,31 @@ * of a tag. If you do not specify a cluster tag, then all will * NOT be wrapped inside of a tag. */ cluster { - name = "unspecified" - owner = "unspecified" + name = "hadoop" + owner = "NCHC" latlong = "unspecified" - url = "unspecified" + url = "http://hadoop.nchc.org.tw" } /* The host section describes attributes of the host, like the location */ host { - location = "unspecified" + location = "Taichung" } /* 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 = hadoop 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 } }}} * /etc/ganglia/gmeta.conf {{{ #!diff --- gmetad.conf.dpkg 2011-06-04 22:04:44.000000000 +0800 +++ gmetad.conf 2011-06-04 22:02:46.000000000 +0800 @@ -1,7 +1,7 @@ # This is an example of a Ganglia Meta Daemon configuration file # http://ganglia.sourceforge.net/ # -# $Id: gmetad.conf.in 1639 2008-08-09 23:30:32Z carenas $ +# $Id: gmetad.conf.in 2014 2009-08-10 10:44:09Z d_pocock $ # #------------------------------------------------------------------------------- # Setting the debug_level to 1 will keep daemon in the forground and @@ -36,7 +36,7 @@ # data_source "my grid" 50 1.3.4.7:8655 grid.org:8651 grid-backup.org:8651 # data_source "another source" 1.3.4.7:8655 1.3.4.8 -data_source "my cluster" localhost +data_source "hadoop" hadoop 192.168.1.1 192.168.1.2 192.168.1.3 192.168.1.4 192.168.1.5 192.168.1.6 192.168.1.7 192.168.1.8 192.168.1.9 192.168.1.10 192.168.1.11 192.168.1.12 192.168.1.13 192.168.1.14 192.168.1.15 192.168.1.16 192.168.1.17 192.168.1.18 192.168.1.19 192.168.1.20 # # Round-Robin Archives @@ -75,6 +75,9 @@ # is always trusted. # default: There is no default value # trusted_hosts 127.0.0.1 169.229.50.165 my.gmetad.org + +trusted_hosts 127.0.0.1 192.168.1.1 192.168.1.2 192.168.1.3 192.168.1.4 192.168.1.5 192.168.1.6 192.168.1.7 192.168.1.8 192.168.1.9 192.168.1.10 192.168.1.11 192.168.1.12 192.168.1.13 192.168.1.14 192.168.1.15 192.168.1.16 192.168.1.17 192.168.1.18 192.168.1.19 192.168.1.20 + # #------------------------------------------------------------------------------- # If you want any host which connects to the gmetad XML to receive @@ -112,3 +115,14 @@ # Where gmetad stores its round-robin databases # default: "/var/lib/ganglia/rrds" # rrd_rootdir "/some/other/place" +# +#------------------------------------------------------------------------------- +# In earlier versions of gmetad, hostnames were handled in a case +# sensitive manner +# If your hostname directories have been renamed to lower case, +# set this option to 0 to disable backward compatibility. +# From version 3.2, backwards compatibility will be disabled by default. +# default: 1 (for gmetad < 3.2) +# default: 0 (for gmetad >= 3.2) +case_sensitive_hostnames 1 + }}} * 不過原本有把每一台 DRBL Client 的 gmond.conf 關於 host 的部份改為每一台的 hostname。不成功~ {{{ #!graphviz digraph G { subgraph cluster_1 { node [style=filled]; gmond -> gmetad; gmond -> gmond; label = "hadoop"; color=blue } subgraph cluster_2 { node [style=filled]; gmond1 -> gmond1; label = "hadoop101"; color=red } subgraph cluster_3 { node [style=filled]; gmond2 -> gmond2; label = "hadoop102"; color=yellow } subgraph cluster_4 { node [style=filled]; gmond3 -> gmond3; label = "hadoop103"; color=green } gmond1 -> gmetad; gmond2 -> gmetad; gmond3 -> gmetad; } }}} * 現在反而把每台的 gmond.conf 改成 host = hadoop 就會成功。 {{{ #!graphviz digraph G { subgraph cluster_1 { node [style=filled]; gmond -> gmetad; label = "hadoop"; color=blue } subgraph cluster_2 { node [style=filled]; gmond1 -> gmond; gmond -> gmond; label = "hadoop101"; color=red } subgraph cluster_3 { node [style=filled]; gmond2 -> gmond; label = "hadoop102"; color=yellow } subgraph cluster_4 { node [style=filled]; gmond3 -> gmond; label = "hadoop103"; color=green } } }}}