当前位置:网站首页>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
边栏推荐
- [2023 Jerry technology approval test questions in advance] ~ questions and reference answers
- Jdbc流式查询与游标查询
- 柠檬班自动化学习毕竟
- 二叉树的前中后序遍历——本质(每个节点都是“根”节点)
- Is the transaction in mysql45 isolated or not?
- ament_cmake生成ROS2库并链接
- How can programmers improve mental internal friction?
- Use of feign (Part 2)
- Embedded general learning route arrangement
- Kingbasees SQL language reference manual of Jincang database (8. Function (10))
猜你喜欢

2022 National latest fire-fighting facility operator (Senior fire-fighting facility operator) simulation test questions and answers

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

102. (cesium chapter) cesium road streamer

unity 像素画导入模糊问题

招标信息获取

Mysql45 talking about global lock, table lock and row lock

Interview questions for software testing is a collection of interview questions for senior test engineers, which is exclusive to the whole network

JDBC streaming query and cursor query

Introduction to three feasible schemes of grammatical generalization

【Oracle SQL】计算同比与环比(列转行进行偏移)
随机推荐
[highly available MySQL solution] centos7 configures MySQL master-slave replication
Servlet filter details
Binary sort tree (BST)~
How can programmers improve mental internal friction?
flex布局
Qu Weihai, chairman and CEO of Xinyi interactive, adheres to mutual benefit and win-win results, and Qu Weihai promotes enterprise development
[cloud native] introduction and use of feign of microservices
Kingbasees SQL language reference manual of Jincang database (6. Expression)
日志收集分析平台搭建-1-环境准备
秋招-准备计划
Unity2D 动画器无法 创建过渡
CANoe-XML在Test Modules中的应用
JS的调用方式与执行顺序
Processing method of CDC in SDC
Autumn move - Preparation Plan
【Oracle SQL】计算同比与环比(列转行进行偏移)
递归函数中 有两个递归入口的时间复杂度
Solution to slow download speed of vagrant
ERROR: Could not open requirements file: [Errno 2] No such file or directory: ‘requirments.txt’
[cloud native] record of feign custom configuration of microservices