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
22
votes
8 answers

How to extend a Linux PV partition online after virtual disk growth

VMware allows to extend the size of a virtual disk online - when the VM is running. The next expected steps for Linux system are: extend the partition: delete and create a larger one with fdisk extend the PV size with pvresize use free extents for…
Yves Martin
  • 879
  • 3
  • 8
  • 21
21
votes
8 answers

Hyper-V on Windows 7?

I'm running the new Windows 7 RC x64. I would like to set up a couple of virtual servers running on the same box as my desktop OS. I know that I can do this with some of the other virtualization pacakges (Windows Virtual PC, VirtualBox, etc.) but…
heavyd
  • 482
  • 1
  • 4
  • 15
21
votes
3 answers

Is it possible to have a 100% secure virtual private server?

I am curious if it is possible to have a VPS that has data on it that is not readable by the hosting provider, but is still usable on the VPS. Obviously there are some things that you could do to prevent them from reading anything... You could…
Mike
  • 425
  • 1
  • 4
  • 11
21
votes
6 answers

How to keep time on resumed KVM guest with libvirt?

On my host I am using libvirt and a KVM guest. When the host is shutting down, libvirt suspends the guest. When the host is starting up, libvirt resumes the guest. The problem is, if the guest is suspended and resumed after 24 hours for example,…
21
votes
6 answers

How to automatically start VM created by virt-manager?

I have created a virtual machine with virt-manager that runs on kvm/qemu. The machine works well when started through virt-manager. However, I would like to be able to start and stop the VM through a script in init.d, so that it comes up and down…
user13328
20
votes
2 answers

Is the Amazon EC2 instance id unique forever?

We're using amazon EC2 and we want to keep track of instaces. Is the Amazon EC2 instance-id unique forever? i.e. If a VM has an instance id of i-12345678 is there a guarantee that when that instance terminates, that instance id won't ever be used…
Amandasaurus
  • 31,471
  • 65
  • 192
  • 253
20
votes
9 answers

Is it possible/advisable to run VMware Server ESX/ESXi on a laptop?

The idea of having a small footprint hypervisor as the primary OS on a laptop or desktop where every "real" OS is a guest appeals to me. Now I realize this software is more typically used on blades and the other servers but can it be done on a…
cletus
  • 9,999
  • 9
  • 37
  • 40
20
votes
4 answers

Change amount of Ram and CPU cores in KVM

How can I Change amount of Ram and CPU cores for a virtual machine in KVM that is already created? Thanks
Zim3r
  • 1,454
  • 5
  • 24
  • 45
19
votes
3 answers

Is running permanently in a VMWare snapshot bad for performance?

I understand that the VMWare KB frowns upon long running snapshots mainly due to two things (In my opinion) Taking tons of snapshots can fill up the data store. Snapshots are simply delta files. Let's say you have a 50 Gig VMDK, near full, and…
19
votes
4 answers

Do I need to run a NTP server in every VM?

Couldn't the guests somehow inherit the system time of the host ? It seems kind of pointless to run the same daemon to get the same results on the same machine multiple times but I didn't find anything related to time when reading KVM or Xen…
zimbatm
  • 453
  • 1
  • 4
  • 7
19
votes
4 answers

Is Hyper-V a real hypervisor

According to Wikipedia, there are Hyper-V and Hyper-V server. Ok... Hyper-V server doesn't need an OS to run, so it is true Hypervisor. But what about Hyper-V inside windows2008, is it a "type 2" ?
Stef
  • 572
  • 1
  • 6
  • 16
19
votes
5 answers

So really, what is the overhead of virtualization and when should I be concerned?

I'm searching for good rules of thumb to understand when NOT to virtualize a machine. For example, I know that a fully CPU-bound process with near 100% utilization is probably not a good idea to virtualize, but is there any sense in running…
18
votes
1 answer

Virtualized MS-DOS computers can't communicate over IPX

I converted 2 MS-Dos 6.22 machines to virtual machines. Both computers have software that communicates over NETBEUI and IPX (I came to that conclusion after inspecting autoexec.bat - It loads IPX stack). I followed this Vmware Forums post and…
Dean
  • 1,009
  • 3
  • 10
  • 19
18
votes
9 answers

Hyper-V vs. ESXi vs. XenServer

Can anyone share their experiences (for example, this was great! This failed miserably!) with using the Hyper-V, ESXi, and XenServer virtualization platforms? Cost? Management? features? Handling load and backups and recovery? And also minimum…
Bart Silverstrim
  • 31,172
  • 9
  • 67
  • 87
18
votes
4 answers

Can KVM suspend or shutdown guests automatically on host shutdown?

We have a CentOS 5.5 KVM host, running guests with various versions of CentOS and possibly other OSes later. We'd like to be able to either (a) automatically send an ACPI shutdown to all guests or (b) suspend all guests to disk, on host shutdown. Is…
Andrew Clegg
  • 387
  • 1
  • 2
  • 9