Changes between Version 5 and Version 6 of ceasar/ganglia


Ignore:
Timestamp:
Mar 8, 2008, 5:48:23 PM (17 years ago)
Author:
ceasar
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ceasar/ganglia

    v5 v6  
    2525  * On frontend, create a gmond configuration file named gmond.conf
    2626{{{
    27         $ /opt/ganglia/sbin/gmond --default_config > /etc/gmond.conf
     27$ /opt/ganglia/sbin/gmond --default_config > /etc/gmond.conf
    2828}}}
    2929  * Edit file: /etc/gmond.conf
     
    4141  gexec = no
    4242}
    43 
    44 
    4543cluster {
    4644  name = "DRBL Cluster Project" -------------> as you want
     
    6058}}}
    6159
    62   Edit file /etc/gmetad.conf
     60  * Edit file /etc/gmetad.conf
    6361{{{
    6462data_source "Test Cluster" 127.0.0.1:8649
     
    7068
    7169 * On frontend, edit web frontend configuration file "/var/www/ganglia/conf.php"
    72 
    7370{{{
    7471$gmetad_root = "/var/lib/ganglia";
     
    8178
    8279 1.3 Setup Ganglia service and start up
    83         1.3.1 Perpare rrd log directory
    84         $ mkdir -p /var/lib/ganglia/rrds
    85         $ chown ganglia:ganglia /var/lib/ganglia/rrds
     80  * Perpare rrd log directory
     81{{{
     82$ mkdir -p /var/lib/ganglia/rrds
     83$ chown ganglia:ganglia /var/lib/ganglia/rrds
     84}}}
    8685
    87         1.3.2 Setup service on /etc/rc.local   ---------> client 要保留,或以其他方式起動
    88         $ vi /ect/rc.local
     86  * Start up service during booting, add the follow into file /etc/rc.local '''---------> client 要保留,或以其他方式起動'''
     87{{{
    8988# Start up ganglia service
    9089/opt/ganglia/sbin/gmond
    91 /opt/ganglia/sbin/gmetad        --------> client 則可以不用
     90/opt/ganglia/sbin/gmetad        '''--------> client 則可以不用'''
     91}}}
    9292
    93         1.3.3 Start up necessary service
    94         $ /opt/ganglia/sbin/gmetad
    95         $ /opt/ganglia/sbin/gmond
     93  * Start up necessary service now
     94{{{
     95$ /opt/ganglia/sbin/gmetad
     96$ /opt/ganglia/sbin/gmond
     97}}}
    9698
    97 1.4 Setup frontend php web page
    98         1.4.1 Copy necessary frontend php scripts
    99         $ cp -a /opt/src/ganglia-3.0.4/web /var/www/ganglia
    100         1.4.2 Make sure the follow session is correct in config.conf
    101         $ vi /var/www/ganglia/conf.php
    102 
     991.4 Configure frontend php web page
     100  * Copy necessary frontend php scripts
     101{{{
     102$ cp -a /opt/src/ganglia-3.0.4/web /var/www/ganglia
     103}}}
     104  * Make sure the follow session be set correctly file "/var/www/ganglia/conf.php"
     105{{{
    103106$gmetad_root = "/var/lib/ganglia";
    104107$rrds = "$gmetad_root/rrds";
     
    107110
    108111$ganglia_ip = "127.0.0.1";
     112}}}