当前位置:网站首页>PMM (percona monitoring and management) installation record
PMM (percona monitoring and management) installation record
2022-07-26 09:49:00 【Color the sky】
Installation environment :centos7.2
- install docker:
yum install docker -y
start-up docker
service docker start
- obtain PMM Server image :
docker pull percona/pmm-server:latest
- establish PMM Containers
docker create \ -v /opt/prometheus/data \ -v /opt/consul-data \ -v /var/lib/mysql \ -v /var/lib/grafana \ --name pmm-data \ percona/pmm-server:latest /bin/true
- Create and run PMM Server Container
docker run -d\ -p 80:80 \ --volumes-from pmm-data\ --name pmm-server\ --restart always\ percona/pmm-server:latest
80:80 Corresponding port , It can be changed according to needs ( Such as 8089:80)
see docker Running state :
docker ps
PMM The server is installed successfully
pmm-client install
Make yum Source
rpm -ivh https://www.percona.com/redir/downloads/percona-release/redhat/0.1-4/percona-release-0.1-4.noarch.rpm
If the path cannot be found , Find the correct address on the official website to install :https://www.percona.com/redir/downloads/percona-release/redhat/
install pmm-client
yum install pmm-client
install percona Tools percona-toolkit
yum install percona-toolkit
(vpn Lower installation is relatively fast )
Client connection pmm server
pmm-admin config --server 192.168.135.140
increase pmm-client Monitoring accounts
GRANT ALL PRIVILEGES ON *.* TO 'pmm'@'%' IDENTIFIED BY '1qazXSW2-!'; flush privileges;
increase pmm Client monitoring mysql To pmm The server
pmm-admin add mysql --user pmm --password 1qazXSW2-! --host 192.168.135.140 --port 3306
see PMM All the monitoring services added by the client
pmm-admin list
pmm-client installation is complete
Type in the browser ip see mysql Monitoring status :http://192.168.135.140/
docker Common commands :
# systemctl start docker // start-up docker
# systemctl stop docker // close docker
# docker restart xxx // Restart a container
# docker stop xxx // Stop a container
# docker rm xxx // Delete a container
# docker rm -f xxx // Force deletion of a container
# docker log xxx // View container log
# docker ps -a // View container information
# docker search xxx // see hub Upper xxxx Mirror image
# docker pull xxx // Download package
边栏推荐
- Simple pedestrian recognition code to 88% accuracy Zheng Zhedong preparation
- MFC handy notes
- AR model in MATLAB for short-term traffic flow prediction
- QT随手笔记(六)——更新界面、截图、文件对话框
- 网络流学习笔记
- [fluorescent character effect]
- R语言ggpubr包ggsummarystats函数可视化分组箱图(自定义分组颜色)并在X轴标签下方添加分组对应的统计值(样本数N、中位数median、四分位数的间距iqr、统计值的色彩和分组图色匹配
- 苹果独占鳌头,三星大举复兴,国产手机在高端市场颗粒无收
- Sqoop [environment setup 01] CentOS Linux release 7.5 installation configuration sqoop-1.4.7 resolve warnings and verify (attach sqoop 1 + sqoop 2 Latest installation package +mysql driver package res
- JS判断数据类型 Object.prototype.toString.call和typeof
猜你喜欢
R language ggplot2 visualization: align the legend title to the middle of the legend box in ggplot2 (default left alignment, align legend title to middle of legend)
Interview shock 68: why does TCP need three handshakes?
V-permission add permission
配置ADCS后访问certsrv的问题
电机转速模糊pid控制
matlab中的AR模型短时预测交通流
Spolicy request case
Xiaobai makes a wave of deep copy and shallow copy
高斯消元
Fuzzy PID control of motor speed
随机推荐
网站设计需要的基本知识
C managed and unmanaged
Table extraction for opencv table recognition (2)
uni-app学习总结
在Blazor 中自定义权限验证
(二)面扫描仪与机械臂的手眼标定(眼在手外:九点标定)
Gauss elimination for solving XOR linear equations
R language ggplot2 visualization: align the legend title to the middle of the legend box in ggplot2 (default left alignment, align legend title to middle of legend)
Uni app learning summary
ie7设置overflow属性失效解决方法
POJ 1012 Joseph
服务器、客户端双认证
EOJ 2020 1月月赛 E数的变换
2021年山东省中职组“网络空间安全”B模块windows渗透(解析)
MQTT X CLI 正式发布:强大易用的 MQTT 5.0 命令行工具
JS 连等赋值操作
Azkaban [basic knowledge 01] core concepts + features +web interface + Architecture +job type (you can get started with Azkaban workflow scheduling system in one article)
“互联网+”时代的现代医学
Smart gourmet C language
IE7 set overflow attribute failure solution