Questions tagged [virtualization]

Virtualization is a group of software technologies that allow abstraction between layers of a system. This allows separation between the logical layers of the system, providing isolation, flexibility, and/or the ability to run more than one at a time. This differs from most traditional systems where the various layers are inherently tied.

Virtualization commonly refers to three distinct technologies: Hardware Virtualization, Software Virtualization, and User Experience Virtualization. (Most commonly the first, Hardware Virtualization)

Hardware (sometimes called Operating System virtualization) is the use of software to allow a piece of hardware to run multiple operating system images at the same time. Traditional servers have a 1:1 ratio (One operating system running on one piece of hardware) and virtualization allows 1:many, making efficient use of available hardware. With the use of the hypervisor many operating systems can be run on top of one piece of physical hardware.

There are three main types of hardware virtualization, hypervisor, paravirtualization, and emulation. The bare metal hypervisor, or type 1, itself runs directly on the computer hardware. Hypervisors are generally thought to be enterprise level solutions to virualization as they make the most efficient use of available hardware resources.

Paravirtualization, or type 2, installs on top of a pre-existing operating system. Type 2 solutions are not as efficient because resources are also going to the host operating system, therefore type 2s are possibly better for hobbyist or development. Paravirtualization also requires the guest operating systems to be aware of the virtualization system and be designed to work with it.

Emulation also runs atop an existing system like paravirtualization; unlike its more efficient siblings, every instruction issued by the guest operating system must be interpreted by the emulation system. Emulation is notably less efficient than the other two, however it can enable a guest operating system to run on a host processor that it completely different than it was intended for.

Application Virutalization allows applications, which normally require installation, to run on system where they not actually installed. The virtualization layer simulates the installed prerequisite components, allowing the application to run normally.

There are two main types of User Experience Virtualization: Presentation and Data Location. Presentation Virtualization is commonly implemented by running a program on one system and producing the GUI at another. This may be as simple as a VNC or Remote Desktop Connnection, or a more complicated Virtual Desktop Infrastructure. Data Location Virtualization allows users a consistent view of the logical location of data across multiple distinct systems. The primary advantage of these systems is allowing users to access data in a consistent manor regardless of the physical location of the user or data.

3610 questions
13
votes
3 answers

Is there danger to virtualizing a router?

I had read on a few forums about pfSense that said it was dangerous to virtualize pfSense. The reason that was stated was an attacker could use pfsense as a spring board for an attack on the hypervisor and then use that to gain access to the other…
AtomicPorkchop
  • 1,975
  • 8
  • 34
  • 55
13
votes
5 answers

Considerations when chosing AMD processors over Intel

I work for a company with a lot of legacy LAMP web-applications, where we are trying to refresh our hardware from ~250 physical servers to ~40 new servers w/virtualization. We have received two quotes from vendors - one is suggesting Intel…
Morgan Tocker
  • 208
  • 2
  • 12
13
votes
9 answers

When to move a virtualized server to physical?

Virtualization has some great benefits, but there are times when a virtualized server needs more performance and should be moved to physical. My question is, how do you tell when these times are? I'm looking for measurable data and metrics that show…
Alex Angas
  • 2,017
  • 2
  • 26
  • 37
13
votes
4 answers

How to mount virtual machine's LVM partition on KVM host?

If I trying to do following on KVM host: # kpartx -av /dev/VolGroup00/kvm101_img add map kvm101_img1 : 0 208782 linear /dev/VolGroup00/kvm101_img 63 add map kvm101_img2 : 0 125612235 linear /dev/VolGroup00/kvm101_img 208845 # mount…
Evolver
  • 626
  • 2
  • 6
  • 14
13
votes
3 answers

Snapshot/rollback for libvirt+KVM?

I've recently begun using KVM for my development/test environment on a Linux host system with 8G memory. Prior, I was using VMware Fusion for my virtual environment, but my Macbook only has 2G memory. I tried VMware Server and ESX on the host…
jtimberman
  • 7,587
  • 2
  • 34
  • 42
13
votes
4 answers

Backing up qcow2 kvm guests

I can't find any good info on backing up qcow2 kvm guests. I'm not really interested in the guests running state, only the file system. This question suggests using savevm but that creates a snapshot in place. I'd like to backup the filesystem…
12
votes
1 answer

What actually happens when I mark a disk as SSD in ESXi?

In VMWare ESXi / vSphere, you can mark a disk or LUN as "Flash", indicating that the disk is an SSD (or the LUN is SSD/flash storage backed) When you do, you get the following warning: Marking HDD disks as flash disks could deteriorate the…
Josh
  • 9,190
  • 28
  • 80
  • 128
12
votes
1 answer

KVM Host with 88 physical cores uses only 14 on 64 core Guest

I do have a server with 2 CPUs (22 Cores each plus HT). I created a KVM Guest with 64 allocated cores. When I run a compilation task the virtual machine shows all 64 cores at 100% (at moderate Disk I/O and memory usage) but on the physical machine…
12
votes
4 answers

What happens when a physical machine fails in a virtual environment?

I'm getting started with virtualization so bear with me. In virtual environments applications run in a hypervisor's layer. So a single physical machine could have many virtual machines on it running multiple applications. So far so good? So what…
12
votes
3 answers

What does ZeroVM virtualize?

I'm having a bit of trouble wrapping my head aroung ZeroVM. Let's say I want to run Wordpress. One option is to lease a hosted virtual server running VMWare, Virtualbox, Xen, CoreOS, or something similar. In that case, what is being virtualized is…
braveterry
  • 897
  • 2
  • 7
  • 13
12
votes
2 answers

Expose virtual machine (vagrant) to local Wifi

I've setup a local virtual machine (ubuntu 12.4) using Vagrant (www.vagrantup.com) and need to share its resources on my local wifi network. It is basically running a webserver which should be accessible by other machines on the local network. My…
Philipp
  • 161
  • 1
  • 1
  • 4
12
votes
2 answers

Any way to release focus on a KVM guest in virt-manager without having to click Ctrl_L + Alt_L?

Is there a way to move my mouse in and out of a KVM guest in virt-manager without having to click to gain focus of the window and release focus by pressing Ctrl_L+ Alt_L? BACKGROUND I typically connect from a Fedora 14 system using virt-manager to…
slm
  • 7,615
  • 16
  • 56
  • 76
12
votes
4 answers

Disk shrink does not work on ESXi guests

EHLO everyone! My first post on the StackOverflow network :) We're running some ESXi 5.0/vCenter infrastructure to host mainly Debian 6/amd64 guest systems with ext3 partitions and open-vm-tools compiled from source per debian bug 471784. Got an…
12
votes
6 answers

Convert directory to QEMU/KVM virtual disk image

I have a directory filled with data at /var/backups/disk1 that I want to convert into a virtual disk image which I'll then be able to boot using QEMU or KVM (the directory contains the file system for a virtual machine, copied out via rsync). While…
Chris
  • 121
  • 1
  • 1
  • 3
12
votes
5 answers

Running router as virtual machine, can it be realible?

Does anyone here run their routing through virtual machine, have virtual machine setup as main router/getaway etc ? If yes, how many clients are using this kind of setup ? For those who are wondering why I'm asking this. I got assignment for my…