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
4
votes
3 answers

How should I upgrade debian/xen machines from etch to lenny

I manage a server that currently runs Debian/Etch, and Xen 3.0. Each virtual machine is also running Debian/Etch. Lenny is the next release of Debian, and includes Xen 3.2. Unfortunately, I believe there is no automatic upgrade path (via…
John McAleely
  • 356
  • 5
  • 14
4
votes
4 answers

Citrix XenServer: how to add RAM to a guest VM without XenCenter?

Is it possible to add RAM to a guest VM in without using XenCenter, but from the host machine console or a remote machine?
Alexander Gladysh
  • 2,423
  • 8
  • 31
  • 49
4
votes
1 answer

How to expose virtual 10Gb ethernet port to Xen Domain

I would like to expose a virtual 10Gb ethernet interface into a Xen HVM domain. The base OS is Debian Squeeze, 2.6.32 kernel, Xen 4.0. Is there any way to make this happen without actually having a 10Gb ethernet interface on the bare metal? We…
Nick Bastin
  • 213
  • 2
  • 8
4
votes
3 answers

Is KVM stable enough for production use in 2011?

We are planning to virtualize the existing infrastructure by an open source virtualization solution. KVM and Xen are on the final list. Big cloud players are still using Xen, and we found that KVM is gaining popularity and adopted by quite a few VPS…
cooldfish
  • 43
  • 1
  • 3
4
votes
4 answers

DRBD on a disk with existing file system that takes all the place

I'm currently trying to simulate the environment via XEN. I have installed two debian systems with such FS layout: cltest1:/etc# df -h Filesystem Size Used Avail Use% Mounted on /dev/xvda2 6.0G 417M 5.2G 8% / tmpfs …
Karolis T.
  • 2,719
  • 7
  • 33
  • 45
4
votes
3 answers

Xen HVM guest has severe clock drift

I am seeing a very severe clock drift on my Xen HVM VPS, rented from a hosting provider, so I don't have access to the dom0 system. I continuously run ntpd, but the clock drifts by as much as 30 seconds in 5 minutes and NTP cannot keep up. Has…
ipartola
  • 141
  • 1
  • 3
4
votes
1 answer

Need to Migrate Xen DomU to VMWare ESXi - RHEL 5.3/ESXi 4.1

I've seen plenty of posts outlining the process of converting VMware Linux serves to RHEL Xen (not xenserver) but nothing much has helped me go the other way. I've tried a number of things including using mkinitrd (works great for LVM) but just…
Patrick R
  • 2,945
  • 1
  • 19
  • 27
4
votes
4 answers

Xen and Ubuntu?

How does one properly approach having Ubuntu servers on a Xen hypervisor? I don't have any experience with RAID or Xen other than from a theoretical level. Additional requirements: Use with mdadm Software RAID 5 (can be on separate disks) that…
wag2639
  • 2,145
  • 6
  • 24
  • 33
4
votes
3 answers

setting up Ubuntu 10.10 as paravirtualized guest in Xen on RHEL5 host - what kernel?

I've discovered the tool ubuntu-vm-builder, which I've installed and then invoked on an Ubuntu workstation as: sudo vmbuilder xen ubuntu --suite maverick --flavour virtual --arch amd64 --mem=512 --rootsize 8192 This workstation is not the intended…
kostmo
  • 141
  • 5
4
votes
2 answers

Convert Amazon AMI to local Xen machine

I have an AMI which was created from a base AMI on Amazon. I would like to bring a copy of this internally to run for development. I have downloaded the .manifest & part00-50 files (approx 550mb) from my S3 bucket. Unsure how to convert into my…
AliGibbs
  • 2,323
  • 21
  • 34
4
votes
6 answers

What do you recommend? OpenVZ or Xen DomU?

I’m looking for a new server at the moment and a fitting virtualization solution. On my recent server I’m using VMware server but don’t what this one anymore as it is very very slow. I have the opportunity to work on a cluster which is using Proxmox…
Ulf
  • 387
  • 1
  • 5
  • 18
4
votes
4 answers

The state of XEN vs KVM for inhouse virtual server farm like live farm

so we have a life server Farm, conventional stuff not virtualized. This is to stay that way for the time beeing. The servers we are talking about are: Loadbalancer, DB master, DB Slaves (2x), Webservers (2x), CMS server. All in all 7 servers per…
4
votes
5 answers

vmware server end of life, where to go now?

We have some virtual machines on vmware server 2.x running on 64 bit hardware and quite happy with it. As vmware server will no longer be offered we are thinking to migrate to ESXi, which seems is free. We will have to install the specialized…
user12096
  • 927
  • 6
  • 23
  • 39
4
votes
4 answers

Xen or KVM? Please help me decide and implement the one which is better

I have been doing research for implementing virtualization for a server running 3 guests - two linux based and one windows. After trying my hands on Xenserver, I am impressed with the architecture and wanted to use the opensource XEN, which is when…
JohnAdams
4
votes
0 answers

Finding mystery Linux memory usage - not caches or slab (or ballooning?)

I have a Xen VM running Debian Linux with a weirdly large amount of RAM used. What might be the culprit? I believe I've ruled out the usual suspects of disk caching, kernel slab usage, and memory ballooning. free -h shows: total …
asciiphil
  • 3,086
  • 3
  • 28
  • 53