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.

1142 questions
4
votes
3 answers

Which hypervisor to play nice with docker.io

I have been running several different virtualisation servers, (ESXi, XenServer, Proxmox/KVM) in the past. I am now in a position where I need to set up a new virtualisation environment that is supposed to be long running. I figured it might be a…
Stephan
  • 417
  • 1
  • 5
  • 13
4
votes
1 answer

Xen open source import and export vm

I am using free Xen 4.2.4-30.el6 on centos 6.5 create a vm using virt-install I want to backup and restore virtual machines, but all tutorials talking about citrix and xe command is there any way to import and export without citrix ?
Steve
  • 255
  • 2
  • 11
4
votes
1 answer

Ubuntu 14.04 VPS won't boot the latest kernel on XEN

I have a XEN VPS and it's been running Ubuntu for some years now. AUtomatic security upgrades are on and I've manually upgraded it continously and also done releas-upgrades whenever there's been a new release. All has been working great! But now,…
aztekk
  • 43
  • 1
  • 5
4
votes
1 answer

Whole block device named xvda1, xvda2 instead of xvda, xvdb

I am working on a VM that was set up for me in a public cloud. It's running under the Xen hypervisor in paravirtualized mode and has two virtual disks. So I expect the virtual disk block devices to be named xvda and xvdb. However, the way this…
Dan Moulding
  • 337
  • 2
  • 6
  • 11
4
votes
4 answers

Allocated Memory difference in xen guests with Linux 2.6.18 and 2.6.32

Can some one explain me why there is difference in available memory on Guests with same configuration: Hypervisor:xen 4.2 64 bit VM1: Centos 5.7 with 2.6.18-274.el5xen, Assigned memory from xen is exactly same as memory inside guest 524288k…
ananthan
  • 1,490
  • 1
  • 17
  • 27
4
votes
1 answer

Network filtering with libvirt + xen + bridge + nat?

How can I properly add basic network filters (clean-traffic or, at least, ip-spoofing prevention) to XEN (xend) guests managed by libvirt? Or, in particular, can I manually execute libvirt's nwfilters from a script (for given parameters)? I am using…
HoverHell
  • 391
  • 3
  • 11
4
votes
2 answers

Why is domU faster than dom0 on IO?

I have installed debian 7 on a physical machine. This is the configuration of the machine: 3 hard drives using RAID 5 Strip element size: 1M Read policy: Adaptive read ahead Write policy: Write Through /boot 200 MB ext2 / 15 GB ext3 SWAP 10GB LVM…
Paco
  • 91
  • 6
4
votes
3 answers

Easiest way to convert HVM DomU to PVM?

I've got a bunch of Xen 3.4 DomUs that are currently running as HVM because of our infrastructure (Kickstart which doesn't handle Xen PVM yet). Both DomU and Dom0 are RHEL5 machines. If I understand the documentation and configuration correctly, it…
4
votes
4 answers

Visualizing Xen Performance and Utilization

VMWare's vSphere console and Veeam's monitoring utilities do an admirable job of showing admins various statistics on CPU usage, memory usage, percent utilization, etc. of VM's and the hypervisor host. Is there a similar solution or series of…
Bart Silverstrim
  • 31,092
  • 9
  • 65
  • 87
4
votes
3 answers

Use SSHFS on XenServer 6.1

On Xen Server 6.1, to backup my VMs, I use a script based on the following tools: xe vm-list to build a list of the VMs to backup xe vm-snapshot to take a snapshot of the VMs xe template-param-set is-a-template=false ha-always-run=false to convert…
Icu
  • 1,405
  • 2
  • 15
  • 25
4
votes
3 answers

CentOS 6 Xen guest fails to boot after 'yum update'. Kernel?

I Seem to be having an issue with a Xen guest not booting after a yum update. DomU Configuration: #kernel = '/boot/solus-vmlinuz' #ramdisk = '/boot/solus-initrd.img' bootloader = '/usr/bin/pygrub' extra = '' memory = 128 hostname =…
Elijah Paul
  • 557
  • 1
  • 7
  • 19
4
votes
2 answers

Changing XEN VM configuration

What is the correct way to update a XEN VM configuration? In this case I want a specific domain to stop using /dev/emcpowerg and use /dev/emcpowerh in stead. I have ensured that the two devices have identical geometry and have copied the contents…
Johan
  • 427
  • 1
  • 4
  • 14
4
votes
1 answer

AppArmor - root: "You do not have enough privilege to read the profile set."

I'm trying to use AppArmor on a remote hosted Xen server with a custom built kernel. AppArmor appears to be running, but not correctly. For example if I run the following command as root: # aa-status apparmor module is loaded. You do not have…
neoCrimeLabs
  • 41
  • 1
  • 2
4
votes
2 answers

How do I make all Xen guests use their host clock value?

I've set up Xen server under Linux with several guests running, and all was well. After some time I've noticed the clock on the server drifted away, so I installed 'ntpd', and the clock was back to normal. However, my Xen guests still had the old…
dragonroot
  • 193
  • 5
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