Linux服务器集群性能监控之Performance Co-Pilot(PCP)部署

本文档介绍了如何在Cent OS 7虚拟机上部署Performance Co-Pilot (PCP)进行服务器性能监控。首先,需要关闭防火墙,然后在监控机上依次安装Collector、monitor、Dynamic Host Discovery、webapi和webjs,并配置相关服务。在被监控机上只需安装webapi和Collector。完成部署后,可以通过web页面或pmchart工具查看监控信息。
摘要由CSDN通过智能技术生成

在部署PCP时,我用到了两台cent os 7虚拟机。

1.官方安装文档
http://pcp.io/docs/guide.html
2.官方用户指引
http://pcp.io/doc/pcp-users-and-administrators-guide.pdf
3.安装步骤简介
监控机和被监控机均需要关闭firewall防火墙
关闭firewall:
systemctl stop firewalld.service #停止firewall
systemctl disable firewalld.service #禁止firewall开机启动
firewall-cmd --state #查看默认防火墙状态(关闭后显示not running,开启后显示running)
监控机:
①安装Collector
# yum install pcp
# systemctl enable pmcd 
# systemctl start pmcd 
# systemctl enable pmlogger 
# systemctl start pmlogger
# cd /var/lib/pcp/pmdas/proc
# ./Install
②安装monitor
# yum install pcp-doc pcp-gui pcp-system-tools 
# echo acme.com n n PCP_LOG_DIR/pmlogger/acme.com -r -T24h10m -c config.acme.com >> /etc/pcp/pmlogger/control 
# systemctl restart pmlogger
③安装Dynamic Host

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值