Welcome. As virtualization is becoming ever more popular we have decided to dedicate a forum to this topic.
Although a comprehensive over view is not possible in this limited space, this sticky hopefully hopefully provide a starting point for those seeking information and/or support.
Last, while I would assume most are familiar with Qemu (including KVM, Virtulabox, and Xen) and VMWare, I would like to bring OpenVZ and VServer to your attention.
How-to Forge, Virtualization section can be a good source of information. The Ubutu wiki will have Ubuntu specific information.
Contents
- Qemu
- KVM
- Virtualbox
- Xen
- VMWare (server)
- OpenVZ
- Virtuozzo
- VServer
- General tips
Appendix
- Run Ubuntu / LInux on a Window host
If you have not seen the I,XEN page ...
I,XEN : An OpenSkills guide to Xen installation and use on Suse 9.3
OpenVZ vx. VServer
Qemu
Qemu code is used by KVM, Virtualbox, and Xen.QEMU is a generic and open source machine emulator and virtualizer.
When used as a machine emulator, QEMU can run OSes and programs made for one machine (e.g. an ARM board) on a different machine (e.g. your own PC). By using dynamic translation, it achieves very good performances.
When used as a virtualizer, QEMU achieves near native performances by executing the guest code directly on the host CPU. A host driver called the QEMU accelerator (also known as KQEMU) is needed in this case. The virtualizer mode requires that both the host and guest machine use x86 compatible processors.
Home Page
How-tos
- Ubuntu wiki ~ WindowsXPUnderQemuHowTo
- Ubuntu tutorials ~ Setting up QEMU / KQEMU on Ubuntu 7.04 “Feisty”
GUI front ends for qemu (Click on links ot go to home pages)
Qemu forums
- Q is a Mac OS X port of QEMU with a nice GUI.
- QEMU Manager, a GUI for the Windows port of QEMU.
- QEMU Launcher, a GTK front end for QEMU on Linux.
- QEMoon, a QEMU gui frontend for Linux and Windows in Java using the Eclipse framework.
- qemudo, QEMU Web Interface.
- QtEmu, a graphical user interface for QEMU written in Qt4 for Linux and Windows.
Gutsy (guest) bug fix : http://ubuntu-tutorials.com/2007/07/...-qemu-bug-fix/
KVM (Kernel Virtual Machine)
Home pageKVM (for Kernel-based Virtual Machine) is a full virtualization solution for Linux on x86 hardware containing virtualization extensions (Intel VT or AMD-V). It consists of a loadable kernel module, kvm.ko, that provides the core virtualization infrastructure and a processor specific module, kvm-intel.ko or kvm-amd.ko. KVM also requires a modified QEMU although work is underway to get the required changes upstream.
Using KVM, one can run multiple virtual machines running unmodified Linux or Windows images. Each virtual machine has private virtualized hardware: a network card, disk, graphics adapter, etc.
The kernel component of KVM is included in mainline Linux, as of 2.6.20.
KVM is open source software.
How-to
Virtualbox
Home pageInnotek VirtualBox is a family of powerful x86 virtualization products for enterprise as well as home use. Not only is VirtualBox an extremely feature rich, high performance product for enterprise customers, it is also the only professional solution that is freely available as Open Source Software under the terms of the GNU General Public License (GPL). See "About VirtualBox" for an introduction; see "innotek" for more about our company.
Presently, VirtualBox runs on Windows, Linux and Macintosh hosts and supports a large number of guest operating systems including but not limited to Windows (NT 4.0, 2000, XP, Server 2003, Vista), DOS/Windows 3.x, Linux (2.4 and 2.6), and OpenBSD.
VirtualBox is being actively developed with frequent releases and has an ever growing list of features, supported guest operating systems and platforms it runs on. VirtualBox is a community effort backed by a dedicated company: everyone is encouraged to contribute while innotek ensures the product always meets professional quality criteria.
How to
Virtualbox Users Manuel (PDF) See the "User manual"
Virtualbox Forums
Virtualbox on a live CD: MCNLive VirtualCity. Based on Mandriva, KDE desktop, Virtualbox Open source edition.
MCN Live Home Page
Xen
The Xen Home page includes an "overview" of virtualization on a series nicely formatted pages.The XenSource v4 Product Family enables businesses to deploy high-performance Windows and Linux virtual machines rapidly and easily, and to manage them and their related storage and networking resources from a single easy-to-use management console.
The family includes three virtualization products that are fully compatible, with additional capacity and features enabled by license key. The products include:
- XenExpress™: a free starter package for bringing virtualization to every server
- XenServer™: high-performance rich-featured server virtualization with multi-server management, with capacity for most business-critical workloads
- XenEnterprise™: a powerful platform managing virtualization as a flexible aggregated pool of compute and storage re sources, for dynamic managed virtualization environments for the enterprise.
The foundation of the XenSource v4 Family is the open source Xen™ hypervisor, an open, proven and fully supported engine for server virtualization.
Open source Home page
Xen is available in the Ubuntu repositories, and there is a metapackage available as well : ubuntu-xen-server
How-to
- Xen Ubuntu wiki
- Howto Forge : The Perfect Xen Setup For Debian And Ubuntu
- Howto forge : Installing Xen On An Ubuntu Feisty Fawn Server From The Ubuntu Repositories
- Howto Forge : Managing Xen With Xen-Tools, Xen-Shell, And Argo
- Howto Forge : Xen With Graphical User Interface On A Fedora 7 Desktop
Live CD: The Xen project no longer maintains a live CD. There are tow independent projects, Xenoppix which was renamed VMKnopix. Current VMKNOPPIX includes Xen 3.1.0 for x86 and x86_64.
Wiki: Xen wiki
Forums: The Xen project maintains forums for commercial customers. Support of open source Xen is available via Xen mailing lists. Last, there is a Nabble Xen forum.
VMWare (server)
While not Open Source, VMWare has made contributions to the open source community and VMWare server is freely available, although you need to register with VMWare to obtain a serial number.Optimize and manage your IT infrastructure, from the desktop to the data center, by virtualizing your computing, storage and networking systems with VMware software. VMware products provide enterprise-class virtual machines that increase server and other resource utilization, improve performance, increase security and minimize system downtime, reducing the cost and complexity of delivering enterprise services. By leveraging your existing technology, VMware enables the roll out of new applications with less risk and lower platform costs.
Home page
VMWare : Overview of Virtualization
How-to
- Ubuntu wiki ~ VMWare Server
- Ubuntu wiki ~ How to install VMWare tools
- Howto Forge : VMware Server on Feisty (7.04)
- Igor website ~ VMWare on Gutsy (7.10)
VMWare Communities (forums)
OpenVZ
Home pageOpenVZ is an operating system-level virtualization technology based on the Linux kernel and operating system. OpenVZ allows a physical server to run multiple isolated operating system instances, known as Virtual Private Servers (VPS) or Virtual Environments (VE).
As compared to virtual machines such as VMware and paravirtualization technologies like Xen, OpenVZ is limited in that it requires both the host and guest OS to be Linux (although Linux distributions can be different in different VEs). However, OpenVZ claims a performance advantage; according to its website, there is only a 1-3% performance penalty for OpenVZ as compared to using a standalone server[1]. An independent performance evaluation[2] confirms this.
OpenVZ is a basis of Virtuozzo, a proprietary software product provided by SWsoft, Inc. OpenVZ is licensed under the GPL version 2.
The OpenVZ is divided into a custom kernel and user-level tools.
Interview with OpenVZ Project Manager Kir Kolyshkin
How-to * The preferred base seems to be Centos (you can install on Fedora or Ubuntu/Debian, but you may need to use an older kernel).
- How to : OpenVZ Ubuntu Host
- openvz on Debian 4.0
- OpenVZ On Debian Etch For Webservers * This is a very nice guide.
- Howto Forge : The Perfect Setup - OpenVZ with CentOS 4.4
- Ubuntu forums ~ HOWTO: install openvz
- OpenVZ wiki, Ubuntu guest
- Linux.com :: A guide to running OpenVZ
Screencasts
You can download a VM from OpenVZ:
Or Make your own * Make a template cache first.
OpenVZ wiki
OpenVZ forums
Home page Openvz Live CD
Download page, Knoppix or Centos base
Screen shot: (Knoppix live cd, Booting)
Virtuozzo
* Virtuozzo is built on OpenVZ
Home pageSWsoft Virtuozzo is a patented OS virtualization solution. Virtuozzo creates isolated virtual environments (VE) or containers on a single physical server and OS instance. Compared to other virtualization technologies, Virtuozzo offers the highest levels of density, performance and manageability.
- Intelligent Partitioning - Division of a server into as many as hundreds of VEs with full server functionality.
- Complete Isolation - VEs are secure and have full functional, fault and performance isolation.
- Dynamic Resource Allocation - CPU, memory, network, disk and I/O can be changed without re-booting.
- Live Migration - Business continuity capabilities including live migration ensure data is available and recoverable.
- Mass Management - Suite of tools and templates for automated, multi-VE and multi-server administration.
Linux.com :: Review: Virtuozzo for Linux 3.0There is a trial version but this seems to be commercial software.Summary
Any business or organization that's looking at virtualization should put Virtuozzo at the top of the list. It's a really powerful solution that's relatively simple to administer and use.
Virtuozzo is not the same type of solution as VMware Server or ESX. Since Virtuozzo approaches virtualization differently, you don't have the same operating system flexibility that you'd have with VMware Server -- want to run FreeBSD, Linux, and Windows on the same machines? Then Virtuozzo isn't the offering for your organization. Want to use a virtualization solution that helps partition servers into multiple Linux VPSes, and makes things much easier to manage? Then I'd recommend checking out Virtuozzo when you evaluate solutions.
If you're an "open source at all costs" type of person, take a look at SWsoft's OpenVZ instead. OpenVZ has a subset of the features included with Virtuozzo -- you can still run multiple guests on a single host, and it offers much of the same functionality in terms of QoS features, but it lacks the GUI tools and utilities that make it really easy to manage Virtuozzo.
VServer
From the Ubutu wiki :
Home pageThe Linux VServer Project provides multiple Linux environments running inside a single Linux kernel.
You can think of it as a bit like running a new system inside a chroot, but with a different host name and IP address, a de-fanged root user, and configurable resource management. This is a similar feature to jails on FreeBSD and containers on Solaris 10+.
VServers are a different approach to the popular XEN Hypervisor; with XEN you end up with a kernel for each virtual server; VServers do not. So, with VServer you have less (virtually no) overhead, on the other hand you also have fewer features - it is currently impossible to have a VServer with a different time set to the host system, for instance. However it is possible to run a different time zone, as that is a purely user-space feature. The design of UNIX in general mean that for the vast majority of applications, this virtualisation technique is perfectly adequate.
Note that Xen and VServer are orthogonal approaches - that is, it is perfectly possible and sometimes even sensible to run Xen virtual machines on a Linux system, then Linux VServers within those Xen machines.
VServer FAQ
How-to
- Ubuntu wiki ~ VServer
- Vserver wiki
- Linux-VServer ~ Installation walk through and performance tweaks
- Howto Forge : Linux-Vserver on Debian Testing (Etch), the easy way
- Howto Forge : Linux-Vserver on Debian Sarge
General Tips
- SeamlessVirtualization
- Portable machines Qemu is available across platforms and itis possible to install a machine onto a flash drive thus giving access to a portable machine. There are several options. For example you can runn a light version on Linux on Qemu within Linux/OSX/Windows (I suggest DSL or Puppy)
How To: Run A Portable Puppy Linux Install On Any Computer
http://www.erikveen.dds.nl/qemupuppy/]QEMU-Puppy : A Personal Portable Computer
Simplepup is 81 Mb an comes with XFCE : Wimplepup-0.3.1.iso
You can use larger distros : See http://www.pendrivelinux.com/ for additional information and how-to's.
for example :
- Gutsy (Ubuntu 7.10) on a flash drive * See the link below to add qemu
- Run Ubuntu within windows *Can be adapted to Linux
- Booting your windows partition: Currently this is, IMO, at best in Beta testing. This link may help : http://www.advicesource.org/ubuntu/R...re_player.html
Windows Host
Options:
- Qemu
- VirtualBox
- VMWare
- Colinux
- Cygwin
Qemu
Qemu runs in Windows and a very easy introduction is DSL. The "Embeded" version includes qemu.
Run (Damn Small) Linux on Windows
There are graphical launchers for qemu as well :
Qemu Manager
Virtual Box
Virtual Box runs on Windows and may be easier to use.
aysiu maintains a nice how-to run Ubuntu in Virtual Box (on Windows) Here (psychocats)
VMWare
VMWare is a mature product and there are a number of options.
Here is a tutorial to install VMWare server + an Ubuntu guest.
Colinux
Colinux allows you to run Linux within Windows. Linux will run at near native speed.
How to Colinux
Cygwin
Cygwin is a Unix like environment for windows. It includes a X server (yes, you can ssh -X to a windows box with Cygwin)
How to install Cygwin
Bookmarks