当前位置:网站首页>Ganglia installation and deployment process
Ganglia installation and deployment process
2022-07-26 05:58:00 【Huang3stone】
Ganglia Installation and deployment process
ganglia It consists of three parts gmond,gmetad、gweb.
- gmond Responsible for collecting data ( Need to carry out Monitored nodes All have to be installed )
- gmetad Responsible for receiving gmond Data collected ( Only need Deploy Web The node of the service install )
- gweb Responsible for showing gmetad The data of ( Only need Deploy Web The node of the service install )
First step The installation files
- install epel Source , The installation command is as follows ( All nodes All installed )
yum -y install epel-release
- install gmond( Node collecting data install )
yum -y install ganglia-gmond
- download gmetad(Web Service node install )
yum -y install ganglia-gmetad
- download gweb(Web Service node install )
sudo yum -y install httpd php # Additional installation required httpd、php
sudo yum -y install ganglia-web
The second step The configuration file
- Modify the configuration file vim /etc/httpd/conf.d/ganglia.conf
# Ganglia monitoring system php web frontend
Alias /ganglia /usr/share/ganglia
<Location /ganglia>
Require all granted
#Order deny,allow
#Deny from all
#Allow from all
# Allow from 127.0.0.1
# Allow from ::1
# Allow from .example.com
</Location>
- Modify the configuration file /etc/ganglia/gmetad.conf
data_source “hadoop202” 192.168.88.202
- Modify the configuration file /etc/ganglia/gmond.conf【 Here one node is configured , adopt scp Synchronize all nodes 】( Be careful : Focus on name,bind as well as host Configuration information )
[[email protected] flume]$ sudo vim /etc/ganglia/gmond.conf
It is amended as follows :
cluster {
name = "hadoop202" ### Name and gmetad The same in
owner = "unspecified"
latlong = "unspecified"
url = "unspecified"
}
udp_send_channel {
#bind_hostname = yes # Highly recommended, soon to be default.
# This option tells gmond to use a source address
# that resolves to the machine's hostname. Without
# this, the metrics may appear to come from any
# interface and the DNS names associated with
# those IPs will be used to create the RRDs.
# mcast_join = 239.2.11.71
host = 192.168.88.202 ### The node that receives the data IP Address
port = 8649
ttl = 1
}
udp_recv_channel {
# mcast_join = 239.2.11.71
port = 8649
bind = 192.168.88.202 ### Node native IP Address
retry_bind = true
# Size of the UDP buffer. If you are handling lots of metrics you really
# should bump it up to e.g. 10MB or even higher.
# buffer = 10485760
}
- Modify the configuration file /etc/selinux/config【 Be careful : need restart It will take effect after 】
SELINUX=disabled # Resolve conflicts
The third step start-up Ganglia
systemctl start httpd.service
systemctl start gmetad.service
systemctl start gmond.service
Permission problems
- Turn off firewall
systemctl stop firewalld
- to grant authorization
chmod -R 777 /var/lib/ganglia
边栏推荐
猜你喜欢

知识沉淀一:架构师是做什么?解决了什么问题

Kingbasees SQL language reference manual of Jincang database (6. Expression)

Redis transaction

Recursive processing - subproblem

逆序打印链表

Blurring of unity pixel painting

How can red star Macalline design cloud upgrade the traditional home furnishing industry in ten minutes to produce film and television level interior design effects

平衡二叉树(AVL) ~

Redis persistence AOF

Unity2d animator cannot create transition
随机推荐
[cloud native] record of feign custom configuration of microservices
金仓数据库 KingbaseES SQL 语言参考手册 (8. 函数(十一))
Interview questions for software testing is a collection of interview questions for senior test engineers, which is exclusive to the whole network
[(SV & UVM) knowledge points encountered in written interview] ~ phase mechanism
The idea YML file code does not prompt the solution
顺序查找,折半查找,分块查找 ~
Kingbasees SQL language reference manual of Jincang database (11. SQL statement: abort to alter index)
Calling mode and execution sequence of JS
对接微信支付(二)统一下单API
Chapter 2 - getting started
vagrant下载速度慢的解决方法
sdc中对cdc的处理方式
Etcd database source code analysis - cluster membership changes log
金仓数据库 KingbaseES SQL 语言参考手册 (10. 查询和子查询)
程序员如何改善精神内耗?
Ros2 knowledge: DDS basic knowledge
柠檬班自动化学习毕竟
Chapter 1 - Construction of development environment
Processing method of CDC in SDC
Redis transaction