Top 10 Linux Virtualization Software

Posted on in Categories Linux, Linux desktop, Linux distribution, Linux Scalability, Linux Virtualization, Networking, RedHat/Fedora Linux, Security, Solaris, Storage, Ubuntu Linux, UNIX, vmware, Windows server, xen last updated December 31, 2008

Virtualization is the latest buzz word. You may wonder computers are getting cheaper every day, why should I care and why should I use virtualization? Virtualization is a broad term that refers to the abstraction of computer resources such as:

  1. Platform Virtualization
  2. Resource Virtualization
  3. Storage Virtualization
  4. Network Virtualization
  5. Desktop Virtualization

This article describes why you need virtualization and list commonly used FOSS and proprietary Linux virtualization software.

Why should I use virtualization?

  • Consolidation – It means combining multiple software workloads on one computer system. You can run various virtual machines in order to save money and power (electricity).
  • Testing – You can test various configuration. You can create less resource hungry and low priority virtual machines (VM). Often, I test new Linux distro inside VM. This is also good for students who wish to learn new operating systems and programming languages / database without making any changes to working environment. At my work place I give developers virtual test machines for testing and debugging their software.
  • Security and Isolation – If mail server or any other app gets cracked, only that VM will be under control of the attacker. Also, isolation means misbehaving apps (e.g. memory leaks) cannot bring down whole server.

Open Source Linux Virtualization Software

  1. OpenVZ is an operating system-level virtualization technology based on the Linux kernel and operating system.
  2. Xen is a virtual machine monitor for 32 / 64 bit Intel / AMD (IA 64) and PowerPC 970 architectures. It allows several guest operating systems to be executed on the same computer hardware concurrently. XEN is included with most popular Linux distributions such as Debian, Ubuntu, CentOS, RHEL, Fedora and many others.
  3. Kernel-based Virtual Machine (KVM) is a Linux kernel virtualization infrastructure. KVM currently supports native virtualization using Intel VT or AMD-V. A wide variety of guest operating systems work with KVM, including many flavours of Linux, BSD, Solaris, and Windows etc. KVM is included with Debian, OpenSuse and other Linux distributions.
  4. Linux-VServer is a virtual private server implementation done by adding operating system-level virtualization capabilities to the Linux kernel.
  5. VirtualBox is an x86 virtualization software package, developed by Sun Microsystems as part of its Sun xVM virtualization platform. Supported host operating systems include Linux, Mac OS X, OS/2 Warp, Windows XP or Vista, and Solaris, while supported guest operating systems include FreeBSD, Linux, OpenBSD, OS/2 Warp, Windows and Solaris.
  6. Bochs is a portable x86 and AMD64 PC emulator and debugger. Many guest operating systems can be run using the emulator including DOS, several versions of Microsoft Windows, BSDs, Linux, AmigaOS, Rhapsody and MorphOS. Bochs can run on many host operating systems, like Windows, Windows Mobile, Linux and Mac OS X.
  7. User Mode Linux (UML) was the first virtualization technology for Linux. User-mode Linux is generally considered to have lower performance than some competing technologies, such as Xen and OpenVZ. Future work in adding support for x86 virtualization to UML may reduce this disadvantage.

Proprietary Linux Virtualization Software

  1. VMware ESX Server and VMWare Server – VMware Server (also known as GSX Server) is an entry-level server virtualization software. VMware ESX Server is an enterprise-level virtualization product providing data center virtualization. It can run various guest operating systems such as FreeBSD, Linux, Solaris, Windows and others.
  2. Commercial implementations of XEN available with various features and support.
    • Citrix XenServer : XenServer is based on the open source Xen hypervisor, an exceptionally lean technology that delivers low overhead and near-native performance.
    • Oracle VM : Oracle VM is based on the open-source Xen hypervisor technology, supports both Windows and Linux guests and includes an integrated Web browser based management console. Oracle VM features fully tested and certified Oracle Applications stack in an enterprise virtualization environment.
    • Sun xVM : The xVM Server uses a bare-metal hypervisor based on the open source Xen under a Solaris environment on x86-64 systems. On SPARC systems, xVM is based on Sun’s Logical Domains and Solaris. Sun plans to support Microsoft Windows (on x86-64 systems only), Linux, and Solaris as guest operating systems.
  3. Parallels Virtuozzo Containers – It is an operating system-level virtualization product designed for large-scale homegenous server environments and data centers. Parallels Virtuozzo Containers is compatible with x86, x86-64 and IA-64 platforms. You can run various Linux distributions inside Parallels Virtuozzo Containers.

Personally, I’ve used VMware ESX / Server, XEN, OpenVZ and VirtualBox.

Posted by: Vivek Gite

The author is the creator of nixCraft and a seasoned sysadmin and a trainer for the Linux operating system/Unix shell scripting. He has worked with global clients and in various industries, including IT, education, defense and space research, and the nonprofit sector. Follow him on Twitter, Facebook, Google+.

