Xen Solutions

By Zhiqiang Ma On Nov 27, 2012

The Xen solutions including installing and configuring Dom0 and DomU are summarized here. This post will be updated when our solution changes. Only the latest tested stable solutions are listed here.

LVM volumes as backing for DomU’s file system is an appealing solution to Xen VBD. LVM volumes can dynamically grow/shrink and snapshot. These features make it simple and fast to duplicate DomU and adding storage to DomU. LVM backed DomU is recommended.

Dom0 installation and configuration

Installing Xen (Domain-0) on Fedora 17

Setting up Stable Xen Dom0 with Fedora: Xen 3.4.3 with Xenified Linux Kernel 2.6.32.13 in Fedora 12

DomU installation and configuration

Installing Fedora 17 Domain-U on Xen with PXE Booting.

LVM backed Xen DomU is quite stable with high performance that uses unmodified Fedora pv_ops kernel:

Setting Up LVM Backed Xen DomU

Setting up Stable Xen DomU with Fedora: Unmodified Fedora 12 on top of Xenified Fedora 12 Dom0 with Xen

Setting Up Ubuntu DomU on Xen: Use Ubuntu 10.10 on Fedora Xen Dom0

Dom0 management

Dom0′s CPU and memory configuration advises:

Managing Xen Dom0′s CPU and Memory

DomU management

Duplicating LVM Backed Xen DomU

Duplicating and Backing Up LVM Backed Xen DomU from a Remote Server

Create and manage virtual machines on Xen

How to Duplicate Xen DomU Virtual Machines

Automatically backing up Xen File-backed DomU

Unified Xen DomU configuration file

LVM with Xen

A summary of tutorials related to Xen and LVM:

Xen with LVM

Problems

Some problems that may happen and their solution:

Problems during Installing Xen Dom0 in Fedora

By: Zhiqiang Ma Last updated: Nov 27, 2012 Views: 3,728
Tags: , , , , ,

About Zhiqiang Ma

Zhiqiang Ma is a PhD candidate at Dep. of CSE, HKUST. He is interested in system software for cloud computing, virtualization of large-scale distributed system, etc. Find Zhiqiang on Facebook, Twitter, LinkedIn and Google+.

8 Comments on Xen Solutions | Add Comment
  • Pingback from: Managing Xen Dom0′s CPU and Memory « Sanity of Fortunate Fool
  • Hello I am a M.E student and I want to optimize live migration of virtual machine using xen. So how can I achieve it. orelse how can I do tcp analysis in xen durin live migration.

    Any help will be great Sir.
    Thanx.

    • Hi,

      You may want to take a look at this: http://wiki.xen.org/wiki/Migration

      For TCP analysis, other tools, such as tcpdump, may help you.

    • hi i’m also m.e doing my project in xen ..i ‘ve a problem in installation of xen from source code.

      Cloning into ‘seabios-dir-remote.tmp’…
      fatal: unable to connect to xenbits.xen.org:
      xenbits.xen.org[0: 50.57.170.242]: errno=Connection timed out

      make[4]: *** [seabios-dir] Error 128
      make[4]: Leaving directory `/root/xen-4.2.1/tools/firmware’

      • As the output shows, you are building Xen-4.2.1 which possibly require a different method from the one introduced here.

        From your output, the error is:

        “Connection timed out”

        –> check your network.

        • after rectifying that error i’m getting a new error like this

          policydb.c: In function ‘policydb_read’:
          policydb.c:1779: error: format ‘%lu’ expects type ‘long unsigned int’, but argument 3 has type ‘size_t’
          make[7]: *** [policydb.o] Error 1
          make[7]: Leaving directory `/root/xen-4.2.1/xen/xsm/flask/ss’
          make[6]: *** [ss/built_in.o] Error 2
          make[6]: Leaving directory `/root/xen-4.2.1/xen/xsm/flask’
          make[5]: *** [flask/built_in.o] Error 2
          make[5]: Leaving directory `/root/xen-4.2.1/xen/xsm’
          make[4]: *** [/root/xen-4.2.1/xen/xsm/built_in.o] Error 2
          make[4]: Leaving directory `/root/xen-4.2.1/xen/arch/x86′
          make[3]: *** [/root/xen-4.2.1/xen/xen] Error 2
          make[3]: Leaving directory `/root/xen-4.2.1/xen’
          make[2]: *** [install] Error 2
          make[2]: Leaving directory `/root/xen-4.2.1/xen’
          make[1]: *** [install-xen] Error 2
          make[1]: Leaving directory `/root/xen-4.2.1′
          make: *** [world] Error 2

    • policydb.c: In function ‘policydb_read’:
      policydb.c:1779: error: format ‘%lu’ expects type ‘long unsigned int’, but argument 3 has type ‘size_t’
      make[7]: *** [policydb.o] Error 1
      make[7]: Leaving directory `/root/xen-4.2.1/xen/xsm/flask/ss’
      make[6]: *** [ss/built_in.o] Error 2
      make[6]: Leaving directory `/root/xen-4.2.1/xen/xsm/flask’
      make[5]: *** [flask/built_in.o] Error 2
      make[5]: Leaving directory `/root/xen-4.2.1/xen/xsm’
      make[4]: *** [/root/xen-4.2.1/xen/xsm/built_in.o] Error 2
      make[4]: Leaving directory `/root/xen-4.2.1/xen/arch/x86′
      make[3]: *** [/root/xen-4.2.1/xen/xen] Error 2
      make[3]: Leaving directory `/root/xen-4.2.1/xen’
      make[2]: *** [install] Error 2
      make[2]: Leaving directory `/root/xen-4.2.1/xen’
      make[1]: *** [install-xen] Error 2
      make[1]: Leaving directory `/root/xen-4.2.1′
      make: *** [world] Error 2

  • Pingback from: kvm or xen ? suse or rhel ?
Add your comments, share your thoughts

Be nice. Keep it clean. Stay on topic. No spam.