0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Ganglia Monitoring Systemを導入する

Posted at

Gangliaの導入

  • Ganglia is a scalable distributed monitoring system for high-performance computing systems such as clusters and Grids. It is based on a hierarchical design targeted at federations of clusters. It leverages widely used technologies such as XML for data representation, XDR for compact, portable data transport, and RRDtool for data storage and visualization. It uses carefully engineered data structures and algorithms to achieve very low per-node overheads and high concurrency. The implementation is robust, has been ported to an extensive set of operating systems and processor architectures, and is currently in use on thousands of clusters around the world. It has been used to link clusters across university campuses and around the world and can scale to handle clusters with 2000 nodes.

1 apacheとphpを導入

yum -y install rrdtool
yum -y install httpd php
yum -y install --enablerepo=epel ganglia ganglia-gmetad ganglia-gmond ganglia-web
/etc/init.d/gmetad start
/etc/init.d/gmond start
/etc/init.d/httpd restart

2 GangliaのフロントエンドへアクセスするためのApache用設定

2.1 /etc/httpd/conf.d/ganglia.conf

全てのホストからの接続を許可する。

sed -i -e 's/^ *Deny from all/#Deny from all/g' /etc/httpd/conf.d/ganglia.conf;
sed -i -e '/^#Deny from all/a Allow from all' /etc/httpd/conf.d/ganglia.conf;
/etc/init.d/httpd restart
  #
  # Ganglia monitoring system php web frontend
  #

  Alias /ganglia /usr/share/ganglia

  <Location /ganglia>
    Order deny,allow
    #Deny from all
    #Allow from 127.0.0.1
    #Allow from ::1
    # Allow from .example.com
    Allow from all
  </Location>

2.2 デーモンプロセスの自動起動設定

chkconfig gmetad on
chkconfig gmond on
chkconfig --list
gmetad         	0:off	1:off	2:on	3:on	4:on	5:on	6:off
gmond          	0:off	1:off	2:on	3:on	4:on	5:on	6:off
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?