Questions tagged [xen]

Xen is a virtualization technology for IA-32, x86-64 and ARM architectures.

Xen is an Open Source "type-1" hypervisor that provides high-performance virtualization of IA-32, x86-64 and ARM architectures.

The homepage for the project is: http://www.xenproject.org/

One of the Xen project goals is to take advantage of new developments in system architectures to demonstrate their advantages and serve as the reference hypervisor of choice.

Development activity takes place on the xen-devel@xen.org public mailing list, and questions from users about deploying Xen are served by the xen-users@xen.org public mailing list.

Xen originated from the Cambridge University Computer Laboratory and was first described in the research paper "Xen and the Art of Virtualization" at SOSP in 2003. This introduced "paravirtualization" as the concept of modifying the kernel of the guest operating system to be aware of the hypervisor, and so change its behaviour to optimize performance, whilst still allowing guest applications to run unmodified.

Just as Linux distributions provide an environment and packaged version of the Linux kernel, similarly Xen is packaged and made available commerically by multiple vendors, including Citrix, Oracle, SuSE (or their current owner), and RedHat.

Documentation

433 questions
4
votes
3 answers

Logging xm console output in xen?

Is there a way I can log the output of xm console in to some file? Can I set something in the domain configuration file which automatically does this for me when I issue xm create? I tried: xm console | tee domU-console.log ... , but that does not…
Epitaph
  • 3,128
  • 10
  • 34
  • 43
4
votes
7 answers

How do I detect Xen in a Python script?

I need to determine when my Python script is running in a Xen virtual machine. The VM will be running Linux. I can't find anything obvious in the platform module. The closest I can get is the appearance of 'xen' in platform.platform() >>>…
Martin Del Vecchio
  • 3,558
  • 2
  • 27
  • 36
4
votes
1 answer

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…
Christoph Strasen
  • 2,682
  • 1
  • 18
  • 16
4
votes
1 answer

Python daemon to monitor GPIO pins using pyxs Xenstore client

I'm using the pyxs Python Xenstore client module to write an Upstart daemon that monitors a bunch of output pins on a GPIO controller on a box. The basic structure of the daemon, after startup, is to export the relevant pins, add the corresponding…
ramius
  • 211
  • 2
  • 8
4
votes
1 answer

Xen 4.4: "/usr/lib/xen-4.4/bin/qemu-dm" is not executable

I have a Debian server on which runs Xen 4.4. I want to crete a new Windows 7 virtual machine and install it from ISO image. This is the config file which I use for this: kernel = "/usr/lib/xen-4.4/boot/hvmloader" builder = 'hvm' name =…
kusha
  • 151
  • 1
  • 4
  • 6
4
votes
1 answer

Libvirt on Xenserver 6.5

I am trying to install Libvirt with Xen driver on the Opensource Xenserver 6.5. I found that the XenAPI driver lacks some of the APIs like "virConnectNumOfStoragePools" which I need for my work. Hence, I will need to use the libxl or xenlight driver…
ZephyrPLUSPLUS
  • 2,550
  • 2
  • 18
  • 13
4
votes
2 answers

How do I find out how many CPUs (vcpus) my XEN system has?

If I start top or look into /proc/cpuinfo, I see only two CPUs. If I view the values displayed for my system with virt-manager, that tool shows me 32 vcpus (which is the value I think is correct). I failed (yet) to find out on a script-level on the…
Alfe
  • 56,346
  • 20
  • 107
  • 159
4
votes
4 answers

Problem executing script using Python and subprocces.call yet works in Bash

For the first time, I am asking a little bit of help over here as I am more of a ServerFault person. I am doing some scripting in Python and I've been loving the language so far yet I have this little problem which is keeping my script from…
4
votes
1 answer

Detect when application is running in a VM environment

Looking for ideas on how to detect when our Windows application is running in one of the following VM environments. Some starter ideas for detection are in parentheses. There may be (much) better detection techniques - the starter ideas I've come up…
Malcolm
  • 5,125
  • 10
  • 52
  • 75
4
votes
3 answers

Detect virtualization in bash

One of my commands in my bash script will depend on the virtualization of the server (XEN or OpenVZ or KVM ). How can I check which of these is in use in bash?
user2650277
  • 6,289
  • 17
  • 63
  • 132
4
votes
4 answers

Is xen dom0 a guest or a host?

I always thought that xen dom0 is a host and hosts other domU s. On the xen wiki page they mention xen dom0 as a Host OS. However in one of the xen dev list threads, xen developer mentioned that dom0 is a PV guest. In this thread the last reply on…
NULL
  • 41
  • 1
  • 2
4
votes
2 answers

How to Extract some Fields from Real Time Output of a Command in Bash script

I want to extract some fields out of output of command xentop. It's like top command; provides an ongoing look at cpu usage,memory usage,...in real time. If I run this command in batch mode, I will have its output as you see in a file: NAME …
Peggy
  • 639
  • 9
  • 28
4
votes
2 answers

How do I remove Xen from Ubuntu?

I was trying to install VM software on my Ubuntu system. Since I'm not very familiar with linux I followed a guide on the official Ubuntu site. Now I am running Ubuntu in a Xen environment, but I don't want to use Xen to make my virtual machines. I…
JREN
  • 3,572
  • 3
  • 27
  • 45
4
votes
4 answers

Where to start with Xen?

I am a newbie with Xen.I want to know how does Xen work. It's really a puzzle when facing the code and I don't know where to start. Are there some easy articles for me?
Jimmy
  • 353
  • 3
  • 10
4
votes
0 answers

Improving JVM performance in a virtualized environment

What are the points to consider in improving JVM performance in a virtualized environment (Vmware/XenServer)? Whare are the settings to improve JVM in a virtualized environement? Is there any JVM specially made for virtualized environment? Or is…
quarks
  • 33,478
  • 73
  • 290
  • 513
1 2
3
28 29