Not the answer you need?
Register and ask your own question!

Fedora 24 support

scar2yjsscar2yjs ContributorCurrent User Role Beginner
i wanna install pmm-client on fedora 24 using toolbox. how can i fix below error ?

$ yum install http://www.percona.com/downloads/percona-release/redhat/0.1-4/percona-release-0.1-4.noarch.rpm

Failed to synchronize cache for repo 'percona-release-noarch', disabling.
Failed to synchronize cache for repo 'percona-release-x86_64', disabling.

Mar 07 06:09:47 DDEBUG repo: downloading from remote: percona-release-x86_64, _Handle: metalnk: None, mlist: None, urls .
Mar 07 06:09:48 DEBUG Cannot download 'http://repo.percona.com/release/24/RPMS/x86_64': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried.

Comments

  • MykolaMykola Percona Percona Staff Role
    For install the latest pmm-client on Fedora 24 please run the following commands as root

    dnf -y remove percona-release --disablerepo=*
    cat <<'EOF' >/etc/yum.repos.d/percona-release.repo
    [percona-release-$basearch]
    name = Percona-Release YUM repository - $basearch
    baseurl = http://repo.percona.com/release/7/RPMS/$basearch
    enabled = 0
    gpgcheck = 1
    gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Percona
    
    [percona-release-noarch]
    name = Percona-Release YUM repository - noarch
    baseurl = http://repo.percona.com/release/7/RPMS/noarch
    enabled = 0
    gpgcheck = 1
    gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Percona
    EOF
    
    cat <<'EOF' >/etc/pki/rpm-gpg/RPM-GPG-KEY-Percona
    -----BEGIN PGP PUBLIC KEY BLOCK-----
    Version: GnuPG v1.4.9 (GNU/Linux)
    
    mQGiBEsm3aERBACyB1E9ixebIMRGtmD45c6c/wi2IVIa6O3G1f6cyHH4ump6ejOi
    AX63hhEs4MUCGO7KnON1hpjuNN7MQZtGTJC0iX97X2Mk+IwB1KmBYN9sS/OqhA5C
    itj2RAkug4PFHR9dy21v0flj66KjBS3GpuOadpcrZ/k0g7Zi6t7kDWV0hwCgxCa2
    f/ESC2MN3q3j9hfMTBhhDCsD/3+iOxtDAUlPM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yVd514Qqmjb4
    eEihtcjltGAoS54+6C3lbjrHUQhLwPGqlAh8uZKzfSZq0C06kTxiEqsG6VDDYWy6
    L7qaMwOqWdQtdekKiCk8w/FoovsMYED2qlWEt0i52G+0CjoRFx2zNsN3v4dWiIhk
    ZSL00Mx+g3NA7pQ1Yo5Vhok034mP8L2fBLhhWaK3LG63jYvd0HLkUFhNG+xjkpeI
    SQQYEQIACQUCSybdoQIbDAAKCRAcTL3NzS79KlacAJ0aAkBQapIaHNvmAhtVjLPN
    wke4ZgCePe3sPPF49lBal7QaYPdjqapa1SQ=
    =qcCk
    -----END PGP PUBLIC KEY BLOCK-----
    EOF
    
    dnf -y install pmm-client --enablerepo=percona-release-x86_64
    
    pmm-client should work fine on Fedora 24 but it is not tested by our QA department
  • scar2yjsscar2yjs Contributor Current User Role Beginner
    thanks for feedback.

    i can successfully down rpm pmm-client-1.0.4-1.x86_64.rpm only.

    Downloading Packages:
    [SKIPPED] pmm-client-1.0.4-1.x86_64.rpm: Already downloaded
    warning: /var/cache/dnf/percona-release-noarch-189af2f8d35110a7/packages/pmm-client-1.0.4-1.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID cd2efd2a: NOKEY
    Container core-fedora-24 terminated by signal KILL.

    if i try to rpm -ivh pmm-client-1.0.4-1.x86_64.rpm
    it's working.
  • MykolaMykola Percona Percona Staff Role
    Hm, why 1.0.4?
    the following command works fine on Fedora 24
    dnf -y install https://repo.percona.com/release/7/RPMS/x86_64/pmm-client-1.1.1-1.x86_64.rpm
    
  • scar2yjsscar2yjs Contributor Current User Role Beginner
    basically completed to prepare coreos and toolbox (fedora 24) env from 1 test host. this will be connected orchestration tool.
    so i wanna divide pmm-data container from pmm-server container . as external mysql container service. not a volume. how can do this ?
  • MykolaMykola Percona Percona Staff Role
    PMM server has Query Analytic (qan) component which use mysql database.

    So you want to run qan mysql inside separate docker container??
    Why you want to disassemble PMM Server?

    PMM is very complex thing and quite complicated to run each PMM component individually/
  • scar2yjsscar2yjs Contributor Current User Role Beginner
    if i set up manually bind mounted mysql volume, it's ok .
    but, i wanna manage pmm-server scale clustering with as external database or external mysql containers using orchestration tool.

    mounted mysql volume is stop status, so it is difficult to apply clustering @[email protected]
    and if i have N Servers - 1 database structure, is it efficient?
  • MykolaMykola Percona Percona Staff Role
    first of all, if you want to monitor many databases (cluster) - it is possible, just install pmm-client on each database server and add server to a cluster.
    https://www.percona.com/blog/2017/02/24/installing-percona-monitoring-and-management-pmm-for-the-first-time-2/

    if you want disassemble PMM Server container - it is also possible, but you should have very good reason for that!
    What problem do you want to solve? with external database
This discussion has been closed.

MySQL, InnoDB, MariaDB and MongoDB are trademarks of their respective owners.
Copyright ©2005 - 2020 Percona LLC. All rights reserved.