PMM Server as a Virtual Appliance¶
Percona provides a virtual appliance for running PMM Server in a virtual machine. It is distributed as an Open Virtual Appliance (OVA) package, which is a tar archive with necessary files that follow the Open Virtualization Format (OVF). OVF is supported by most popular virtualization platforms, including:
- VMware - ESXi 6.5
- Red Hat Virtualization
- Microsoft System Center Virtual Machine Manager
In this chapter
The virtual appliance is ideal for running PMM Server on an enterprise virtualization platform of your choice. This page explains how to run the appliance in VirtualBox and VMware Workstation Player. which is a good choice to experiment with PMM at a smaller scale on a local machine. Similar procedure should work for other platforms (including enterprise deployments on VMware ESXi, for example), but additional steps may be required.
The virtual machine used for the appliance runs CentOS 7.
The appliance must run in a network with DHCP, which will automatically assign an IP address for it.
To assign a static IP manually, you need to acquire the root access as described in pmm.deploying.server.virtual-appliance.root-password.setting. Then, see the documentation for the operating system for further instructions: Configuring network interfaces in CentOS
Instructions for setting up the virtual machine for different platforms
When run PMM Server as virtual appliance, The IP address of your PMM Server appears at the top of the screen above the login prompt. Use this address to acces the web interface of PMM Server.
PMM Server uses DHCP for security reasons, and thus you need to check the PMM Server console in order to identify the address. If you require configuration of a static IP address, see Configuring network interfaces in CentOS
To run the PMM Server, start the virtual machine and open in your browser the URL that appears at the top of the terminal when you are logging in to the virtual machine.
If you run PMM Server in your browser for the first time, you are requested to supply the user login and password. The default PMM Server credentials are:
- username: admin
- password: admin
After login you will be proposed to change this default password. Enter the new password twice and click Save. The PMM Server is now ready and the home page opens.
You are creating a username and password that will be used for two purposes:
authentication as a user to PMM - this will be the credentials you need in order to log in to PMM.
authentication between PMM Server and PMM Clients - you will re-use these credentials as a part of the server URL when configuring PMM Client for the first time on a server:
Run this command as root or by using the sudo command
pmm-admin config --server-insecure-tls --server-url=https://admin:admin@<IP Address>:443
To access the VM with the PMM Server appliance via SSH, you will need to provide your public key:
Open the URL for accessing PMM in a web browser.
The URL is provided either in the console window or in the appliance log.
Select the PMM Settings dashboard in the main menu.
Submit your public key in the SSH Key Details section and click the Apply SSH Key button.
After that you can use
ssh to log in as the
For example, if PMM Server is running at 192.168.100.1
and your private key is
use the following command:
ssh email@example.com -i ~/.ssh/pmm-admin.key