On each host in the cluster:
Grant execute permissions on the following scripts:
/usr/libexec/hdp/ganglia/setupGanglia.sh
/usr/libexec/hdp/ganglia/startRrdcached.sh
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
Create the directory for the
objects
folder:mkdir -p /usr/libexec/hdp/ganglia
Copy the objects files:
cp <tmp-directory>/ganglia/objects/*.* /usr/libexec/hdp/ganglia/
Copy the Ganglia monitoring init script to
init.d
cp <tmp-directory>/ganglia/scripts/hdp-gmond /etc/init.d
On the Ganglia Server Host:
Copy the entire contents of the scripts folder to
init.d
cp -R <tmp-directory>/ganglia/scripts/* /etc/init.d/