You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Mahadev konar (JIRA)" <ji...@apache.org> on 2013/08/25 23:49:52 UTC

[jira] [Commented] (AMBARI-3023) Create instructions to migrate ganglia folders for users who upgrade to the new ganglia rrd.

    [ https://issues.apache.org/jira/browse/AMBARI-3023?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13749749#comment-13749749 ] 

Mahadev konar commented on AMBARI-3023:
---------------------------------------

Add this as a doc somewhere in Ambari (maybe cwiki FAQ)?
                
> 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