Page MenuHomeDevCentral

Install PCP on Dwellers
Closed, ResolvedPublic

Description

It's shipped by default with RHEL 7, but it seems we need to install it manually with CentOS 7.

Event Timeline

Installation done.

Log

$ yum install pcp
[...]
===============================================================================================================================================================
 Package                                        Arch                          Version                                        Repository                   Size
===============================================================================================================================================================
Installing:
 pcp                                            x86_64                        3.10.6-2.el7                                   base                        839 k
Installing for dependencies:
 mariadb-libs                                   x86_64                        1:5.5.44-2.el7.centos                          base                        754 k
 pcp-compat                                     x86_64                        3.10.6-2.el7                                   base                         14 k
 pcp-conf                                       x86_64                        3.10.6-2.el7                                   base                         25 k
 pcp-doc                                        noarch                        3.10.6-2.el7                                   base                        3.8 M
 pcp-export-pcp2graphite                        x86_64                        3.10.6-2.el7                                   base                         17 k
 pcp-libs                                       x86_64                        3.10.6-2.el7                                   base                        279 k
 pcp-pmda-activemq                              x86_64                        3.10.6-2.el7                                   base                         20 k
 pcp-pmda-apache                                x86_64                        3.10.6-2.el7                                   base                         28 k
 pcp-pmda-bash                                  x86_64                        3.10.6-2.el7                                   base                         26 k
 pcp-pmda-bonding                               x86_64                        3.10.6-2.el7                                   base                         16 k
 pcp-pmda-cisco                                 x86_64                        3.10.6-2.el7                                   base                         36 k
 pcp-pmda-dbping                                x86_64                        3.10.6-2.el7                                   base                         16 k
 pcp-pmda-dm                                    x86_64                        3.10.6-2.el7                                   base                         23 k
 pcp-pmda-ds389                                 x86_64                        3.10.6-2.el7                                   base                         16 k
 pcp-pmda-ds389log                              x86_64                        3.10.6-2.el7                                   base                         16 k
 pcp-pmda-elasticsearch                         x86_64                        3.10.6-2.el7                                   base                         19 k
 pcp-pmda-gfs2                                  x86_64                        3.10.6-2.el7                                   base                         35 k
 pcp-pmda-gluster                               x86_64                        3.10.6-2.el7                                   base                         18 k
 pcp-pmda-gpfs                                  x86_64                        3.10.6-2.el7                                   base                         16 k
 pcp-pmda-gpsd                                  x86_64                        3.10.6-2.el7                                   base                         16 k
 pcp-pmda-json                                  x86_64                        3.10.6-2.el7                                   base                         29 k
 pcp-pmda-kvm                                   x86_64                        3.10.6-2.el7                                   base                         15 k
 pcp-pmda-lmsensors                             x86_64                        3.10.6-2.el7                                   base                         24 k
 pcp-pmda-logger                                x86_64                        3.10.6-2.el7                                   base                         29 k
 pcp-pmda-lustre                                x86_64                        3.10.6-2.el7                                   base                         17 k
 pcp-pmda-lustrecomm                            x86_64                        3.10.6-2.el7                                   base                         24 k
 pcp-pmda-mailq                                 x86_64                        3.10.6-2.el7                                   base                         23 k
 pcp-pmda-memcache                              x86_64                        3.10.6-2.el7                                   base                         16 k
 pcp-pmda-mounts                                x86_64                        3.10.6-2.el7                                   base                         22 k
 pcp-pmda-mysql                                 x86_64                        3.10.6-2.el7                                   base                         22 k
 pcp-pmda-named                                 x86_64                        3.10.6-2.el7                                   base                         16 k
 pcp-pmda-netfilter                             x86_64                        3.10.6-2.el7                                   base                         15 k
 pcp-pmda-news                                  x86_64                        3.10.6-2.el7                                   base                         17 k
 pcp-pmda-nfsclient                             x86_64                        3.10.6-2.el7                                   base                         22 k
 pcp-pmda-nginx                                 x86_64                        3.10.6-2.el7                                   base                         15 k
 pcp-pmda-nvidia-gpu                            x86_64                        3.10.6-2.el7                                   base                         27 k
 pcp-pmda-pdns                                  x86_64                        3.10.6-2.el7                                   base                         17 k
 pcp-pmda-postfix                               x86_64                        3.10.6-2.el7                                   base                         17 k
 pcp-pmda-postgresql                            x86_64                        3.10.6-2.el7                                   base                         24 k
 pcp-pmda-roomtemp                              x86_64                        3.10.6-2.el7                                   base                         29 k
 pcp-pmda-rpm                                   x86_64                        3.10.6-2.el7                                   base                         27 k
 pcp-pmda-sendmail                              x86_64                        3.10.6-2.el7                                   base                         27 k
 pcp-pmda-shping                                x86_64                        3.10.6-2.el7                                   base                         29 k
 pcp-pmda-summary                               x86_64                        3.10.6-2.el7                                   base                         27 k
 pcp-pmda-trace                                 x86_64                        3.10.6-2.el7                                   base                         35 k
 pcp-pmda-unbound                               x86_64                        3.10.6-2.el7                                   base                         19 k
 pcp-pmda-weblog                                x86_64                        3.10.6-2.el7                                   base                         56 k
 pcp-pmda-zswap                                 x86_64                        3.10.6-2.el7                                   base                         16 k
 pcp-system-tools                               x86_64                        3.10.6-2.el7                                   base                         97 k
 perl-Bit-Vector                                x86_64                        7.3-3.el7                                      base                        165 k
 perl-Carp-Clan                                 noarch                        6.04-10.el7                                    base                         26 k
 perl-Date-Calc                                 noarch                        6.3-14.el7                                     base                        210 k
 perl-Digest                                    noarch                        1.17-245.el7                                   base                         23 k
 perl-Digest-MD5                                x86_64                        2.52-3.el7                                     base                         30 k
 perl-JSON                                      noarch                        2.59-2.el7                                     base                         96 k
 perl-PCP-PMDA                                  x86_64                        3.10.6-2.el7                                   base                         52 k
 postfix                                        x86_64                        2:2.10.1-6.el7                                 base                        2.4 M
 postfix-perl-scripts                           x86_64                        2:2.10.1-6.el7                                 base                         67 k
 python-jsonpointer                             noarch                        1.9-2.el7                                      base                         13 k
 python-pcp                                     x86_64                        3.10.6-2.el7                                   base                        102 k
 python-six                                     noarch                        1.9.0-2.el7                                    base                         29 k

