incubator-ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mahadev konar (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-3023) Create instructions to migrate ganglia folders for users who upgrade to the new ganglia rrd.
Date Sun, 25 Aug 2013 21:49:51 GMT
Mahadev konar created AMBARI-3023:
-------------------------------------

             Summary: Create instructions to migrate ganglia folders for users who upgrade
to the new ganglia rrd.
                 Key: AMBARI-3023
                 URL: https://issues.apache.org/jira/browse/AMBARI-3023
             Project: Ambari
          Issue Type: Bug
    Affects Versions: 1.4.0
            Reporter: Mahadev konar
            Assignee: Sumit Mohanty
             Fix For: 1.4.1


Use the following script to read and update the config parameter that specifies the target
folder for ganglia rrd files.

https://git-wip-us.apache.org/repos/asf/incubator-ambari/repo?p=incubator-ambari.git;a=blob;f=ambari-server/src/main/resources/scripts/configs.sh;h=2aa5250bde1d916e79fc08ecc2a6b00f292bc558;hb=HEAD
Script name: configs.sh

Procedure:
Decide on the new location for the rrd files (e.g. /newlocation/ganglia/rrds)
Stop Ganglia service and wait for it to stop completely
Get the existing folder path for Ganglia rrd files using configs.sh
E.g. ./configs.sh get localhost c1 global | grep "rrdcached_base_dir" (example assume localhost
for ambari-server host, c1 for the name of the cluster)
Backup this folder and then remove it
Use configs.sh to update the config property with the new location for the rrd files
E.g. ./configs.sh set localhost c1 global "rrdcached_base_dir" "/newlocation/ganglia/rrds"
(example assume localhost for ambari-server host, c1 for the name of the cluster)
Start Ganglia service
You may need to wait for 5-10 minutes to see the metrics getting populated


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message