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
56
votes
2 answers

Difference between Xen PV, Xen KVM and HVM?

I know that Xen is usually better than OpenVZ as the provider cannot oversell in Xen. However, what is the difference between Xen PV, Xen KVM and HVM (I was going through this provider's specs? Which one is better for what purposes and why?…
JP19
48
votes
10 answers

Linux on VMware - why use partitioning?

When installing Linux VMs in a virtualized environment (ESXi in my case), are there any compelling reasons to partition the disks (when using ext4) rather than just adding separate disks for each mount point? The only one I can see is that it makes…
savoche
  • 553
  • 1
  • 4
  • 7
47
votes
14 answers

VMware Linux Server -- how can you tell if you are a vm or real hardware?

An interesting question. I have logged into a Linux (most likely SuSE) host. Is there some way that I can tell programmatically that I am a VM host or not? Also assume that the vmtools are not installed.
mdpc
  • 11,856
  • 28
  • 53
  • 67
41
votes
7 answers

Replace VMware vSphere infrastructure with open source alternatives?

We are planning a slow migration from VMware (and third party apps) to open source alternatives (free would be great). Basically, we want to start with some little cluster lab, then migrate the production environment (35+ ESX, 1500 VMs) in the…
40
votes
9 answers

Is there a way to run virt-manager on Windows?

We've been using KVM for almost a year strictly on CentOS 5.x as the KVM host, with Fedora and Ubuntu workstations accessing the KVM host and its guests using virt-manager, virt-viewer, and ssh. Is anyone aware of a way to access the KVM host using…
slm
  • 7,615
  • 16
  • 56
  • 76
39
votes
3 answers

Virtual Machine memory usage not appearing in TaskManager

There's something about Windows memory management and it's relationship to TaskManager that I don't understand and I'm hoping someone can enlighten me. If I'm running a virtual machine (doesn't matter if it's Virtual PC 2007, Virtual Server 2005, or…
Scott Bussinger
  • 1,801
  • 4
  • 24
  • 27
37
votes
5 answers

Are VMware ESXi 5 patches cumulative?

This seems basic, but I'm confused about the patching strategy involved with manually updating standalone VMware ESXi hosts. The VMware vSphere blog attempts to explain this, but the actual process is still not clear to me. From the blog: Say…
ewwhite
  • 197,159
  • 92
  • 443
  • 809
35
votes
1 answer

what is the difference between /dev/vda and /dev/sda

I am preparing for a certification and have a locally installed CentOS7 (VirtualBox) and another instance in a cloud-based service. On the local system I have a /dev/sda and on the cloud-based i have a /dev/vda. Now I am wondering what this…
Mathias Begert
  • 453
  • 1
  • 4
  • 7
35
votes
9 answers

Virtualization for Linux (VMware vs VirtualBox vs KVM vs ...)?

I'm trying to decide on which of these to use. The ones I know about are: VMware (various flavours); VirtualBox; KVM. Now ideally I'd like the following features: Ideally to be able to boot a real partition rather than a file representing a…
cletus
  • 9,999
  • 9
  • 37
  • 40
33
votes
2 answers

Is KVM a type 1 or type 2 hypervisor?

Is KVM a type 1 or a type 2 hypervisor? I understand that type 1 hypervisors run on bare metal while type 2 hypervisors are applications running on top of an operating system (such as VMware Workstation). I also understand that the performance…
33
votes
12 answers

Is it possible to setup a virtual machine inside another virtual machine

I've been playing with virtual machines lately, and I wondered if I could run a virtual machine inside a virtual machine. Is this possible? Is it practical?
Tester101
  • 485
  • 2
  • 6
  • 9
32
votes
11 answers

When deploying a single server on new hardware, do you virtualize it or not?

There are a few questions that I've found on ServerFault that hint around this topic, and while it may be somewhat opinion-based, I think it can fall into that "good subjective" category based on the below: Constructive subjective questions: * tend…
TheCleaner
  • 32,627
  • 26
  • 132
  • 191
32
votes
1 answer

Vagrant set default share permissions

When running a vagrant instance the project folder is mounted on /vagrant automatically. However is mounted with the following permissions # ll -d /vagrant drwx------ 1 vagrant vagrant 612 Jun 13 14:41 /vagrant/ I need it to be mounted with (at…
Fabio
  • 1,299
  • 2
  • 13
  • 18
32
votes
8 answers

What is the difference between a cloud server a virtual server and a dedicated server?

What exactly is the difference between a VPS (Virtual Private Server), a Cloud Server, and a Dedicated Server? I'm having trouble finding a concise explanation that isn't littered with advertising.
smartcaveman
  • 685
  • 2
  • 8
  • 18
29
votes
9 answers

Consumer (or prosumer) SSD's vs. fast HDD in a server environment

What are the pro's and con's of consumer SSDs vs. fast 10-15k spinning drives in a server environment? We cannot use enterprise SSDs in our case as they are prohibitively expensive. Here's some notes about our particular use case: Hypervisor with…
David Budiac
  • 515
  • 1
  • 6
  • 11