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
2 answers

export XenServer snapshot as file via console

I have created a snapshot of a Citrix XenServer virtual machine using XenCenter, and now I would like to save this snapshot as an *.xva file, just as if I right-click on the snapshot icon in XenCenter and choose "Export to file...". However since…
nn4l
  • 1,336
  • 5
  • 23
  • 40
3
votes
1 answer

I can't mount a LVM snapshot on a XEN host

I'd like to backup my XEN VMs by copying-rsyncing a LVM snapshot. I'm trying to mount a snapshot that contains a XEN guest's virtual disk (ext4). Below are all the steps I follow. I can't mount the snapshot and it seems there's no partition table in…
Icu
  • 1,425
  • 3
  • 16
  • 25
3
votes
3 answers

How to connect to xencenter console remotely?

I need to administrate xenserver remotely. I have redirected 443 port in my router and now I can administrate XenServer. But I need to create VMs, how can I use XenCenter console to see VM desktop remotely. What port do I need to redirect?
Nikita Zernov
  • 131
  • 2
  • 2
  • 5
3
votes
2 answers

How to exit xen domu when using linux terminal

I usually use putty to connect on a xen domus. To exit domus after using "xm console", it's ctrl + 5 But how can I exit vm console on linux terminal?
Julio Fong
  • 201
  • 1
  • 3
  • 7
3
votes
1 answer

Straight-forward to Virtualise with XEN or KVM on IBM Server System x3650 M4 791562G?

I want to built a virtualised Server Environment using XEN or KVM. The virtual machines should be purely debian systems - so XEN or KVM should be a sane choice. Now while buying servers, I am confronted with the fact, that the vendors obviously only…
ChrisZZ
  • 737
  • 1
  • 8
  • 13
3
votes
2 answers

Xenserver 5.6 SR_BACKEND_FAILURE_47 no such volume group, but it is there

I've looked everywhere (Google, here, a bunch of other sites), and while I have found people with similar problems, I couldn't find a single one with a solution to this. Last night our xenserver 5.6 box corrupted the /var/xapi/state.db, and I…
Juan Carlos
  • 31
  • 1
  • 2
3
votes
2 answers

Dedicated ip's for xen guests

I'm having a hell of an issue getting networking working in Xen on Ubuntu Server. Our server has a few public IPs (/29) that are all added through eth0 aliases. E.g. eth0 - main ip eth0:0 - first free ip eth0:1 - first free ip eth0:2 - first free…
Jeff M
  • 31
  • 2
3
votes
2 answers

nf_conntrack complaints in dmesg

While investigating complains on bad HTTP server performance, I've discovered these lines in dmesg of my Xen XCP host that contains a guest OS with said server: [11458852.811070] net_ratelimit: 321 callbacks suppressed [11458852.811075]…
Alexander Gladysh
  • 2,423
  • 8
  • 31
  • 49
3
votes
3 answers

Xen alternative for VMware Infrastructure

Is there any Xen alternative for VMware Infrastructure? Any aggregation and control interfaces?
Martin K.
  • 750
  • 2
  • 10
  • 24
3
votes
0 answers

Xen and Turbo Boost

Running the Debian Squeeze default Xen, I am unable to get any of the CPU frequency scaling stuff going. As soon as I revert to the standard kernel I get it. Digging through the internet it seems that Xen got a few patches in 2010 my only guess is…
Sam Saffron
  • 1,979
  • 3
  • 18
  • 27
3
votes
4 answers

Using more recent kernel for Xen Dom0 in production

Does anyone have experience running Xen dom0 on a more recent kernel than the stock 2.6.18? What host distro are you running? What release of Xen (or hg/git changeset)? What set of patches are you using on kernel source? (Has anyone got the pvops…
thelsdj
  • 830
  • 1
  • 12
  • 25
3
votes
2 answers

Can any one clarify this on xen cloud platform/xen server

As per XCP documentation, Xen Cloud Platform host is a 64 bit x86 server-class machine devoted to hosting multiple VMs. on blog.citrix.com they are mentioning about dom0 as It should be noted that dom0 is a 32-bit process i am little bit…
Blue Gene
  • 635
  • 1
  • 5
  • 10
3
votes
2 answers

Can fragmented MySQL innodb tables cause I/O issues? "task hung for 120 seconds" crashes?

Large innodb databases with load spikes seem to be causing random crashes with "task hung for 120 seconds" in the console. There are no logs being written to the system during these crashes. The innodb tables are fairly large, 20+ gigs in…
Tom G
  • 43
  • 1
  • 5
3
votes
3 answers

Stale NFS handle

I have several xen guest OSs that get their root file system from NFS. I changed /etc/network/interfaces on some of them (on the nfs server) and then rebooted them. Now I get lots of 'Stale NFS handles' when booting them up. I've rebooted the guest…
Amandasaurus
  • 31,471
  • 65
  • 192
  • 253
3
votes
1 answer

xvd device support with Gentoo running in Xen HVM guest

I'm trying to install Gentoo into a Xen HVM guest. Everything went fine with the install up to the point where you do the grub-install. Apparently, grub does not know about block devices labeled "xvd" (see…
John P
  • 1,679
  • 6
  • 38
  • 59