Rate This Document
Findability
Accuracy
Completeness
Readability

Installing Ganglia

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Run the following commands to download the dependencies from the external network:

    wget http://www.rpmfind.net/linux/epel/7/aarch64/Packages/l/libconfuse-2.7-7.el7.aarch64.rpm

    wget http://www.rpmfind.net/linux/remi/enterprise/7/remi/aarch64/php-ZendFramework-1.12.20-1.el7.remi.noarch.rpm

  3. Install the dependencies.

    yum install -y libconfuse-2.7-7.el7.aarch64.rpm php-ZendFramework-1.12.20-1.el7.remi.noarch.rpm

  4. Install Ganglia on the server.

    yum install -y ohpc-ganglia

  5. Install Ganglia on the client.

    yum install -y ganglia-gmond-ohpc

  6. Configure Ganglia on the server.

    perl -pi -e "s/<sms>/${sms_name}/" /etc/ganglia/gmond.conf

    In the gmond.conf file, change the value of HOST to the host name or IP address of the server.

  7. Configure Ganglia on the client.

    scp SMS_IP:/etc/ganglia/gmond.conf /etc/ganglia

    echo "gridname Mysite" >> /etc/ganglia/gmetad.conf

  8. Start the gmond process on the client.

    systemctl start gmond

    systemctl enable gmond

  9. Start the processes on the server.

    systemctl start gmond

    systemctl start gmetad

    systemctl enable gmond

    systemctl enable gmetad

    systemctl try-restart httpd

    systemctl enable httpd