Installing Ganglia
Procedure
- Use PuTTY to log in to the server as the root user.
- 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
- Install the dependencies.
yum install -y libconfuse-2.7-7.el7.aarch64.rpm php-ZendFramework-1.12.20-1.el7.remi.noarch.rpm
- Install Ganglia on the server.
yum install -y ohpc-ganglia
- Install Ganglia on the client.
yum install -y ganglia-gmond-ohpc
- 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.
- Configure Ganglia on the client.
scp SMS_IP:/etc/ganglia/gmond.conf /etc/ganglia
echo "gridname Mysite" >> /etc/ganglia/gmetad.conf
- Start the gmond process on the client.
systemctl start gmond
systemctl enable gmond
- 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