0% found this document useful (0 votes)
169 views3 pages

Percona Monitoring

The document summarizes the steps to install Percona Server for MySQL including: 1. Running the PMM Server via Docker by creating data and server containers 2. Installing client packages on Debian/Ubuntu and RHEL/CentOS systems using software repositories 3. Configuring the PMM client to connect to the server and monitor MySQL, MongoDB, ProxySQL and PostgreSQL services.

Uploaded by

hari krishna
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
169 views3 pages

Percona Monitoring

The document summarizes the steps to install Percona Server for MySQL including: 1. Running the PMM Server via Docker by creating data and server containers 2. Installing client packages on Debian/Ubuntu and RHEL/CentOS systems using software repositories 3. Configuring the PMM client to connect to the server and monitor MySQL, MongoDB, ProxySQL and PostgreSQL services.

Uploaded by

hari krishna
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

percona server installation

Short description:

Percona Server for MySQL is a distribution of the MySQL relational database management
system created by Percona. Percona Server for MySQL is an open source relational database
management system. It is a free, fully compatible drop in replacement for Oracle MySQL.

Installation procedure

1.Running PMM Server via Docker

Docker images of PMM Server are stored at the percona/pmm-server public repository. The
host must be able to run Docker 1.12.6 or later, and have network access.

Creating the pmm-data Container


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

Creating and Launching the PMM Server Container


docker run -d \
-p 80:80 \
--volumes-from pmm-data \
--name pmm-server \
--restart always \
percona/pmm-server:latest

Installing Clients
1.Percona Software Repositories

● Repository on Debian and Ubuntu


1. Fetch the repository package:
2. wget https://repo.percona.com/apt/percona-release_0.1-6.$(lsb_release -sc)_all.deb

3. Install the repository package:


4. sudo dpkg -i percona-release_0.1-6.$(lsb_release -sc)_all.deb

5. Update local apt cache:


6. sudo apt-get update
7.
● Repository on Red Hat Enterprise Linux and CentOS
Install the repository package:
sudo yum install http://www.percona.com/downloads/percona-release/redhat/0.1-6/percona-
release-0.1-6.noarch.rpm

You should see the following if successful:


Installed:
percona-release.noarch 0:0.1-6

Complete!

2 .Installing PMM Client on Debian or Ubuntu

1. install the PMM Client package:


apt-get install pmm-client

3. Installing the PMM Client Package on Red Hat and CentOS

1. Install the pmm-client package:


yum install pmm-client

● Run this command as root or by using the sudo command


pmm-admin config --server 192.168.5.106:8500 --client-name “client name”

● Enable general system metrics, MySQL metrics, MySQL query analytics:


pmm-admin add mysql --user “username” --password “password”

● Enable general system metrics, MongoDB metrics, and MongoDB query analytics:
pmm-admin add mongodb

● Enable ProxySQL performance metrics:


pmm-admin add proxysql:metrics [NAME] [OPTIONS]

● Enable PostgreSQL performance metrics:


pmm-admin add postgresql --user “username” --password “password”

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy