The reason is that I’m experiencing backup problems so I need another solution to source services out.
Instead of running several services on the machine natively, I’m going to install virtual machines for each service to prevent a single point of failure. In this case I’m even able to assign maximum bandwidth or maximum CPU usage to my web server, so that a DDoS attack won’t screw my hardware up.
It’s also possible to save snapshots instead of losing the whole configuration.
You see that virtualization can be a benefit.
InstallationOn my server I decided installing a fresh evaluation copy of Windows Server 2008 out of TechNet and installing the Hyper-V service after OS installation.
On my virtual machine I’m going to install Ubuntu Server 12.04.2 LTS, because it’s really lightweight.
It uses approx. 140MB of RAM while running.
ProblemAfter the very basic installation (which should not be a serious problem) I realized, that my virtual machine stops recognizing any networking devices.
You may guess that a web server without a network device is quite useless, so I looked for a solution.
The problem is that you need to enable Hyper-V drivers on Linux to enable networking (in some cases)!
On Windows VMs you just need to install the Hyper-V built in driver package.
Don’t worry: This process is quite straight forward and easy.
SolutionStart your virtual machine, log in and get su.
Use your favorite text editor and edit /etc/initramfs-tools/modules and add the following lines to the end:
hv_vmbus hv_storvsc hv_blkvsc hv_netvscSave and quit.
Once you have made these changes run “update-initramfs –u” and reboot the VM.
After reboot type lsmod and ifconfig. If everything works you should see something like this:
Well done, enjoy your Ubuntu server!
(I’m not responsible for external links in this post)