2.2. Copy the Configuration Files

On each host in the cluster:

  1. Grant execute permissions on the following scripts:

    • /usr/libexec/hdp/ganglia/setupGanglia.sh

    • /usr/libexec/hdp/ganglia/startRrdcached.sh

  2. Change permissions on the RRD base directory to grant access to nobody:

    chown -R nobody:nobody $RRDCACHED_BASE_DIR
    chmod -R 755 $RRDCACHED_BASE_DIR 
  3. Create the directory for the objects folder:

    mkdir -p /usr/libexec/hdp/ganglia
  4. Copy the objects files:

    cp <tmp-directory>/ganglia/objects/*.* /usr/libexec/hdp/ganglia/
  5. Copy the Ganglia monitoring init script to init.d

    cp <tmp-directory>/ganglia/scripts/hdp-gmond /etc/init.d

On the Ganglia Server Host:

  1. Copy the entire contents of the scripts folder to init.d

    cp -R <tmp-directory>/ganglia/scripts/* /etc/init.d/

loading table of contents...