Transaction Summary
===============================================================================================================================================================
Install  1 Package (+61 Dependent packages)
[...]

Enable pmcd and pmlogger

$ systemctl enable pmcd.service
Created symlink from /etc/systemd/system/multi-user.target.wants/pmcd.service to /usr/lib/systemd/system/pmcd.service.
$ systemctl enable pmlogger.service
Created symlink from /etc/systemd/system/multi-user.target.wants/pmlogger.service to /usr/lib/systemd/system/pmlogger.service.
$ systemctl start pmcd.service
$ systemctl start pmlogger.service
$ pcp
Performance Co-Pilot configuration on dwellers.nasqueron.org:

 platform: Linux dwellers.nasqueron.org 3.18.17-13.el7.x86_64 #1 SMP Wed Jul 22 14:20:15 UTC 2015 x86_64
 hardware: 4 cpus, 2 disks, 1 node, 3245MB RAM
 timezone: CET-1
 services: pmcd pmwebd
     pmcd: Version 3.10.6-1, 7 agents, 1 client
     pmda: root pmcd proc xfs linux mmv jbd2
 pmlogger: primary logger: /var/log/pcp/pmlogger/dwellers.nasqueron.org/20160104.13.32

Just for reference, this was a test deployment. This is not currently installed on Dwellers, and needs to be in Salt as part of T650.