Questions tagged [xen]

Xen is a hypervisor based virtualization. It supports x86, AMD64, IA64, ARM and other CPU types, and Linux, Windows, Solaris and *BSD guest operating systems.

The Xen (pronounced zen) hypervisor runs directly on the hardware and then starts a privileged virtualized system called "Dom0". You can regard that as xen-controller. From the Dom0 system you can create other virtualised systems called Domains that Xen literature calls DomU.

Xen works with paravirtualisation and full virtualisation (full virtualisation is only available on systems supporting CPU virtualisation extensions). Paravirtualisation requires an OS that is aware of it to work, but on the other hand provides almost direct access to critical parts of the hardware like memory and I/O, making paravirtualisation extremely fast. Linux and most BSDs have paravirtualised awareness and are widely used with Xen.

Full virtualisation is used by operating systems that are not paravirtualisation-aware like Microsoft Windows and require hardware support, specifically the virtualisation extensions from AMD and Intel (AMD-V or VT-x respectively). Also, full virtualisation has to emulate most of the access to hardware, having a performance penalty to this kind of virtualisation.

Xen started as a project at the University of Cambridge in 2003 as an open source project with an associated company selling support services (XenSource, Inc). Citrix acquired XenSource in 2007 and renamed the professional services XenServer, while the open source project moved to http://www.xen.org and continued its development under the guidance of the Xen Project Advisory Board formed by companies interested in Xen development. XenServer products were renamed Xen Cloud Platform (XCP) and open sourced by Citrix in 2009 and are available for download on the xen.org website.

1147 questions
3
votes
7 answers

Sharing static IPs between Virtual Maschines

Since now, I used the vhost feature of apache2 to bind multiple domains to one public and static ip. Now I'm setting up a XEN Host with 4 IPs, and several VMs, two of them are pure webservers. It's possible for these to 2 VMs to share one public…
Henrik P. Hessel
  • 400
  • 3
  • 18
3
votes
2 answers

Xen 4.1+ with local ZFS storage

I'm speccing out sandbox VM servers for developers at my company. The requirements for the dom0 hosts are: local, deduplicated ZFS storage (no separate storage servers), and Xen 4.1+ (4.2 is ideal). I checked out Oracle VM, but it only has Xen 4.0.…
Zac B
  • 841
  • 1
  • 15
  • 27
3
votes
2 answers

Hardening Virtual Machine

I have a CentOS based product I'm looking to distribute it as a virtual machine (VMWare, XEN and KVM) and I have been lately assessing the steps needed to protect the VM. The VM's data shouldn't be accessible to anyone other than authorized people…
Laoneo
  • 274
  • 1
  • 3
  • 13
3
votes
2 answers

Windows Server 2008 network speed slow, Xen 3.4.3 HVM ISO

I've setup a VM running Windows Server 2008 on a host node running Xen 3.4.3-5 and the following kernel: 2.6.18-308.1.1.el5xen #1 SMP Wed Mar 7 05:38:01 EST 2012 i686 i686 i386 GNU/Linux The network speed on the VM is very slow--using the online…
Elliot B.
  • 1,356
  • 2
  • 18
  • 28
3
votes
4 answers

XenServer: Editing clone configuration before boot

Upon cloning a base image, I need to reconfigure basic settings. Regenerating the ssh host key, changing static IP assignments, setting the host name, etc. Because of the network setup, DHCP is not an option. That more or less rules out SSHing in…
Jeff Ferland
  • 20,547
  • 2
  • 62
  • 85
3
votes
1 answer

xend doesn't bring up the vif interfaces

I'm trying working with Xen and I've tryed to build up a virtual machine in domU. I'm using the following configuration for the domU kernel = '/media/home_separata/domU_kernel/boot/vmlinuz-linux' ramdisk =…
3
votes
1 answer

Xen Bridge Over VirtualBox Bridge

Short version: Will a Xen bridge work over a VirtualBox bridge? If so, how does it work? Long version: I have Debian 6 (Squeeze) 64bit installed as a guest in VirtualBox, which is setup as a bridge connection using my local NIC in my laptop (not…
Mike
  • 295
  • 3
  • 9
3
votes
4 answers

Private Cloud: Debian and OSS vs vmware vSphere, which is best for corporate use?

I'm hoping someone can shed some light regarding the current state of virtualization on Debian. Since I like my information first-hand, i thought I'd ask here for some real-world use cases. I am currently gathering some data in order to redesign the…
D4rKr0W
  • 41
  • 3
3
votes
2 answers

Dedicated memory for Xen dom0?

How to assing the dedicated memory for the xen host system dom0 permamently and how to preventing dom0 memory ballooning ? also what is the minimum memory need for the xen host dom0 when it as already with 10 guest OX each with 512 MB?
Mughil
  • 1,929
  • 1
  • 19
  • 28
3
votes
6 answers

Can I automate XEN? And to what extent

I am wondering about a certain scenario. User on some machine runs a command. This unpacks XEN and boots up domain 0. Domain 0 boots up 3 other domains that are setup in this way. One is a "client" domain One is an apache / php server One is a…
Ólafur Waage
  • 676
  • 1
  • 7
  • 10
3
votes
1 answer

Why I get different network traffic values from dom0 and from domU?

I'm using Xen 4.0.1 with Linux 2.6.32-5-xen-amd64 (standard packages on a Debian Squeeze system). From Xen Networking: For each new domU, Xen creates a new pair of "connected virtual ethernet interfaces", with one end in domU and the other in dom0.…
mmoya
  • 284
  • 2
  • 8
3
votes
1 answer

Odd log entries and insane bandwidth usage

I have a CentOS cloud server I use for testing and noticed that in the past 30 days, bandwidth out has gone through the roof (16,000 GB to be precise) When I initially attempted to check on the server it was completely inaccessible (no response on…
3
votes
3 answers

Domain-0 high CPU load

My Xen HVM machine has 4 cores on 2.4 Ghz however top gives me a load of 2-3. There are running 20 VM's on it (most of them are idle). The HDD is also almost idle (200 KB/s write and 6 KB/s read). xentop gives me Domain-0 -----r 223766 121.0 …
Devator
  • 1,473
  • 4
  • 18
  • 37
3
votes
2 answers

Xen host and guest sharing same IP

Is it possible for both Xen host and Xen guest to share same IP (albeit with different ports)? We have a single public IP, and want to have both the Xen host (as host only, no other role) and the Xen guest, to use it. Thanks.
SyRenity
  • 3,179
  • 11
  • 57
  • 79
3
votes
3 answers

netconsole or serial logging in XenServer DomU

I have some problems with stability of Debian guests in my XenServer hosts. To debug this problem I wanted to use netconsole kernel module, unfortunately, because the Ethernet controller is emulated, it doesn't support polling and in effect…
Hubert Kario
  • 6,361
  • 6
  • 36
  • 65