2.4. Set Up Configurations

  1. On the Ganglia server, use a text editor to open the following master configuration files:

    /etc/ganglia/hdp/HDPNameNode/conf.d/gmond.master.conf
    /etc/ganglia/hdp/HDPHistoryServer/conf.d/gmond.master.conf
    /etc/ganglia/hdp/HDPResourceManager/conf.d/gmond.master.conf
    /etc/ganglia/hdp/HDPSlaves/conf.d/gmond.master.conf

    And if HBase is installed:

    /etc/ganglia/hdp/HDPHBaseMaster/conf.d/gmond.master.conf
  2. Confirm that the “bind” property in each of these files is set to the Ganglia server hostname.

  3. On the Ganglia server, use a text editor to open the gmetad configuration file:

    /etc/ganglia/hdp/gmetad.conf

  4. Confirm the "data_source" properties are set to the Ganglia server hostname. For example:

    data_source "HDPSlaves" my.ganglia.server.hostname:8660
    data_source "HDPNameNode" my.ganglia.server.hostname:8661
    data_source "HDPResourceManager" my.ganglia.server.hostname:8664
    data_source "HDPHistoryServer" my.ganglia.server.hostname:8666
    

    And if HBase is installed:

    data_source "HDPHBaseMaster" my.ganglia.server.hostname:8663
  5. On all hosts except the Ganglia server, use a text editor to open the slave configuration files:

    /etc/ganglia/hdp/HDPNameNode/conf.d/gmond.slave.conf
    /etc/ganglia/hdp/HDPHistoryServer/conf.d/gmond.slave.conf
    /etc/ganglia/hdp/HDPResourceManager/conf.d/gmond.slave.conf
    /etc/ganglia/hdp/HDPSlaves/conf.d/gmond.slave.conf 

    And if HBase is installed

    /etc/ganglia/hdp/HDPHBaseMaster/conf.d/gmond.slave.conf
  6. Confirm that the host property is set to the Ganglia Server hostname.


loading table of contents...