Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-3023

Create instructions to migrate ganglia folders for users who upgrade to the new ganglia rrd.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.4.0
    • 1.4.1
    • None
    • None

    Description

      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

      Attachments

        Activity

          People

            sumitmohanty Sumit Mohanty
            mahadev Mahadev Konar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: