I recently received a interesting question about how to create a virtual machine on an Hyper-V server and install the ProxMox VE software. In this post, I’ve been writing that this was a option to perform some basic testing with the PROXMOX VE software.
Today, I’ll briefly explain how to install ProxMox VE software as a Virtual Machine in Hyper-V
Even if it’s possible to run ProxMox VE as a virtual machine, you have to be aware that will be facing some limitations and won’t be able to benefit from all the features of the software.
In order to take full advantage of the software, your hardware should be using a 64-bit processor that supports Hardware-assisted virtualization (Intel VT or AMD-V Capable).
Again, you can virtualize your ProxMox VE in order for you to become familiar with the installation procedure and get some hands-on experience with the Web Interface. Note, however, that you won’t be able to create virtual machines using the KVM technology. Only OpenVZ container will be available.
Creating your Hyper-V Virtual machine
I won’t go through the installation process of the Hyper-V host server. You can find some basic information here. We will focus on how to create a virtual machine where the ProxMox VE can be installed and will be reachable through the network.
Note: We assume that you have already installed Hyper-V role on your computer
Perform the following steps :
- Step 1 : Open The Server Manager Console and locate the Hyper-V Manager Node
click to enlarge image
- Step 2 : On the right pane, in Actions, Select the option , New ->Virtual Machine
click to enlarge image
- Step 3 : The New Virtual Machine Wizard will start. In the Before to begin page, click on Next
- Step 4 : In the Name and location page, provide the name of the virtual machine and select where to store the files and Press Next
- Step 5 : In the assign Memory page, select the amount of RAM you want to assign to your Virtual ProxMox VE server and Press Next
- Step 6 : In the Configuring network page, you can accept the default presented (given that we will change that at the end of the Wizard) and Press Next
- Step 7 : In the Connect Virtual Disk Page, create a new virtual hard disk, and specify the size that you want to use. Then press Next or Finish
- Step 8 : In the Installation Options, Select the Install Operating System later and Press Next
- Step 9 : In the Completing the Wizard page, Review your settings and Press Finish
If you look in the Hyper-V Manager Console, you should see your ProxMox VE Virtual machine. Do not boot it yet ! We haven’t finished configuring the virtual machine. We will need to change the type of network Card that currently used by the Virtual Machine. To do this, perform the following actions :
- In the Hyper-V Manager Console, Select the ProxMox VE newly created virtual machine and in the right pane select the option Settings (for the Virtual machine)
Click to enlarge image
- The Settings windows page is displayed. Go to the network Card node and Press the Remove Button
If you look carefully, you will see a small information text about when to use legacy network card. Because we are installing a linux Operating system and because there will be no Integration services installed, we need to use the Legacy Network Interface Type in order to have network connectivity to our virtual ProxMox VE Server
- In the settings Window Page, click on Add Hardware and select in the right pane, legacy network Adapter and Press Add
- After pressing Add, you will be presented with the following screen allowing you to configure the settings for your network card. By default, the network card will be set to Not Connected. Select the network card that needs to be used in order to have network connectivity with the external world. Press OK or Apply when done
- The final step before performing your installation is to connect the iso image (or the CD containing the ProxMox VE software) to the virtual machine and perform the installation
Installing ProxMox VE as an Hyper-V Virtual machine
Almost there ! Now, you just need to boot the virtual machine and proceed with the ProxMox Ve Installer. Hereafter, I’ve posted some of the installation screenshots inside the virtual machine
- The installer is starting
- During the installation, I’ve specified the ip address 192.168.1.132
- At the end of the installation, I receive the following screen providing the url where I need to point my browser in order to access the ProxMox VE web Interface
- When I connect to the url from another machine on my test network, the login page is displayed. The ProxMox Ve is accessible through the network and I can ping the virtual machine
- Now, you can try to create virtual machines (inside your virtual machine :-)) ) but as explained earlier you will only be able to create OpenVz Container.
With this post, we have seen that was possible to virtualize the ProxMox VE host server. This can be useful if you want to try the software and see some of the features without having a physical machine ready to be used. Don’t expect to have great performance. You can download some of the ProxMox VE appliance (OpenVz container) and start playing with the software. If you think the software might be worthy, the next step would be to install it on a physical machine and give it a try.
You can always have a look here to start your journey with installing and Configuring your ProxMox VE Infrastructure
That’s it for this post
Till next time
See ya (and euh Happy New Year !)