ユーザ用ツール

サイト用ツール


ganglia:yum_install

gangliaをyumでインストール

# rpm -Uvh http://ftp.jaist.ac.jp/pub/Linux/Fedora/epel/6/x86_64/epel-release-6-8.noarch.rpm
# rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
# rpm -Uvh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm

# yum --enablerepo=epel,remi,remi-php56 install ganglia ganglia-gmetad ganglia-gmond ganglia-web ganglia-gmond-python

# cp /etc/ganglia/gmond.conf /etc/ganglia/gmond.conf.bk
# vi /etc/ganglia/gmond.conf
30,31c30
<   #name = "unspecified"
<   name = "AdmServer"
---
>   name = "unspecified"

# cp /etc/ganglia/gmetad.conf /etc/ganglia/gmetad.conf.bk
# vi /etc/ganglia/gmetad.conf
44,45c44
< data_source "AdmServer" 15 localhost
< data_source "WebServer" 15 192.168.56.11
---
> data_source "my cluster" localhost
74d72
< gridname "MyGrid"

# cp /etc/httpd/conf.d/ganglia.conf /etc/httpd/conf.d/ganglia.conf.bk
# vi /etc/httpd/conf.d/ganglia.conf
12,13d11
<   Allow from 192.168.0.0/24
<   Allow from 192.168.56.0/24

# /etc/init.d/gmetad start
# /etc/init.d/gmond start
# /etc/init.d/httpd start



# yum --enablerepo=epel install ganglia-gmond ganglia-gmond-python
# /etc/init.d/gmond start

# cp /etc/ganglia/gmond.conf /etc/ganglia/gmond.conf.bk
# vi /etc/ganglia/gmond.conf
30,31c30
<   #name = "unspecified"
<   name = "WebServer"
---
>   name = "unspecified"
51,52c50
<   #mcast_join = 239.2.11.71
<   mcast_join = 239.2.11.72
---
>   mcast_join = 239.2.11.71
59,60c57
<   #mcast_join = 239.2.11.71
<   mcast_join = 239.2.11.72
---
>   mcast_join = 239.2.11.71
62,63c59
<   #bind = 239.2.11.71
<   bind = 239.2.11.72
---
>   bind = 239.2.11.71

ganglia/yum_install.txt · 最終更新: 2015/05/12 07:25 by clownclown

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki