当前位置:网站首页>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
边栏推荐
- Optical quantum milestone: 3854 variable problems solved in 6 minutes
- 金仓数据库 KingbaseES SQL 语言参考手册 (6. 表达式)
- Redis持久化-AOF
- Project topic selection reference
- K. Link with Bracket Sequence I dp
- Qu Weihai, chairman and CEO of Xinyi interactive, adheres to mutual benefit and win-win results, and Qu Weihai promotes enterprise development
- Sequential search, half search, block search~
- 字节面试题——判断一棵树是否为平衡二叉树
- How to view the container name in pod
- 程序员如何改善精神内耗?
猜你喜欢

Embedded general learning route arrangement

Recursive processing - subproblem

Docking wechat payment (II) unified order API

Redis事务

Acquisition of bidding information

金仓数据库 KingbaseES SQL 语言参考手册 (7. 条件表达式)

Kingbasees SQL language reference manual of Jincang database (8. Functions (XI))

Ros2 preliminary: basic communication with topic

Mysql45 talking about global lock, table lock and row lock

Redis transaction
随机推荐
Realize channel routing based on policy mode
Matlab 向量与矩阵
Kingbasees SQL language reference manual of Jincang database (6. Expression)
"Recursive processing of subproblems" -- judging whether two trees are the same tree -- and the subtree of another tree
Modifiers should be declared in the correct order
日志收集分析平台搭建-1-环境准备
金仓数据库 KingbaseES SQL 语言参考手册 (9. 常见DDL子句)
Embedded general learning route arrangement
[SQL optimization] (big table tips) sometimes a 2-hour SQL operation may take only 1 minute
VS中使用动态库
实习运维知识积累
PHP 多任务秒级定时器的实现方法
Calling mode and execution sequence of JS
Is the transaction in mysql45 isolated or not?
Servlet filter details
[论文笔记] 面向网络语音隐写的抗分组丢失联合编码
idea yml 文件代码不提示解决方案
How to view the container name in pod
Establishment of log collection and analysis platform-1-environment preparation
为什么LPDDR不能完全代替DDR?