On the host you have chosen to be the Ganglia server, install the server RPMs:
For RHEL/CentOS:
yum install ganglia-gmond-3.2.0-99 ganglia-gmetad-3.2.0-99 gweb-2.2.0-99 hdp_mon_ganglia_addons
For SLES:
zypper install ganglia-gmond-3.2.0-99 ganglia-gmetad-3.2.0-99 gweb-2.2.0-99 hdp_mon_ganglia_addons
On each host in the cluster, install the client RPMs:
For RHEL/CentOS:
yum install ganglia-gmond-3.2.0-99
For SLES:
zypper install ganglia-gmond-3.2.0-99