PMM installation overview¶
Content under improvement
We’re currently enhancing this chapter to make it more accurate and easier to follow. Content may be updated as improvements are made. Share your feedback to help us improve it.
Installing Percona Monitoring and Management (PMM) involves setting up a central PMM Server and distributed PMM Clients that work together to monitor your database environment.
PMM Server provides the web interface with dashboards and analytics, while PMM Clients collect data from your databases with minimal performance impact and send it back to PMM Server for analysis and visualization.
What the installation involves¶
The PMM installation consists of three main steps that need to be completed in sequence:
- Install PMM Server: centralized platform that collects, analyzes, and visualizes your monitoring data
- Install PMM Clients: lightweight agents on each database host that collect metrics without impacting performance
- Configure monitoring services: connect PMM to your database instances, select which metrics to collect, and customize monitoring parameters
Plan the installation¶
Before ou install PMM, ensure your environment is properly prepared:
- Choose a deployment strategy based on your environment needs.
- Verify hardware requirements to ensure your system meets the necessary specifications.
- Configure your network for the required connections.
PMM Server deployment options¶
Compare the available deployment methods to choose what works best for your setup. For a fast evaluation setup, Docker is the quickest option. For production environments, consider your existing infrastructure stack and operational preferences when choosing between Docker, Kubernetes (Helm), or Virtual Appliance deployments:
Deployment Method | Best for | Advantages | Considerations |
---|---|---|---|
Docker | Quick setup, development environments | • Fast deployment • Easy to manage • Runs without root privileges • Minimal resource overhead |
• Requires Docker knowledge • May need additional network configuration |
Podman | Security-conscious environments | • Rootless by default • Enhanced security • Docker-compatible commands • No daemon required |
• Requires Podman installation • Less common than Docker |
Installation steps¶
1. Install PMM Server¶
Install and run at least one PMM Server using one of the following deployment methods. If you’re not sure which deployment method is best for your environment, check out this Choose a PMM deployment strategy topic for a comparison of your options.
Run PMM Server as a Docker container
Run PMM Server as a rootless Podman container
Deploy PMM Server on a Kubernetes cluster
Run PMM Server as a pre-configured virtual machine
2. Install PMM Client¶
Install and run PMM Client on every node where there is a service you want to monitor. Choose the installation method that best fits your environment:
Client installation options¶
Linux package: Use apt
, apt-get
, dnf
, yum
.
The package manager automatically selects the correct version for your architecture.
Binary package: Download the appropriate .tar.gz
file for your architecture (x86_64 or ARM64).
Running PMM Client as a Docker container simplifies deployment across different architectures and automatically selects the appropriate image for your architecture (x86_64 or ARM64).
3. Add services for monitoring¶
After installing PMM Client, configure the nodes and services you want to monitor.
PMM supports monitoring across the following database technologies, cloud services, proxy services, and system metrics:
Monitor relational and NoSQL database instances:
- MySQL and variants (Percona Server for MySQL, Percona XtraDB Cluster, MariaDB)
- MongoDB
- PostgreSQL
Monitor cloud-hosted database services and platforms:
Monitor system resources and infrastructure components: