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.

1146 questions
6
votes
6 answers

How to find dom0 name from hosted domU

I'm actually testing RHEL 5.3 with Xen between two servers in order to have a disaster recovery solution. So I'm playing with moving my domU from one dom0 server to the other server. Unfortunatly when somebody else move the domU I don't have any…
svigan
  • 81
  • 1
  • 4
2
votes
1 answer

Identifying the physical machine running a Xen instance

Given access to separate two Xen instances running Linux, is there some way to identify if the two instances are running on the same physical machine?
knorv
  • 1,819
2
votes
1 answer

"soft lockup - CPU# 0 stuck for " after xen install on Ubuntu Server

I finally managed to install xen-hypervisor-amd64 on an Ubuntu 15.04 Server and I rebooted fine, but after a few minutes after a restart, the console starts outputting these messages soft lockup - CPU# 0 stuck for 22s! and rcu_sched self-detected…
2
votes
2 answers

Xen: 'this operation could not be performed' (VDI is in use) error?

How do I resolve the error: This operation could not be performed because a VDI is in use by some other operation I see this when trying to (re)start a stopped VM.
ethrbunny
  • 2,379
2
votes
3 answers

xen server 6.2: lost a VM when moving?

I have three servers in a HA group (Xen 6.2). I've been doing some firmware updates which require rebooting so I've been shuffling VMs around to minimize disruption. One of the VMs seems to have gotten unhappy when it was moved. When it was migrated…
ethrbunny
  • 2,379
2
votes
1 answer

xen hotplug can't add vif to eth0: operation not supported

I am new to xen and I am trying to get a domU running but I am having problems with it. I think my network card might not support bridging which is bizarre. This is the error I get when trying to create the domU [root@hyrba ~]# xm create…
John Tate
  • 199
2
votes
2 answers

Considering XenServer: mixing hardware configurations?

I'm having an internal debate over using XenServer and hoping for some info from 'those who are more informed'. Specifically: VMWare states that it's not a great idea to mix hardware of different configurations when building a VMotion / HA setup.…
ethrbunny
  • 2,379
2
votes
1 answer

How to route the public ip of xen guest outside of host system?

I have an xen kernel installed in centos 5. In that xen kernel, i have decide to create the guest os with public ip for amanda backup server . But i cannot able access the guest os using public ip. So,may i know how to route the public ip of guest…
Mughil
  • 1,949
2
votes
3 answers

Managing the Xen Cloud Platform

Could someone recommend a web-based tool for managing XCP? I have 6-7 x64 boxes that I would build into a small private cloud for a group of developers.
2
votes
1 answer

Help me understand how Xen vCPU/CPU works

Say I have a Dual-Core server, that's 4 cores w/ two physical processors. I read numerous articles that states the dom0 should get one physical core to itself. By core, does that mean a single CPU core or one of the 4 logical cores? Ideally I would…
sdot257
  • 3,069
2
votes
0 answers

xen VM boot logs - how to locate

Working with a VM that starts to boot and then promptly shuts down. Hoping to locate VM boot logs on Xen host but not sure where to look. Examining /var/log/* doesn't show anything obvious. Suggestions?
ethrbunny
  • 2,379
1
vote
1 answer

Restricting Xen dom0 to resuming a saved VM state

Is anyone aware of a way to restrict usage of dom0 (i.e., the xm command) to a certain subset of commands? In my case I'd like to prevent the dom0 user from doing anything other than resuming a saved domU. I'm guessing that since you need to be…
Soybean
  • 123
1
vote
2 answers

How to autostart xen guests after power failure

I have an Ubuntu server running xen (with xen-tools only) and when the server experiences a power failure I have to manually run xl create /etc/xen/MY_DOMU_GUEST.cfg to restart the vm. My config settings for restarting look like…
coolaj86
  • 981
1
vote
2 answers

Run Ubuntu 6.06 on 8.04 XEN 3.3

I am trying to run my old Ubuntu 6.06 on a newer 8.04 with backported XEN 3.3 I have tried a million different kernels. The closest I got was booting up to when getty should present a console, i.e. just kernel messages, then nothing on the XEN…
1
vote
1 answer

Xen DomU unresponsive due to memory shortage

I've recently encountered a very annoying effect: when a process on Xen DomU apparently consumes all available RAM/swap (that's my assumption; the root of the problem might lie elsewhere), the DomU locks up, becomes totally unresponsive, and the…
dpq
  • 416
1
2 3 4