Project

General

Profile

Resurrecting Ganglia after the novadaq-far-daqmon failure of Mar2016 » History » Version 1

Version 1/3 - Next » - Current version
Susan Kasahara, 03/04/2016 08:49 PM


Resurrecting Ganglia after the novadaq-far-daqmon failure of Mar2016

(S.Kasahara, 3/4/2016)
novadaq-far-daqmon suffered disk failure and ganglia was moved to novadaq-far-farm-46
as a result to allow ganglia to run over the weekend.

  • ssh -X novadaq-far-farm-46 -l root
  • /usr/sbin/useradd ganglia
  • su ganglia
  • cd /home/ganglia/webdisplay
    (Confirmed that the NovaDAQMonitor package was installed here containing the ganglia display)
  • cd NovaDAQMonitor/web/Far
  • cp DCM/.htaccess .
  • exit
  • yum install rrdtool
  • yum install httpd
  • yum install php-mysql
  • yum install php-devel
  • yum install php-gd
  • yum install httpd mod_ssl
  • cd /var/www/html
  • ln -s /home/ganglia/webdisplay/NovaDAQMonitor/web/Far ganglia
  • ln -s /home/ganglia/webdisplay/NovaDAQMonitor/web/Far/DCM DCM
  • scp root@novadaq-far-daqmon:/var/www/html/index.html .
  • mkdir -p /usr/apache/auth
  • htpasswd -c /usr/apache/auth/.htpasswd nova
  • mkdir /etc/ganglia
  • cd /etc/ganglia
  • scp root@novadaq-far-daqmon:/etc/ganglia/gmetad.conf .
  • (edit gmetad.conf to replace daqmon with farm-46)
  • scp root@novadaq-far-daqmon:/etc/ganglia/gmetad_dcm.conf .
  • (edit gmetad_dcm.conf to replace daqmon with farm-46)
  • cd /var/lib
  • mkdir ganglia
  • cd ganglia
  • mkdir dwoo
  • mkdir conf
  • mkdir DCM
  • chown daemon *
  • chgrp daemon *
  • chmod g+w conf
  • chmod 777 dwoo
  • cd conf
  • scp root@novadaq-far-daqmon:/var/lib/ganglia/conf/*.json .
  • cd ../DCM
  • mkdir conf
  • mkdir dwoo
  • chown daemon *
  • chgrp daemon *
  • chmod g+w conf
  • chmod 777 dwoo
  • cd conf
  • scp root@novadaq-far-daqmon:/var/lib/ganglia/DCM/conf/*.json .
  • cd /etc/init.d
  • /etc/init.d/gmetad_dcm start
  • /etc/init.d/gmetad start
  1. The following has not been done yet:
    • /sbin/chkconfig --add gmetad
  • /sbin/chkconfig --list gmetad
    (verify add successful)
  • /sbin/chkconfig gmetad && echo "gmetad will be started on system start"
    (verifies gmetad will be started on system startup)