Deploy PMM Server on VirtualBox¶
Import the PMM Server OVA file into Oracle VirtualBox to create a virtual machine for your monitoring environment.
Prerequisites¶
- Downloaded PMM Server OVA file
- Oracle VirtualBox 6.0 or later installed
- At least 8GB of free RAM and 100GB of free disk space
Import OVA file¶
To import the OVA file using the VirtualBox user interface:
- Open Oracle VirtualBox.
- Go to File > Import Appliance.
- Click on the folder icon and browse to select the downloaded PMM Server OVA file, then click Next.
- Review the appliance settings:
- You can customize the name of the VM
- Adjust CPU and memory settings if needed
- Review network settings
- Click Import.
- Wait for the import process to complete (this may take several minutes).
To import the OVA file using the command-line interface:
- Open a terminal or command prompt.
-
Use the VBoxManage command to import the OVA:
VBoxManage import pmm-server-3.1.0.ova --vsys 0 --vmname "PMM Server"
-
To customize VM settings during import (optional):
VBoxManage import pmm-server-3.1.0.ova --vsys 0 --vmname "PMM Server" \ --cpus 4 --memory 8192 --unit 9 --disk pmm-data.vmdk
Configure network settings¶
For the VM to be accessible on your network, configure the network settings appropriately.
To configure network settings using the VirtualBox UI:
- Select the imported PMM Server VM.
- Go to Settings > Network.
- Ensure Adapter 1 is enabled and attached to:
- Bridged Adapter for direct network access (recommended)
- NAT if you prefer to use port forwarding
- If using Bridged Adapter, select the physical network interface to bridge to.
- Click OK.
To configure network settings using the command line:
-
For bridged networking (recommended for production):
ReplaceVBoxManage modifyvm "PMM Server" --nic1 bridged --bridgeadapter1 eth0
eth0
with your actual network interface name. -
For NAT networking (easier for testing):
VBoxManage modifyvm "PMM Server" --nic1 nat
-
To set up port forwarding with NAT (optional):
This forwards host ports 8443 and 8080 to guest ports 443 and 80.VBoxManage modifyvm "PMM Server" --nic1 nat VBoxManage modifyvm "PMM Server" --natpf1 "https,tcp,,8443,,443" VBoxManage modifyvm "PMM Server" --natpf1 "http,tcp,,8080,,80"
Start the VM and obtain IP address¶
To start the VM and get its IP address using the UI:
- Select the PMM Server VM in the VirtualBox Manager.
- Click Start.
- A console window will open showing the boot process.
- Wait for the boot process to complete (2-5 minutes).
- The console will display the IP address once booting is complete.
To start the VM and get its IP address using the command line:
-
Start the VM in headless mode (no UI):
VBoxManage startvm "PMM Server" --type headless
-
Wait for the VM to fully boot (approximately 2-5 minutes).
-
Get the VM’s IP address (for bridged networking):
VBoxManage guestproperty get "PMM Server" "/VirtualBox/GuestInfo/Net/0/V4/IP"
-
If the above command doesn’t show the IP address, you can check the VM’s console:
This opens just the console window.VBoxManage startvm "PMM Server" --type separate
Troubleshooting network issues¶
If you cannot connect to the VM:
- For bridged networking, ensure your host’s firewall allows traffic to the VM
- For NAT with port forwarding, connect to your host’s IP address with the forwarded port (e.g., https://localhost:8443)
- Verify VirtualBox network settings are correctly configured
Next steps¶
After successfully importing and starting the PMM Server VM:
- Open a web browser and navigate to
https://<vm-ip-address>
- Complete initial login and setup
- Register PMM Clients to begin monitoring