ganglia gmond common deployment issues

本文涉及的产品
公共DNS(含HTTPDNS解析),每月1000万次HTTP解析
全局流量管理 GTM,标准版 1个月
云解析 DNS,旗舰版 1个月
简介:
在部署gmond时, 有几个需要注意的地方.
1. 反向hostname解析
因为gmond 在收到来自其他gmond的包时, 需要将源地址解析成主机名, 如果突发的量比较大, 或者DNS服务器比较慢的话, 可能导致gmond处理变慢. (If the lookups must
be handled by DNS, this can slow down the process. As it is a single-threaded design,
this scenario can have undesirable consequences.)
所以作为mute角色的gmond, 最好配置/etc/hosts, 保存网络中所有其他gmond的IP和主机名. 省去从dns解析源IP的麻烦.
例如 : 
# vi /etc/hosts
172.16.3.221 db-172-16-3-221.sky-mobi.com
172.16.3.150 db-150.sky-mobi.com
172.16.3.151 db-151.sky-mobi.com
172.16.3.152 db-152.sky-mobi.com
172.16.3.153 db-153.sky-mobi.com
172.16.3.154 db-154.sky-mobi.com
......


2. 时钟同步
It  is  essential  that  all  hosts  participating  in  the  Ganglia  monitoring  system  have  a
synchronized  clock.  Proactively  deploying  network  time  protocol  (NTP)  is  highly
recommended.
If you see a message similar to the following in your web server logs, it is highly likely
that the hosts running gmond are not time-synced:
alleviateFeb 22 05:33:22 localhost.localdomain /usr/sbin/gmetad[2782]:
RRD_update (/var/lib/ganglia/rrds/...metric.rrd): illegal attempt to
update using time 1329950002 when last update time is 1329950002
(minimum one second step)

3. selinux和防火墙
Ganglia daemons communicate with each other via network (TCP/UDP) sockets. 
The  web frontend also needs to communicate with gmetad via the interactive port. 
If a  firewall needs to be in place on servers running the Ganglia services, please ensure that
the ports are opened on the firewall. 
Default ports are 8649 for gmond, 8651 for gmetad  noninteractive, and 8652 for gmetad interactive.

[参考]
目录
相关文章
|
存储 JSON 前端开发
听GPT 讲Alertmanager源代码--cluster/cli/asset等
听GPT 讲Alertmanager源代码--cluster/cli/asset等
62 0
|
Kubernetes Cloud Native 安全
Kubernetes CKS 2021【7】---Cluster Setup - Verify Platform
Kubernetes CKS 2021【7】---Cluster Setup - Verify Platform
Kubernetes CKS 2021【7】---Cluster Setup - Verify Platform
|
Kubernetes 安全 应用服务中间件
Kubernetes CKS【24】---System Hardening - Kernel Hardening Tools(seccomp)
Kubernetes CKS【24】---System Hardening - Kernel Hardening Tools(seccomp)
Kubernetes CKS【24】---System Hardening - Kernel Hardening Tools(seccomp)
|
Web App开发 弹性计算 Kubernetes
Kubernetes CKS 2021【3】---Cluster Setup - Dashboard
Kubernetes CKS 2021【3】---Cluster Setup - Dashboard
Kubernetes CKS 2021【3】---Cluster Setup - Dashboard
|
Kubernetes 容器
Kubernetes CKS 2021【4】---Cluster Setup - Secure Ingress
Kubernetes CKS 2021【4】---Cluster Setup - Secure Ingress
Kubernetes CKS 2021【4】---Cluster Setup - Secure Ingress
|
Prometheus 监控 Kubernetes
Prometheus - Installation
云原生监控方案 Prometheus 在 Kubernetes Operator的安装管理实现
315 0
Prometheus - Installation
|
前端开发 网络协议 MySQL
Setting Up a Server Cluster for Enterprise Web Apps – Part 1
In this three-part tutorial, we will discover how to set up a server cluster using Alibaba Cloud ECS and WordPress.
12071 0
Setting Up a Server Cluster for Enterprise Web Apps – Part 1
|
网络协议 虚拟化
|
JavaScript 关系型数据库 MySQL