VMware - Import OVA file¶
To import downloaded file from UI:
- Select File → Import.
- Click Choose file….
- Navigate to the downloaded
.ova
file and select it. - Click Open.
- Click Continue.
-
In the Save as dialog:
- (Optional) Change the directory or file name.
- Click Save.
-
Choose one of:
- (Optional) Click Finish. This starts the virtual machine.
- (Recommended) Click Customize Settings. This opens the VM’s settings page without starting the machine.
To import downloaded file from the CLI:
- Install
ovftool
. (You need to register.) -
Import and convert the OVA file. (
ovftool
can’t change CPU or memory settings during import but it can set the default interface.)Choose one of:
-
Download and import the OVA file.
ovftool --name="PMM Server" --net:NAT=Wi-Fi \ https://www.percona.com/downloads/pmm2/3.0.0/ova/pmm-server-3.0.0.ova \ pmm-server-3.0.0.vmx
-
Import an already-downloaded OVA file.
ovftool --name="PMM Server" --net:NAT=WiFi \ pmm-server-3.0.0.ova \ pmm-server.vmx
-
Reconfigure interface¶
Note
When using the command line, the interface is remapped during import.
Reconfigure with UI¶
To reconfigure the interface with the UI:
- If started, shut down the virtual machine.
- In the VMware main window, select the imported virtual machine.
- Click Virtual Machine → Settings….
- Click Network Adapter.
- In the Bridged Networking section, select Autodetect.
- Close the settings window.
Start guest and get IP address from UI¶
To start the guest and get the IP address from the UI:
- In the VMware main window, select the imported virtual machine.
- Click the play button or select Virtual Machine → Start Up.
- When the instance has been booted, note the IP address in the guest console.
Start guest and get IP address from CLI¶
To start the guest and get the IP address from the CLI:
-
Start the virtual machine in GUI mode. (There’s no way to redirect a VMware VM’s console to the host.)
vmrun -gu root -gp percona start \ pmm-server.vmx gui
-
When the instance has been booted, note the IP address in the guest console.
-
(Optional) Stop and restart the instance in headless mode.
vmrun stop pmm-server.vmx vmrun -gu root -gp percona start \ pmm-server.vmx nogui
Get expert help¶
If you need assistance, visit the community forum for comprehensive and free database knowledge, or contact our Percona Database Experts for professional support and services.