30 comment

  1. I use VMWare EXS “trial ver”…. after it expire, I think I will use VMWare EXSi (that one is free).
    I want to use it to host 5 or 6 guests only, not for testing, but operate and run multiple services (like apache, openvpn, firewall…etc)
    But,
    is this a right choice??? I dont know!!! that the only one I tried….. can you plz advice what is the best???

  2. Can you tell me more about your requirements and features you would like to have for VM such as backup, vmotion, number of servers, storage etc?

    If you have just one server and no other enterprise grade stuff such as SAN, then EXSi should be fine.

  3. I have been running VM Server 1.0.8 on a Ubuntu Server Host for a couple of months. I have been able run several different OS’s as guest successfully, including a virtual Ubuntu server that handles my apache and postfix. To say I am a novice with IT would be kind.

  4. Couple of notes:

    Too bad you did not mention Proxmox VE (Link). Rather unique in that it supports both OpenVZ containers and KVM virtualization. Nearly all management is via a web front end. Out of the download it also supports clustering and movement of VMs within the cluster. I have had several installations running for well over a year and not a peep of trouble.

    Sudanking,

    I actually do what you want (apaches, vpn, etc on different guests) using VirtualBox. I run a small script to set up the TAP/TUN networking then run all the guests with host mode networking. It works quite well. Running several instances of Ubuntu, Red Hat, etc in this manner eats up resources faster than doing so with something like OpenVZ containers however.

    I mitigate that by running something like DSL or Slitaz in memory as a guest then save the instance state. I do not have to set up a virtual drive (VDI) in VBox though I run the risk of losing state if I forget to save it properly. So for about 256mb of memory per instance I can run Apache, VPN, etc and do all the testing I need. Its a great workaround, setup/teardown is very fast and the whole affair is no cost. I run the host and upto 4 guests in this manner in under 2Gb memory on a AMD 64×2 dual core box.

  5. I like VMware, but I am having some problems with the web management interface from time to time in VMware server 2.0. For some reason I have been having issues connecting to my VMs from the web interface, I get errors and I cannot seem to find the reason behind it. However I can VNC and ssh to the bridged interfaces, but it can be hassle a to get to the back end machines that are connected to my NAT and host networks. OpenVZ is kool, but it can be a pain to set up, but once set up, it is fantastic. Still needs work on making the administration a little easier, but I have had good success with it.

  6. i have only using virtual box. last release i guess is make me more comfortable allowed ping from nat guest and host interface configuration make easy. Have a try hope you will enjoy…

  7. I’m searching for PowerPC virtualization software, to be able to test Linux builds inside another Linux or Mac OS X. But it looks like good PPC virtualization has not yet made by anyone (mac-on-linux died, mac-on-mac is still alpha).

  8. Hi Vivek
    Now days RHEV (Red Hat Enterprise Virtulization) I am hearing. What about your idea about it do you think it will compete with existence enterprise virtulization products such as Citrix Xen and VMware ESX. Do you think this will attract RHCE engineers to choose this product for their career.

    Regards
    Charanjit Singh

  9. Great ideas and would like to add a spanner into the works.

    Has anyone tried install a single instance of KVM or Open VZ and then install multiple ESXi servers as guests on that server?
    Why you might ask? One piece of hardware running multiple ESXi hosts, local storage is quicker than NFS or iscsi and you redundancy of the virtual machines!

    Any takers?

    J

  10. The information about Bochs is not quite correct. It only runs X86 guest operating systems which excludes MorphOS and AmigaOS4 which are PPC (won’t do older AmigaOS either which were 680x based). There are Bochs ports are available for these theoretically allowing someone (with PowerPC hardware) to run X86 guest software such as Windows XP etc.

    As for PowerPC emulators the main one that I know of is PearPC which should emulate OSX (PPC Version), Darwin and LinuxPPC.

  11. Hi, till now I don’t know about virtualization. But after reading, I have some doubts.
    Suppose I am running windows XP. I want to run red hat linux 5 also. I think there are two ways of running it. With virtualization and without virtualization. Without virtualization, I will just have to install Red hat linux 5 on another diskdrive. But I can’t run RHEL5 and XP concurrently, like I can do in case of virtualization.In virtualisaiton, I will have to install a virtual machine( i have heard of Microsoft virtual server) on windows. After installing the virtual machine software, how do I install Red hat linux 5. This is exactly my doubt. Thanks in advance.

  12. hello vivek
    I have a entry level IBM server and we are going to make virtual server. so i would know that which is preferable to virtual technology use. i mean to say Linux Based{KVM} or VMware?

  13. Hello,

    I wish to build a home server for VPN, NAS, private Cloud – these can all run on Linux,

    But i also need a windows VM for trying the Blackberry BES 12 (see if i like it – maybe keep it)

    All will be for private use…

    I have already established that one VM will be pfsense – security, management and VPN.

    Is there a possibility to implement a cluster solution: I.e.: one primary sever + one or 2 slaves in case resources are lacking and if i decide this is working and bring the whole family on board – 10 smartphones and 3-4 Pc.

    I am on a very restricted budget and would wish to use 2 dual core duo intel machines for this and scale up in the future – as i will aquire more knowledge and after making final decisions.

    I currently am using linux mint on my server and it freezes unexpectedly so i need to find a better solution – i might try ubuntu but since mint is based on ubuntu my problem might not go away…
    could you point me into the right direction?

    Thnak you!

  14. The list does not mention IBM PowerVM virtualization.
    While not available for most individuals because it only runs on IBM Power hardware, it is probably the most reliable virtualization solution for Linux, AIX, and IBM i operating systems.

Leave a Comment