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
1 answer

Network Bridge in dom0 can not ping domU's

I am using Debian wheezy with XEN 4.1. I have two network bridges xenbr0 and xenbr1. xenbr0 is linked to the real-eth0-nic so the domU's can talk to the outside world, which worked fine. xenbr1 was intended as an internal network bridge for…
Spocky
  • 41
  • 3
4
votes
3 answers

Machine check events logged

In /var/log/messages, this error occurred: Sep 19 13:18:15 wdc kernel: [2772302.630416] Machine check events logged Shortly there after, the entire server became unresponsive. This is in the log of the Dom0 for a Xen Server (running the latest…
GoldenNewby
  • 45
  • 1
  • 2
  • 13
4
votes
1 answer

How does a VM hosted on xen knows that it is in a virtualized environment

I have read that in para virtualization hosted virtual machines are aware that they are being virtualized, and this allows them to increase their performance. But, how does the hosted machine know they are virtualized as since we are not modifying…
Damodaran
  • 143
  • 8
4
votes
1 answer

ruby: invalid opcode

There's a fairly complex application than runs on two VMs (on Xen). Both VMs run CentOS 6.2 with the exact same packages and configuration for every application running (minus networking which is different). SELinux is disabled on both. On machine A…
adamo
  • 6,925
  • 3
  • 30
  • 58
4
votes
0 answers

Upgrading kernel on Debian server hosting Xen 3.2.1

I have a physical server running Debian 6 and Xen Hypervisor 3.2.1, and kernal -a says "2.6.26-1-xen-amd64". I have not updated for a long time, because when I run apt-get upgrade, one of the updates is linux-image-2.6-amd64. My understanding was…
4
votes
1 answer

Is TRIM passed through a LVM-based PV Xen domU to the underlying SSD

Scenario: -- Debian Xen dom0 -- SSD drive setup as LVM PV/single Volume Group. -- Debian pv_ops-based domU setup on LVM logical volume. -- File system inside domU is ext4 with discard option enabled. Question: Will the TRIM command generated inside…
4
votes
3 answers

How can I run Rackspace images locally?

As the title says, I regularly download my Rackspace images for backup of my VPS, however I'm wondering if it's possible to run them locally on KVM (for example) so I can run tests on my application without affection production.
edude05
  • 321
  • 2
  • 7
  • 14
4
votes
2 answers

Xen DomU on DRBD device: barrier errors

I'm testing setting up a Xen DomU with a DRBD storage for easy failover. Most of the time, immediatly after booting the DomU, I get an IO error: [ 3.153370] EXT3-fs (xvda2): using internal journal [ 3.277115] ip_tables: (C) 2000-2006 Netfilter…
Halfgaar
  • 8,084
  • 6
  • 45
  • 86
4
votes
1 answer

High load on Xen guests

We're facing a weird issue with a freshly installed Xen (4.2) system. The server is an Intel SR1690WB equipped with 4x1Tb HDD and with a RS2BL040 RAID card which configured to use RAID10. The problem is that any newly spawned paravirtualized guest…
fabrik
  • 527
  • 1
  • 7
  • 18
4
votes
1 answer

PCI DSS compliance on a virtualized server running Xen

I have a server running xen with HVM and would like to make one VM PCI compliant. I've read the PCI virtualization guide and it says that I need to make sure there is no information leakage between VM's. How can I make sure each OS is unable to…
devnill
  • 307
  • 1
  • 2
  • 19
4
votes
5 answers

Xen only sees 512MB of System RAM. Should be 8GB. (UEFI boot)

I am booting Xen 4.0 from Debian Squeeze, kernel 2.6.32-5-xen-amd64. "xm dmesg" on dom0 shows: Xen-e801 RAM map: 0000000000000000 - 0000000000091400 (usable) 0000000000100000 - 0000000020000000 (usable) System RAM: 511MB (523844kB) "xm info"…
lmz
  • 379
  • 2
  • 4
  • 17
4
votes
2 answers

How do I install xen hypervisor + linux onto a usb memory stick

I'm wanting to create a bootable Linux + Xen Hypervisor on a USB stick. I have it working how I want on a hard drive but for cloud deployment I'd like it to boot xen to a ram disk and mount the internal hard drive to /xen The idea being that I can…
hookenz
  • 14,472
  • 23
  • 88
  • 143
4
votes
2 answers

Advice on most fitting choice of virtualization platform: Xen | OpenVZ | KVM | other? What suits the purpose best?

I am aware of the multitude of virtualization threads here but they all seem to be oldish and i'd like to have a brand new one ready for 2012. I'm currently evaluating Xen, OpenVZ and KVM for virtualization purposes. I'm having trouble deciding what…
elmariachi
  • 43
  • 3
4
votes
2 answers

virtualized windows 2003 domain with CentOS 5.3 and poor connectivity

I have a test lab set up running a virtualized windows 2003 domain on a CentOS 5.3(xen) host and am experiencing connectivity problems with guests running on other hosts that are part of the same domain. Here's the setup: On Computer A I have…
4
votes
2 answers

Can I force the Linux kernel to use a specific vga adapter for output when booting?

Suppose I have a Linux Xen machine with multiple graphics adapters + an onboard graphics adaptor. Suppose they are all PCIe adapters. I am guessing that the Linux kernel decides to use whichever graphics adapter it finds first to use as it's VGA…
hookenz
  • 14,472
  • 23
  • 88
  • 143