:: WELCOME TO MY BLOG, PLEASE COMMENT ::

Wednesday, May 27, 2020

Booting an OVA on PROXMOX

Copying the OVA over to the Proxmox Server
You can use any method you prefer to get the OVA over to the Proxmox server. I have a portable USB drive that I use on my home server.  I download most of my ISO, OVA, and VMDK images onto the drive and then simply plug it back in.  That is just convenient and what works for ME. You can do whatever YOU like. If you are copying from a Windows host WinSCP is a secure and easy route to go. A view of the console is presented in Figure 1.
WinSCP can be downloaded here:
- C: Windows Name Windows. old 
Windows 
users 
user Manual 
TRiLOG 
temp 
Sqlite 
Recovery 
Python23 
Program Files (x86) 
Drcpeqies 
New. 
Size Type 
File folder 
File folder 
File folder 
File folder 
File folder 
File folder 
File folder 
File folder 
File folder 
File folder 
File folder 
Changed 
10/25/2018 2:4045 PM 
2/20/2019 PM 
10/19/2018 
10/19/2018 347:30 PM 
11/20/2018 PM 
2/20/2019 10:25:13 PM 
1/19/2019 PM 
10/19/2018 PM 
1/20/2019 64702 PM 
2/4/2019 8-4802 PM 
2/23/2019 PM 
Dcwn'oad • 
la te/iso/ 
Name 
System Volume Inform.. 
cache 
BlueScope Real 
SRECYCLE.81N 
enisa-main3.ova 
Size 
$984, 370m 
4, 2 19,264m 
4.1 a560m 
Properties 
New. 
Changed 
11/16/2018 PM 
5/7/2017 PM 
5/3/2017 PM 
11/19/2018 10:31:12 AM 
11/19/2018 AM 
5/3/2017 3:30:46 PM 
4/17/2018 105816 PM 
2/20/2019 214.07 PM 
5/3/2017 PM 
2/26/2019 AM 
5/3/2017 PM 
Rights 
rwxrwxrwx 
rwxrwxrwx 
noxrwxrv.'x 
rwxrwxrwx 
rwxrwxrwx 
root 
ant 
root 
root 
root 
ant 
root
Figure 1. Win SCP view of Windows Host and Proxmox Server
My goal was to get the “enisa-main3.ova” seen in Figure 1. to run on my PROXMOX 5 2-10 server. I imported the OVA to the “/var/lib/vz/template/iso/” directory via WinSCP.  That is the directory where all of my ISO images are contained.  The ISO folder is mounted to disk from a USB hard drive.
I ran the command tar with options:
  • x – extract an archive file.
  • v – show the progress of the archive file.
  • f – filename of the archive file
Machine generated alternative text:VNC Command Terminal - naVNC - Google Chrome A Not secure 11:8006/?console=shell&novnc 
=1&vmid=0&vmna... 
_prof ess iona . iso 
_prof ess iona l_lJith_sp1_xB6_dvd_u_6770S6. iso 
_ iso 
en_lJindows_server_2012_r2_x64_dvd_2707B46. iso 
Fedora-server-dud-x86_64-2S-1.3. iso 
Fedora-Norkstat ion-Live-xB6_64-2S-1.3. iso 
ISO 
li-linux-201B.3a-amd64. iso 
li-linux-201B.4-amd64. iso 
nuxmint-1B.3-mate-64bit . iso 
pfsense-CE-2.a.2-RELEASE-amd64. iso 
pfsense-CE-2.a.4-RELEASE-amd64. iso.gz 
$RECYCLE . BIN 
rhel-server-7.2-xB6_64-dvd. iso 
System Volume Information 
ubuntu-16.04. a-server-amd64. iso 
ubuntu-16.04.4-desktop-amd64. iso 
ubuntu-16. 10-desktop-amd64. iso 
virtio-lJin-0.1.141.iso 
Nina. iso 
tar 
enisa-main3.ovf 
enisa-maina-diskl.vmdk 
-xvf enisa-main3.ova
Figure 2. tar command to extract the vmdk file
The output was two files – one an OVF file which contains the settings and configuration of the virtual machine and one file which was the virtual machine disk (VMDK) which are the disk images of the virtual machine.
Although you can run a VMDK file in Proxmox, it’s recommended to use qcow2 which is the default file format for Proxmox virtual machines. Run the VMDK file through the converter – note this can take a while with large files.
In the Proxmox web GUI, click on Create VM and create a VM which meets the requirements of the image you converted. Make sure that you select qcow2 for the disk format. After clicking Finish an empty VM will be created – in this example, I used local storage and VMID 801.
Or, copy vmdk over it in raw format:
VNC Ccmrnend Terminal - ncVNC - Google Chrome A Not secure I kali- linux-2018.q-alfdS4. iso 
linuxmint-1B.3-raate-64bit . iso 
pfsense-CE-2.3.2-RELEASE-amd64.iso 
pfsense-CE-2.3.4-RELEASE-amd64.iso.gz 
. BIN/ 
el -server-7.2-xB6_6q -dud . iso 
stem Volume Information/ 
of qemu-irne info 
ens in3-d 
m- img; Could not open vrndk • : Could not open •ensia-mein3-disk1.vnxIk'• r 
o such file or directory 
gerrw-irag convert -p -0 raw en 
enisa-maina•diskl.vrrdk 
enisa-main3.oua 
enisa-main3.ovf 
It i p le_ed i t Lons_vers ion_1607 _updat ed_ju 1_2016 iso 
It i p le_edi t Lons _vers ion_1607 _updated_Ju 1 _2øL6 iso 
ess iso 
ess _x86 77056. iso 
_dud_27Ø7946. iso 
roottproyujx: gemu-img convert 
/ ve'vm-801-disk-0 
p -o raw enisa-rnains-diskl.vmdk /dex.
Figure 3. Conversion of the vmdk over to raw vm-801-disk-0
Start your Image up in the Proxmox Web GUI and, Booms! That’s it
QEVU (ENSIA) - noVNC - Google Chrome A Not secure I en_us O e) 
Log In
Figure 4. VM up and running…. Need another cup of coffee

0 good:

BRYAN. Powered by Blogger.

DAFTAR ISIAN

Share

Twitter Delicious Facebook Digg Stumbleupon Favorites More