Linux服务器集群性能监控之Performance Co-Pilot(PCP)部署
转载自: https://blog.csdn.net/w84268426/article/details/78431778 在部署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