Changes between Version 1 and Version 2 of jazz/11-06-04


Ignore:
Timestamp:
Jun 4, 2011, 10:08:10 PM (13 years ago)
Author:
jazz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • jazz/11-06-04

    v1 v2  
    1313
    1414 * [http://www.howtoforge.com/securing-ssh-on-ubuntu-with-wikid-two-factor-authentication Securing SSH On Ubuntu With WiKID Two-Factor Authentication]
     15
     16== Ganglia ==
     17
     18 * 參考 [wiki:jazz/11-02-10 2011-02-10] 的設定,不過卻只顯示一台。重新啟動 hadoop.nchc.org.tw
     19 * /etc/ganglia/gmond.conf
     20{{{
     21#!diff
     22--- gmond.conf.dpkg     2011-06-04 22:04:55.000000000 +0800
     23+++ gmond.conf  2011-06-04 22:02:53.000000000 +0800
     24@@ -18,30 +18,31 @@
     25  * of a <CLUSTER> tag.  If you do not specify a cluster tag, then all <HOSTS> will
     26  * NOT be wrapped inside of a <CLUSTER> tag. */
     27 cluster {
     28-  name = "unspecified"
     29-  owner = "unspecified"
     30+  name = "hadoop"
     31+  owner = "NCHC"
     32   latlong = "unspecified"
     33-  url = "unspecified"
     34+  url = "http://hadoop.nchc.org.tw"
     35 }
     36 
     37 /* The host section describes attributes of the host, like the location */
     38 host {
     39-  location = "unspecified"
     40+  location = "Taichung"
     41 }
     42 
     43 /* Feel free to specify as many udp_send_channels as you like.  Gmond
     44    used to only support having a single channel */
     45 udp_send_channel {
     46-  mcast_join = 239.2.11.71
     47+#  mcast_join = 239.2.11.71
     48+  host = hadoop
     49   port = 8649
     50-  ttl = 1
     51+#  ttl = 1
     52 }
     53 
     54 /* You can specify as many udp_recv_channels as you like as well. */
     55 udp_recv_channel {
     56-  mcast_join = 239.2.11.71
     57+#  mcast_join = 239.2.11.71
     58   port = 8649
     59-  bind = 239.2.11.71
     60+#  bind = 239.2.11.71
     61 }
     62}}}
     63 * /etc/ganglia/gmeta.conf
     64{{{
     65#!diff
     66--- gmetad.conf.dpkg    2011-06-04 22:04:44.000000000 +0800
     67+++ gmetad.conf 2011-06-04 22:02:46.000000000 +0800
     68@@ -1,7 +1,7 @@
     69 # This is an example of a Ganglia Meta Daemon configuration file
     70 #                http://ganglia.sourceforge.net/
     71 #
     72-# $Id: gmetad.conf.in 1639 2008-08-09 23:30:32Z carenas $
     73+# $Id: gmetad.conf.in 2014 2009-08-10 10:44:09Z d_pocock $
     74 #
     75 #-------------------------------------------------------------------------------
     76 # Setting the debug_level to 1 will keep daemon in the forground and
     77@@ -36,7 +36,7 @@
     78 # data_source "my grid" 50 1.3.4.7:8655 grid.org:8651 grid-backup.org:8651
     79 # data_source "another source" 1.3.4.7:8655  1.3.4.8
     80 
     81-data_source "my cluster" localhost
     82+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
     83 
     84 #
     85 # Round-Robin Archives
     86@@ -75,6 +75,9 @@
     87 # is always trusted.
     88 # default: There is no default value
     89 # trusted_hosts 127.0.0.1 169.229.50.165 my.gmetad.org
     90+
     91+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
     92+
     93 #
     94 #-------------------------------------------------------------------------------
     95 # If you want any host which connects to the gmetad XML to receive
     96@@ -112,3 +115,14 @@
     97 # Where gmetad stores its round-robin databases
     98 # default: "/var/lib/ganglia/rrds"
     99 # rrd_rootdir "/some/other/place"
     100+#
     101+#-------------------------------------------------------------------------------
     102+# In earlier versions of gmetad, hostnames were handled in a case
     103+# sensitive manner
     104+# If your hostname directories have been renamed to lower case,
     105+# set this option to 0 to disable backward compatibility.
     106+# From version 3.2, backwards compatibility will be disabled by default.
     107+# default: 1   (for gmetad < 3.2)
     108+# default: 0   (for gmetad >= 3.2)
     109+case_sensitive_hostnames 1
     110+
     111}}}