Академический Документы
Профессиональный Документы
Культура Документы
joexx, photocase.com
Getting started with Xen virtualization
XENSATIONAL
The powerful and popular Xen virtualization system offers an easy solution for running Windows on Linux.
BY MARTIN LOSCHWITZ AND MARKUS FEILNER
T
he popular Xen virtualization ple configuration procedure takes just a The hypervisor binds the individual
system lets you install different few steps. Debian has recognized these virtual machines to the network and
operating systems on the same benefits, and Etch now has full support supports communications with the out-
hardware to leverage computational for Xen. side world. In the world of Xen, the host
power efficiently. Although Debian 4.0 includes Xen, system with the hypervisor is referred
In this article, we describe how to get version 3.0.3 is not exactly state of the to as Dom 0 (or Domain 0), and a guest
started with Xen in Debian Etch, and art. The tips and advice in this article system is known as Dom U (Domain U).
you will learn about starting the guest can’t be applied one-to-one to later ver- The only task that Dom 0 has is to
and host systems and even how to set up sions of Xen in many cases because the contain each active Dom U. When you
a Windows guest on a Linux host. Some configuration file layout, and other are planning a Debian Xen system, a
of the details might differ for other dis- things, have changed. fresh Debian install is a perfect starting
tros, but the steps are similar. point. Although theoretically, there is
Monitored by a Hypervisor nothing to stop you from using Dom 0
Etch with Xen 3.0.3 Xen introduces a hypervisor upstream of for normal purposes, such as hosting a
In the community, one software solution the kernel running directly on the hard- web server, the potential damage that
has practically become the virtualization ware (see Figure 1); the hypervisor uses an attacker could cause by hijacking
standard. Xen [1], by the University of the Xen Virtual Machine Monitor to ac- Dom 0 is a very good reason to avoid
Cambridge, has a number of points in its cess the hardware. The Xen hypervisor putting Dom 0 into production.
favor. Because it emulates a complete allocates resources to the individual vir- Any user with full access to Dom 0
computer in a style similar to VMware, tual machines. A guest operating system also has complete control over every ac-
users have an almost unrestricted choice only communicates with the hypervisor tive Dom U. For this reason, it is impor-
of guest operating systems. Many man- and is completely independent of the tant to outsource any services to a sepa-
agement tools are available and the sim- other guests. rate Dom U when using Xen and to start
06 (...) 12 vncviewer=1
07 xen-dom0:~# 13 sdl=0