[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Re: XEN in VirtualBox?


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Prateek Sachan <prateeksachan@xxxxxxxxx>
  • Date: Tue, 10 Aug 2010 21:27:19 +0530
  • Delivery-date: Tue, 10 Aug 2010 08:59:54 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=fnEde6lcBe1tVDSvIIvaEQooH+XJbIQKEzjYunl/slAbkmqQKwMOuSqp9nuEyXzefl xgCXVy9XzHnbbWi7onuaZm9rTOHJTO/hZhAV8gPUuHeDHTnz/zMGWiC4zgB6Ahz4ckmz BE1PQ+gMaXgE3Cru4J+2+6hTRJhdOPFz/ypG4=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Oh yes you can run XEN on VB. I am running the following config:
Â
=========
GUEST
=========
[root@xenserver ~]# cat /etc/issue
Citrix XenCloudPlatform Host 0.1.1-25823p
[root@xenserver ~]# uname -a
Linux xenserver 2.6.27.42-0.1.1.xs0.1.1.737.1065xen #1 SMP Fri Jan 15 16:20:16 EST 2010 i686 athlon i386 GNU/Linux
========
HOST
========
OS Name:ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ Microsoft Windows 7 Ultimate
OS Version:ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ 6.1.7600 N/A Build 7600
OS Manufacturer:ÂÂÂÂÂÂÂÂÂÂ Microsoft Corporation
System Model:ÂÂÂÂÂÂÂÂÂÂÂÂÂ MS-7596
System Type:ÂÂÂÂÂÂÂÂÂÂÂÂÂÂ x64-based PC
Processor(s):ÂÂÂÂÂÂÂÂÂÂÂÂÂ AMD64 Family 16 Model 4 Stepping 3 AuthenticAMD ~3200 Mhz
Â

Regards,
Prateek


On 10 August 2010 15:38, <xen-users-request@xxxxxxxxxxxxxxxxxxx> wrote:
Send Xen-users mailing list submissions to
   Âxen-users@xxxxxxxxxxxxxxxxxxx

To subscribe or unsubscribe via the World Wide Web, visit
   Âhttp://lists.xensource.com/mailman/listinfo/xen-users
or, via email, send a message with subject or body 'help' to
   Âxen-users-request@xxxxxxxxxxxxxxxxxxx

You can reach the person managing the list at
   Âxen-users-owner@xxxxxxxxxxxxxxxxxxx

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Xen-users digest..."

Today's Topics:

 1. Compiling Xen from source on a machine without Internet
  Âaccess (Virajith Jalaparti)
 2. Re: Compiling Xen from source on a machine without    ÂInternet
  Âaccess (Christopher R. K.)
 3. CentOS 5.5, XEN-4.0 (gitco),   ÂKernel 2.6.34-xenified and
  ÂFedora11-PV (Thomas Halinka)
 4. Re: XEN in VirtualBox? (Edson Marquezani Filho)
 5. Installation of Windows 2008 failure in hvm mode (KC LO)
 6. [SPAM] ÂRe: [Xen-users] multiple streaming servers in a xen
  Âcloud (Tapas Mishra)
 7. FreeBSD DomU (Net Warrior)
 8. XEN powerpc (dinesh)
 9. Re: FreeBSD DomU (Alexander Kriventsov)
Â10. Hi: ÂNewbie intro. (Ken)
Â11. Re: Hi: ÂNewbie intro. (Simon Hobson)
Â12. Re: Hi: ÂNewbie intro. (Ken)
Â13. Re: DRBD and XEN on Centos5.5 (Fajar A. Nugraha)
Â14. RE: DRBD and XEN on Centos5.5 (Simon Billis)
Â15. Re: Hi: ÂNewbie intro. (Simon Hobson)
Â16. Re: [SPAM] Re: [Xen-users] multiple streaming servers in a
  Âxen cloud (francisco javier funes nieto)
Â17. Clone Xen Guest (LVM) (Benjamin Knoth)
Â18. Re: xen headers xcp kernel (Peter den Hartog)
Â19. Does anyone run win7 or winxp with xl toolstack? (Sergey Tovpeko)


---------- Forwarded message ----------
From:ÂVirajith Jalaparti <virajith.j@xxxxxxxxx>
To:Âxen-users@xxxxxxxxxxxxxxxxxxx
Date:ÂMon, 09 Aug 2010 15:37:55 -0400
Subject:Â[Xen-users] Compiling Xen from source on a machine without Internet access
Hi,

I am trying to compile Xen 4.0 on a machine without access to the Internet. However it does not work directly since the make process does a "hg" and gets some files from an svn. Is there a way I can compile Xen from source on a machine which cannot access the Internet? I am looking for something other the obvious answer of "compile it on another Internet-connected machine and copy the result to that machine which is not connected to the Internet" (both these machines can talk to each other).

Thanks,
Virajith




---------- Forwarded message ----------
From:Â"Christopher R. K." <feuerball_@xxxxxxx>
To:Âxen-users@xxxxxxxxxxxxxxxxxxx
Date:ÂMon, 09 Aug 2010 22:24:05 +0200
Subject:ÂRe: [Xen-users] Compiling Xen from source on a machine without Internet access
ÂYou can make your kernel externally (fetch the source per git from the pv_ops repository or xen) and just create the xen tools with make xen and make tools, then you can install it per ./install.sh in the xen src dir, as far as I remember. Check the xen-wiki for futher details.

Am 09.08.2010 21:37, schrieb Virajith Jalaparti:
Hi,

I am trying to compile Xen 4.0 on a machine without access to the Internet. However it does not work directly since the make process does a "hg" and gets some files from an svn. Is there a way I can compile Xen from source on a machine which cannot access the Internet? I am looking for something other the obvious answer of "compile it on another Internet-connected machine and copy the result to that machine which is not connected to the Internet" (both these machines can talk to each other).

Thanks,
Virajith

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users






---------- Forwarded message ----------
From:ÂThomas Halinka <lists@xxxxxxxxx>
To:Âxen-users@xxxxxxxxxxxxxxxxxxx
Date:ÂTue, 10 Aug 2010 01:17:30 +0200
Subject:Â[Xen-users] CentOS 5.5, XEN-4.0 (gitco), Kernel 2.6.34-xenified and Fedora11-PV
Hello,

im struggling with getting a Fedora 11 Domu up and running.

My Host is a HP DL380 g6 with CentOS 5.5 and XEN 4 from gitco installed.

The System runs several Linux-PV-DomUs like Debian Lenny, Ubuntu Lucid
and CentOS-55 without any problems.

But if i try to get stock F11 up and running.

Using Virt-install, xm create with KS-Install and Converting a working
HVM-Install did not suceed. The DomU is making IO, comsumes CPU-Time,
but Console and Network are not reachable/working?!

XENinified 2.6.34 uses xvc0 as console while pvops-enabled Kernels like
the Stock (2.6.30.11) Fedora-Kernel use hvc0.

It triple-checked the existence of /dev/hvc0, inittab, securetty but
still no Console available

Tried following Kernel-Params:
extra = 'console=hvc0 earlyprintk=xen'
extra = 'console=hvc0 xencons=tty earlyprintk=xen'
extra = 'console=hvc0 xencons=hvc0 earlyprintk=xen'
extra = 'console=hvc0 xencons=xvc0 earlyprintk=xen'

but still no Luck :-(

Has Somebody a running stock-F11-PV-DomU up and running?

Any Ideas?!

tia,

thomas


PS: my pygrub does not work with timeout=0, maybe pygrub is broken?





---------- Forwarded message ----------
From:ÂEdson Marquezani Filho <edsonmarquezani@xxxxxxxxx>
To:Âlopb <servicios@xxxxxxxxxxx>
Date:ÂMon, 9 Aug 2010 21:30:33 -0300
Subject:ÂRe: [Xen-users] XEN in VirtualBox?
As far as I know, Xen hypervisor needs direct access to the real
hardware, so you won't be able to run it inside a virtual machine.




---------- Forwarded message ----------
From:ÂKC LO <kclo2000@xxxxxxxxx>
To:Âxen-users@xxxxxxxxxxxxxxxxxxx
Date:ÂTue, 10 Aug 2010 09:50:16 +0800
Subject:Â[Xen-users] Installation of Windows 2008 failure in hvm mode
Dear all,
Â
I have installed xen3.4.3 in CentOS5.5 and successful to install CentOS guest OS in para-virtualized mode.
When I use virt-manager and virt-install to install Windows 2008 or Windows 7 under X-Window, the VM in fully-virtualized mode can startup and go into the Installation manual. However, the Windows installation can not find the hard disk that I have assigned during installation. I have typed xm list -l "domain" and found that device have attached to the domain. I also checked the device is attached to the VM under virt-manager.
Â
Any area that I need to check?
Any suggestions?


---------- Forwarded message ----------
From:ÂTapas Mishra <mightydreams@xxxxxxxxx>
To:ÂXen List <xen-users@xxxxxxxxxxxxxxxxxxx>
Date:ÂTue, 10 Aug 2010 10:11:01 +0530
Subject:Â[SPAM] Re: [Xen-users] multiple streaming servers in a xen cloud
Since I had started this thread here
I came across
http://l7-filter.clearfoundation.com/docs/readme
if some one comes across this thread by chance this should help them.

--
Tapas
http://mightydreams.blogspot.com
http://wiki.xensource.com/xenwiki/Xen_on_4_app_servers




---------- Forwarded message ----------
From:ÂNet Warrior <netwarrior863@xxxxxxxxx>
To:ÂXen Users <xen-users@xxxxxxxxxxxxxxxxxxx>
Date:ÂTue, 10 Aug 2010 02:12:33 -0300
Subject:Â[Xen-users] FreeBSD DomU
ÂHi there guys.

Did someone was able to install FreeBSD as DomU, I've been playing
around with it for a couple of hour, I was able to install it
version 7.2 i386 only, but then I cannot boot it, I'm using pygrub, here
is my config, version 8.0-RELEASE, i386 and amd64 just panic.

bootloader = '/usr/bin/pygrub'
builder='hvm'
memory = 512
name = "freebsd"
vif = [ 'mac=00:16:3E:52:CB:81, bridge=eth0, vifname=freebsd' ]
disk = [ 'phy:/dev/NETWARRIOR/LXVIRTUAL1,ioemu:hda,w']


When trying to create the DomU I get.

Error: Domain 'freebsd' does not exist
--
xend.log

return map(lambda x: self.configuration(x, transaction),
self.deviceIDs(transaction))
ÂFile
"/usr/lib64/python2.6/site-packages/xen/xend/server/DevController.py",
line 242, in <lambda>
 Âreturn map(lambda x: self.configuration(x, transaction),
self.deviceIDs(transaction))
ÂFile
"/usr/lib64/python2.6/site-packages/xen/xend/server/DevController.py",
line 249, in configuration
 ÂconfigDict = self.getDeviceConfiguration(devid, transaction)
ÂFile
"/usr/lib64/python2.6/site-packages/xen/xend/server/ConsoleController.py",
line 27, in getDeviceConfiguration
 Âdevinfo = self.readBackendTxn(transaction, devid, *self.valid_cfg)
ÂFile
"/usr/lib64/python2.6/site-packages/xen/xend/server/DevController.py",
line 447, in readBackendTxn
 Âraise VmError("Device %s not connected" % devid)
VmError: Device 0 not connected



Any Ideas?


Thanks in advance.
Regards




---------- Forwarded message ----------
From:Âdinesh <dinesh.thanumoorthy@xxxxxxxxxxxxxxx>
To:Âxen-users@xxxxxxxxxxxxxxxxxxx
Date:ÂTue, 10 Aug 2010 10:45:57 +0530
Subject:Â[Xen-users] XEN powerpc
Hi
 Is there support for powerpc e300 in XEN




---------- Forwarded message ----------
From:ÂAlexander Kriventsov <avk@xxxxx>
To:Âxen-users@xxxxxxxxxxxxxxxxxxx
Date:ÂTue, 10 Aug 2010 10:04:22 +0400
Subject:ÂRe: [Xen-users] FreeBSD DomU
10.08.2010 9:12, Net Warrior ÐÐÑÐÑ:
ÂHi there guys.

Did someone was able to install FreeBSD as DomU, I've been playing
around with it for a couple of hour, I was able to install it
version 7.2 i386 only, but then I cannot boot it, I'm using pygrub, here
is my config, version 8.0-RELEASE, i386 and amd64 just panic.

Yes, I'm using a lot of of freebsd 8.X as domU. In configs I have something like this
import os, re

arch_libdir = 'lib'
arch = os.uname()[4]
if os.uname()[0] == 'Linux' and re.search('64', arch):
 Âarch_libdir = 'lib64'

kernel = "/usr/lib/xen/boot/hvmloader"
builder='hvm'
memory = 256
name = "node"
vif = [ 'type=ioemu, mac=00:16:3e:XX:YY:ZZ, bridge=eth0' ]
disk = [ 'phy:/dev/xenvgsata/node,hda,w' ]
device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'
sdl=0
vnc=1
vncpasswd='vnc'
stdvga=0
serial='pty'
boot='cn'

But you should enable hardware virtualization in your BIOS to work with hvm.


bootloader = '/usr/bin/pygrub'
builder='hvm'
memory = 512
name = "freebsd"
vif = [ 'mac=00:16:3E:52:CB:81, bridge=eth0, vifname=freebsd' ]
disk = [ 'phy:/dev/NETWARRIOR/LXVIRTUAL1,ioemu:hda,w']


When trying to create the DomU I get.

Error: Domain 'freebsd' does not exist
--
xend.log

return map(lambda x: self.configuration(x, transaction),
self.deviceIDs(transaction))
 File
"/usr/lib64/python2.6/site-packages/xen/xend/server/DevController.py",
line 242, in<lambda>
  return map(lambda x: self.configuration(x, transaction),
self.deviceIDs(transaction))
 File
"/usr/lib64/python2.6/site-packages/xen/xend/server/DevController.py",
line 249, in configuration
  configDict = self.getDeviceConfiguration(devid, transaction)
 File
"/usr/lib64/python2.6/site-packages/xen/xend/server/ConsoleController.py",
line 27, in getDeviceConfiguration
  devinfo = self.readBackendTxn(transaction, devid, *self.valid_cfg)
 File
"/usr/lib64/python2.6/site-packages/xen/xend/server/DevController.py",
line 447, in readBackendTxn
  raise VmError("Device %s not connected" % devid)
VmError: Device 0 not connected



Any Ideas?


Thanks in advance.
Regards

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


--
Alexander Kriventsov




---------- Forwarded message ----------
From:ÂKen <kr.xen@xxxxxxxxxxxxx>
To:Âxen-users@xxxxxxxxxxxxxxxxxxx
Date:ÂTue, 10 Aug 2010 01:30:34 -0500
Subject:Â[Xen-users] Hi: Newbie intro.
Hi,

I'm grass-green new to Xen. ÂThe only virtualization I've used is VMware
(most recently server) on Linux, Windows and Mac, and Parallels on Mac.
I've used VMware for years as a testing mechanism. ÂI'm not a VMware
expert, but have used it in all the ways I intend to use Xen.

I've been reading through the Xen documentation and have some questions
that don't seem to be clear. ÂI'm not afraid of the documentation. ÂI
haven't waded through it all, but I have not yet found the answers to
some burning questions and can't concentrate on the topic at hand
because of it. ÂSome things just seem to be missing, and I don't know if
it's because I just haven't read that far or if that entire issue is
handled by Dom0. ÂIf something I'm asking about is best described by the
docs, I would love to see a link to that section rather than make you
guys type in a description.


First, my hardware:
I have an Intel i7 920 on an Asus P6T with 12G RAM. ÂThe processor
supports VT-x but not the vpro version. ÂI'm still not clear on the
differences between these.

The drives are SATA, 4xWD750gx10000rpm (WD7500AADS) configured as Linux
kernel-based RAID with LVM2 on top. ÂMostly RAID 1 in 2 volume groups,
two drives per group. ÂThe /boot drive is 4 drives RAID 1, grub boot
loader. ÂI also have a removable SATA drive with 1.5 Tb as a backup
drive. ÂCurrently all this space is mostly empty, but by the time I get
done that probably won't be the case.

I have an nVidia GT200 video card with dual monitors, if that matters.
I also have some other hardware (mostly sound and video hardware) but
that's not pertinent at this point I think. ÂA full hardware profile is
included at the end of my message in case it's pertinent to one of the
questions.


My intent:
This is my home workstation. ÂI currently run Gentoo on it. ÂI also want
to work from it, and I'm a software developer. ÂHere are the VMs I want:
Â1 Gentoo stable. ÂThis is probably going to be where I live most. ÂIt
will have video and sound and will probably use the most CPU of
everything.
Â2 Gentoo ~arch. ÂThis may be a chroot of stable, or maybe a full
image. ÂThis is primarily for testing and experimentation with
unreleased software.
Â3 Windows 2003 converted from a VMware disk. ÂThis has Microsoft SQL
Server on it, and everything is using legitimate developer licenses.
This is used as a database and as a web browser for testing, and has a
couple other end-user tools on it, but very little human interaction.
Â4 Some random flavor of operating system. ÂI sometimes try out a
distro just to see what's going on.
Â5 Possibly one or two other stand-alone server images, usually a
minimal Linux.
Â6 I may also have Ubuntu on it. ÂFor some reason I'm fixated by this
distro.

Stable and Windows 2003 will probably start at boot. ÂEverything else
will probably be a manual start-as-needed arrangement.



My questions:

1. ÂBoard issues.
http://wiki.xensource.com/xenwiki/VTdHowTo shows a line which causes me
concern:
ASUS P6T Deluxe (Intel X58 chipset) requires (currently non-public) BIOS
update to correct DMAR-table issue

My board is P6T, not deluxe. ÂIt has the X58 chip set, the BIOS is set
to allow VT-d, but I'm not sure if this board has the broken BIOS like
the Deluxe, or if it has a good BIOS, or if it is missing the feature
which requires the fix altogether. ÂCan this board run VT-d in a proper
way? ÂDo I need to get a different board in order to make this work
well?

2. ÂDom0 strategy:
I'm a bit confused as to the entire role of dom0. ÂIs this supposed to
be just a minimal command-line distro for drivers and Xen admin, or is
it a full-blown distro which also has Xen admin? ÂDo I want flexibility
or stability? ÂRolling release or conservative non-rolling release?
Admin-only or do I live here?

3. ÂPartitioning:
I'm currently using RAID per linux-only schemes. ÂDoes Xen have its own
requirements and abilities for that, or is that entirely handled by
Dom0?

Do I assign logical volumes directly to the DomUs with the proper
partitioning scheme or do I store everything on XFS in a big file and
let the DomU partition that file?

Does it make sense still to segment the system out to different
partition types for performance, or what? ÂWhat's the strategy?


Thanks.

--------------------------------------------------------------------
Hardware details:
/proc/cpuinfo:
processor    : 7
vendor_id    : GenuineIntel
cpu family   Â: 6
model      : 26
model name   Â: Intel(R) Core(TM) i7 CPU     920 Â@ 2.67GHz
stepping    Â: 5
cpu MHz     : 1600.000
cache size   Â: 8192 KB
physical id   : 0
siblings    Â: 8
core id     : 3
cpu cores    : 4
apicid     Â: 7
initial apicid Â: 7
fpu       : yes
fpu_exception  : yes
cpuid level   : 11
wp       Â: yes
flags      : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx
rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology
nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16
xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm ida tpr_shadow vnmi flexpriority
ept vpid
bogomips    Â: 5344.67
clflush size  Â: 64
cache_alignment : 64
address sizes  : 36 bits physical, 48 bits virtual
power management:

---------------------
/proc/meminfo
MemTotal: Â Â Â 12321128 kB
MemFree: Â Â Â Â 9958988 kB
Buffers: Â Â Â Â Â316368 kB
Cached: Â Â Â Â Â 604180 kB
SwapCached: Â Â Â Â Â Â0 kB
Active: Â Â Â Â Â1268860 kB
Inactive: Â Â Â Â 552456 kB
Active(anon): Â Â 907640 kB
Inactive(anon): Â Â Â 16 kB
Active(file): Â Â 361220 kB
Inactive(file): Â 552440 kB
Unevictable: Â Â Â Â Â16 kB
Mlocked: Â Â Â Â Â Â Â16 kB
SwapTotal: Â Â Â31487368 kB
SwapFree: Â Â Â 31487368 kB
Dirty: Â Â Â Â Â Â Â Â40 kB
Writeback: Â Â Â Â Â Â 4 kB
AnonPages: Â Â Â Â900820 kB
Mapped: Â Â Â Â Â Â96912 kB
Shmem: Â Â Â Â Â Â Â6888 kB
Slab: Â Â Â Â Â Â 428268 kB
SReclaimable: Â Â 381632 kB
SUnreclaim: Â Â Â Â46636 kB
KernelStack: Â Â Â Â3032 kB
PageTables: Â Â Â Â18288 kB
NFS_Unstable: Â Â Â Â Â0 kB
Bounce: Â Â Â Â Â Â Â Â0 kB
WritebackTmp: Â Â Â Â Â0 kB
CommitLimit: Â Â37647932 kB
Committed_AS: Â Â1260788 kB
VmallocTotal: Â 34359738367 kB
VmallocUsed: Â Â Â356972 kB
VmallocChunk: Â 34359358460 kB
HugePages_Total: Â Â Â 0
HugePages_Free: Â Â Â Â0
HugePages_Rsvd: Â Â Â Â0
HugePages_Surp: Â Â Â Â0
Hugepagesize: Â Â Â 2048 kB
DirectMap4k: Â Â Â 18944 kB
DirectMap2M: Â Â12554240 kB

---------------------

lspci
00:00.0 Host bridge: Intel Corporation X58 I/O Hub to ESI Port (rev 12)
00:01.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express
Root Port 1 (rev 12)
00:03.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express
Root Port 3 (rev 12)
00:07.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express
Root Port 7 (rev 12)
00:14.0 PIC: Intel Corporation 5520/5500/X58 I/O Hub System Management
Registers (rev 12)
00:14.1 PIC: Intel Corporation 5520/5500/X58 I/O Hub GPIO and Scratch
Pad Registers (rev 12)
00:14.2 PIC: Intel Corporation 5520/5500/X58 I/O Hub Control Status and
RAS Registers (rev 12)
00:14.3 PIC: Intel Corporation 5520/5500/X58 I/O Hub Throttle Registers
(rev 12)
00:1a.0 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB
UHCI Controller #4
00:1a.1 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB
UHCI Controller #5
00:1a.2 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB
UHCI Controller #6
00:1a.7 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB2
EHCI Controller #2
00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD Audio
Controller
00:1c.0 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express
Port 1
00:1c.2 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express
Port 3
00:1c.3 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express
Port 4
00:1c.4 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express
Port 5
00:1d.0 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB
UHCI Controller #1
00:1d.1 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB
UHCI Controller #2
00:1d.2 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB
UHCI Controller #3
00:1d.7 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB2
EHCI Controller #1
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 90)
00:1f.0 ISA bridge: Intel Corporation 82801JIR (ICH10R) LPC Interface
Controller
00:1f.2 IDE interface: Intel Corporation 82801JI (ICH10 Family) 4 port
SATA IDE Controller
00:1f.3 SMBus: Intel Corporation 82801JI (ICH10 Family) SMBus Controller
00:1f.5 IDE interface: Intel Corporation 82801JI (ICH10 Family) 2 port
SATA IDE Controller
01:00.0 Multimedia video controller: Conexant Systems, Inc. Hauppauge
Inc. HDPVR-1250 model 1196 (rev 04)
02:00.0 VGA compatible controller: nVidia Corporation GT200 [GeForce GTX
260] (rev a1)
04:00.0 SATA controller: JMicron Technology Corp. 20360/20363 Serial ATA
Controller (rev 03)
04:00.1 IDE interface: JMicron Technology Corp. 20360/20363 Serial ATA
Controller (rev 03)
05:00.0 FireWire (IEEE 1394): VIA Technologies, Inc. Device 3403
06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)
08:00.0 Multimedia audio controller: Creative Labs SB X-Fi

-----------------------
lsusb
Bus 007 Device 002: ID 051d:0002 American Power Conversion
Uninterruptible Power Supply
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 003: ID 04b3:310b IBM Corp. Red Wheel Mouse
Bus 006 Device 002: ID 058f:9410 Alcor Micro Corp. Keyboard
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 006: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Bus 002 Device 004: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub






---------- Forwarded message ----------
From:ÂSimon Hobson <linux@xxxxxxxxxxxxxxxx>
To:Âxen-users@xxxxxxxxxxxxxxxxxxx
Date:ÂTue, 10 Aug 2010 08:02:36 +0100
Subject:ÂRe: [Xen-users] Hi: Newbie intro.
Ken wrote:

2. ÂDom0 strategy:
I'm a bit confused as to the entire role of dom0. ÂIs this supposed to
be just a minimal command-line distro for drivers and Xen admin, or is
it a full-blown distro which also has Xen admin? ÂDo I want flexibility
or stability? ÂRolling release or conservative non-rolling release?
Admin-only or do I live here?

Dom0 is to Xen a bit like user root is to Unix style systems. Xen loads first and sits on top of the hardware, but Xen itself doesn't really have any way to interact with it. It loads Dom0 as the first guest OS (and yes, even Dom0 is a virtual machine I believe) - and gives it special privileges, such as being able to communicate with the hypervisor and control it. Dom0 also gets direct access to all hardware by default.

It is customary that Dom0 is a "light" install - just containing what you need to run the machine. It doesn't have to be, you can load up all your GUI shells, user apps etc - but it's custom to keep Dom0 light because of it's privileged role and the fact that if you compromise Dom0 then all the guests are compromised.
So if you have a machine that is your desktop, then it's quite OK to run Xen on it, use Dom0 as your "desktop machine" and fire up some other guests as required. You just have to accept that if you compromise your desktop machine, then the others are compromised too. it would be a good way to get started and experiment - just not good for running production services.

3. ÂPartitioning:
I'm currently using RAID per linux-only schemes. ÂDoes Xen have its own
requirements and abilities for that, or is that entirely handled by
Dom0?

Do I assign logical volumes directly to the DomUs with the proper
partitioning scheme or do I store everything on XFS in a big file and
let the DomU partition that file?

Does it make sense still to segment the system out to different
partition types for performance, or what? ÂWhat's the strategy?

Again, this is largely a matter of personal preference. In terms of performance, then unless you take steps to segregate stuff (eg keeping different bits of data on different drives), then the I/O from all your guests shares the same disk I/O bottlenecks. In some ways it could be said to be worse since you will typically have the virtual disks for different machines spread across the disks and thus ensure lots of head seeks.

Xen does not handle any file systems on it's own, whatever containers you use are transparent to the hypervisor. What type of container is again a matter of preference.
At one extreme, you can build a big filesystem for Dom0, and use file to store the virtual disks for the guests. Personally I use block devices and LVM - I create on logical volume per filesystem in each DomU, and I don't partition them in the DomUs. This has the advantage that each filesystem can be mounted in Dom0 without any hassles (ie you can just "mount /dev/vg0/guest1root /mnt") and have access to the file on the guests disks (but you must shut down the guest first).
If you create a virtual disk and partition it inside the guest then filesystems can still be mounted elsewhere, but there's an extra step or two involved.
One LV per filesystem also makes resizing filesystems a doddle - shutdown guest, shrink filesystem if reducing size, resize LV, expand filesystem. There is talk of it being possible to resize (expand) the LV and trigger some signal to make the increased size visible to a running Dom0, and then live-expand the filesystem.

As mentioned above, many of the same performance issues arise, but with some added complications because you are no longer considering one "machine". If you do have a heavy I/O application, then you may still want to take the usual steps of keeping that data on it's own set of spindles and so on - Xen will let you do that, it really doesn't care what you do.



Dunno about the other questions.

--
Simon Hobson

Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
author Gladys Hobson. Novels - poetry - short stories - ideal as
Christmas stocking fillers. Some available as e-books.




---------- Forwarded message ----------
From:ÂKen <kr.xen@xxxxxxxxxxxxx>
To:ÂSimon Hobson <linux@xxxxxxxxxxxxxxxx>
Date:ÂTue, 10 Aug 2010 02:32:32 -0500
Subject:ÂRe: [Xen-users] Hi: Newbie intro.
Simon,

That helps a lot. ÂMuch of what you said matches what my impression was,
especially about Dom0. ÂI think in that case I will make a minimal
distro for that, and keep it simple. ÂAt least until I decide a DomU
might not be adequate in some way, if ever.

With regards to partitioning, I think then what you're saying is that
Dom0 decides what partitions are visible to the DomU, and whether those
partitions are files on a Dom0 partition or if they're partitions on the
same "layer" so to speak.

So just guessing, I'm thinking that Dom0 would be the only thing that
needs to understand RAID/LVM and the DomUs could get by thinking it was
a plain file system.

Another thing: ÂI have this existing Gentoo, that I'm typing on. ÂIs
there some way to preserve it, or should I just figure on starting over?
Is there some way to wedge the hypervisor under it, in place? ÂIs that a
bad idea even if possible, or is it no big deal?

Thanks a lot, you've really helped.

-- Ken.



On Tue, 2010-08-10 at 08:02 +0100, Simon Hobson wrote:
> Ken wrote:
>
> >2. ÂDom0 strategy:
> >I'm a bit confused as to the entire role of dom0. ÂIs this supposed to
> >be just a minimal command-line distro for drivers and Xen admin, or is
> >it a full-blown distro which also has Xen admin? ÂDo I want flexibility
> >or stability? ÂRolling release or conservative non-rolling release?
> >Admin-only or do I live here?
>
> Dom0 is to Xen a bit like user root is to Unix style systems. Xen
> loads first and sits on top of the hardware, but Xen itself doesn't
> really have any way to interact with it. It loads Dom0 as the first
> guest OS (and yes, even Dom0 is a virtual machine I believe) - and
> gives it special privileges, such as being able to communicate with
> the hypervisor and control it. Dom0 also gets direct access to all
> hardware by default.
>
> It is customary that Dom0 is a "light" install - just containing what
> you need to run the machine. It doesn't have to be, you can load up
> all your GUI shells, user apps etc - but it's custom to keep Dom0
> light because of it's privileged role and the fact that if you
> compromise Dom0 then all the guests are compromised.
> So if you have a machine that is your desktop, then it's quite OK to
> run Xen on it, use Dom0 as your "desktop machine" and fire up some
> other guests as required. You just have to accept that if you
> compromise your desktop machine, then the others are compromised too.
> it would be a good way to get started and experiment - just not good
> for running production services.
>
> >3. ÂPartitioning:
> >I'm currently using RAID per linux-only schemes. ÂDoes Xen have its own
> >requirements and abilities for that, or is that entirely handled by
> >Dom0?
> >
> >Do I assign logical volumes directly to the DomUs with the proper
> >partitioning scheme or do I store everything on XFS in a big file and
> >let the DomU partition that file?
> >
> >Does it make sense still to segment the system out to different
> >partition types for performance, or what? ÂWhat's the strategy?
>
> Again, this is largely a matter of personal preference. In terms of
> performance, then unless you take steps to segregate stuff (eg
> keeping different bits of data on different drives), then the I/O
> from all your guests shares the same disk I/O bottlenecks. In some
> ways it could be said to be worse since you will typically have the
> virtual disks for different machines spread across the disks and thus
> ensure lots of head seeks.
>
> Xen does not handle any file systems on it's own, whatever containers
> you use are transparent to the hypervisor. What type of container is
> again a matter of preference.
> At one extreme, you can build a big filesystem for Dom0, and use file
> to store the virtual disks for the guests. Personally I use block
> devices and LVM - I create on logical volume per filesystem in each
> DomU, and I don't partition them in the DomUs. This has the advantage
> that each filesystem can be mounted in Dom0 without any hassles (ie
> you can just "mount /dev/vg0/guest1root /mnt") and have access to the
> file on the guests disks (but you must shut down the guest first).
> If you create a virtual disk and partition it inside the guest then
> filesystems can still be mounted elsewhere, but there's an extra step
> or two involved.
> One LV per filesystem also makes resizing filesystems a doddle -
> shutdown guest, shrink filesystem if reducing size, resize LV, expand
> filesystem. There is talk of it being possible to resize (expand) the
> LV and trigger some signal to make the increased size visible to a
> running Dom0, and then live-expand the filesystem.
>
> As mentioned above, many of the same performance issues arise, but
> with some added complications because you are no longer considering
> one "machine". If you do have a heavy I/O application, then you may
> still want to take the usual steps of keeping that data on it's own
> set of spindles and so on - Xen will let you do that, it really
> doesn't care what you do.
>
>
>
> Dunno about the other questions.
>
> --
> Simon Hobson
>
> Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
> author Gladys Hobson. Novels - poetry - short stories - ideal as
> Christmas stocking fillers. Some available as e-books.
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users






---------- Forwarded message ----------
From:Â"Fajar A. Nugraha" <fajar@xxxxxxxxx>
To:ÂSimon Billis <simon@xxxxxxxxxx>
Date:ÂTue, 10 Aug 2010 14:37:41 +0700
Subject:ÂRe: [Xen-users] DRBD and XEN on Centos5.5
On Mon, Aug 9, 2010 at 10:29 PM, Simon Billis <simon@xxxxxxxxxx> wrote:
> Fajar A. Nugraha sent a missive onÂ2010-08-09:
>> The main advantage of using drbd: (if it works) is that it should take
>> care of making resources primary as necessary. If you do it manually
>> anyway, simply use primary on both with phy:/dev/drbd/by-res/
>>
>
> Indeed - But I couldn't get it to work.... was there something that I
> missed?

Not really. That's why I said IF it works.
Reading the documentation, it supposed to work some versions back, but
I never got it to work (similar setup as yours). In the end I simply
use phy:/dev/drbd/by-res/ (which works without having to hack any
script), and setup both nodes to be primary if I need live migration.

--
Fajar




---------- Forwarded message ----------
From:Â"Simon Billis" <simon@xxxxxxxxxx>
To:Â"'Fajar A. Nugraha'" <fajar@xxxxxxxxx>
Date:ÂTue, 10 Aug 2010 08:51:26 +0100
Subject:ÂRE: [Xen-users] DRBD and XEN on Centos5.5
Fajar A. Nugraha sent a missive onÂ2010-08-10:

> On Mon, Aug 9, 2010 at 10:29 PM, Simon Billis <simon@xxxxxxxxxx> wrote:
>> Fajar A. Nugraha sent a missive onÂ2010-08-09:
>>> The main advantage of using drbd: (if it works) is that it should
>>> take care of making resources primary as necessary. If you do it
>>> manually anyway, simply use primary on both with
>>> phy:/dev/drbd/by-res/
>>>
>>
>> Indeed - But I couldn't get it to work.... was there something that
>> I missed?
>
> Not really. That's why I said IF it works.
> Reading the documentation, it supposed to work some versions back, but
> I never got it to work (similar setup as yours). In the end I simply
> use phy:/dev/drbd/by-res/ (which works without having to hack any
> script), and setup both nodes to be primary if I need live migration.
>

Good to know, it will save me some more time looking for an answer :-).
Thanks

S.








---------- Forwarded message ----------
From:ÂSimon Hobson <linux@xxxxxxxxxxxxxxxx>
To:Âxen-users@xxxxxxxxxxxxxxxxxxx
Date:ÂTue, 10 Aug 2010 10:05:41 +0100
Subject:ÂRe: [Xen-users] Hi: Newbie intro.
Ken wrote:

With regards to partitioning, I think then what you're saying is that
Dom0 decides what partitions are visible to the DomU, and whether those
partitions are files on a Dom0 partition or if they're partitions on the
same "layer" so to speak.

Correct.

So just guessing, I'm thinking that Dom0 would be the only thing that
needs to understand RAID/LVM and the DomUs could get by thinking it was
a plain file system.

Yes.

Another thing: ÂI have this existing Gentoo, that I'm typing on. ÂIs
there some way to preserve it, or should I just figure on starting over?
Is there some way to wedge the hypervisor under it, in place? ÂIs that a
bad idea even if possible, or is it no big deal?

In general, all you need to do is install a kernel package with Xen Dom0 support, install Xen, and configure Xen+Compatible kernel as a boot option. You should then have the option of booting :
+ Your existing kernel
+ The new kernel
+ Xen plus the new kernel

Another option, but slightly harder as you need to re-arrange partitions a bit ...
Install a kernel with Xen DomU support, put the whole disk/partitions to one side, build a new boot setup with a fresh Xen+Dom0, boot your existing Gentoo as a DomU. A convenient way of doing this is to install a new disk as the primary disk, and then you just configure the DomU to use the real partitions (rather than LVs).

As long as you don't mess up the disk, you then have the option of putting things back and booting up as you are now. I like options with a safety net ;)

--
Simon Hobson

Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
author Gladys Hobson. Novels - poetry - short stories - ideal as
Christmas stocking fillers. Some available as e-books.




---------- Forwarded message ----------
From:Âfrancisco javier funes nieto <esencia@xxxxxxxxx>
To:ÂTapas Mishra <mightydreams@xxxxxxxxx>
Date:ÂTue, 10 Aug 2010 11:15:02 +0200
Subject:ÂRe: [SPAM] Re: [Xen-users] multiple streaming servers in a xen cloud
This is full off-topic, but I use Mikrotik RouterOS (1) with L7 capable Firewall for this kind of problems... And you could use it with Xen too.

(1)Âhttp://wiki.mikrotik.com/wiki/Manual:IP/Firewall/L7

2010/8/10 Tapas Mishra <mightydreams@xxxxxxxxx>
Since I had started this thread here
I came across
http://l7-filter.clearfoundation.com/docs/readme
if some one comes across this thread by chance this should help them.



--
_____________________________________________

Francisco Javier Funes Nieto [esencia@xxxxxxxxx]
CANONIGOS
Servicios InformÃticos para PYMES.
Cl. Cruz 2, 1Â Oficina 7
Tlf: 958.536759 / 661134556
Fax: 958.521354
GRANADA - 18002


---------- Forwarded message ----------
From:ÂBenjamin Knoth <knoth@xxxxxxxxxxx>
To:Âxen-users@xxxxxxxxxxxxxxxxxxx
Date:ÂTue, 10 Aug 2010 11:29:09 +0200
Subject:Â[Xen-users] Clone Xen Guest (LVM)
Hi all,
i would liáe to clone a virtual machine from a Sles 10 SP 2 server to
a Sles 11 server.
My Xen-guest runs on Sles 10 SP2 in a Logical Volume.
If i copy all files on a other lvm on the sles 11 server, it starts
only in the console.
On first tests i got some errors on boot. But after i add the old
kernel it starts normal in the console but not with kde and right
network connection.

What did i do?

I tested it also with a not running VM.

I created a snapshot from the running vm.
I mounted it read only.
I copied all files via rsync on a empty (ext3) lv on the sles 11 server.
I unmount the snapshot and the new lv.
I changed harddisk, MAC-adress, IP-adress and boot-kernel (same as the
old server) on the config and start with xm create vm.

If i start the console on virtual machine Manager it boot the system
normal. I can only log in with a non root user. Then i log in as root
from a user and everything is ok.
I can start YaST and change the network settings and can also change
the /etc/hosts manual.
On the sles 10 server i had a xenbr0 network device. On Sles 11 i have
a eth0 bridge as network device.

If i start YaST i see the old device and old ip. I don't see the new
network device.
If i change the ip-adress i see it on YaST but if i start ifconfig in
the console i only get a loop back 127.0.0.1 network device.

If i install a new Guest in a lv on SLES 11 it works perfect but i
did't find a solution to clone an existing virtual machine.

How can i clone a VM on another server where xen is installed?

Best regards

Benjamin Knoth

--
Benjamin Knoth
Max Planck Digital Library (MPDL)
Systemadministration
Amalienstrasse 33
80799 MÃnchen, Germany
http://www.mpdl.mpg.de

Mail: knoth@xxxxxxxxxxx
Phone: +49 89 38602 202
Fax: +49-89-38602-280





---------- Forwarded message ----------
From:ÂPeter den Hartog <peterdenhartog@xxxxxxxxx>
To:Âxen-users@xxxxxxxxxxxxxxxxxxx
Date:ÂTue, 10 Aug 2010 11:40:10 +0200
Subject:ÂRe: [Xen-users] xen headers xcp kernel
Ok i've downloaded that file and unpacked it, but i can't seem to locate the headers.Â
I'll try to clarify what i'm trying to do here.
I got Dahdi drivers (for Asterisk) that i need to compile. It fails after 2 seconds with the message that they can't find my kernel headers.

The method you descripe doesn't work for me, or i'm doing something wrong!

Can you give me some more advice,
thanks!

Peter

On Mon, Aug 9, 2010 at 3:32 PM, Peter den Hartog <peterdenhartog@xxxxxxxxx> wrote:
awesome! Thanks alot, i'll check it out


On Mon, Aug 9, 2010 at 3:18 PM, George Shuklin <george.shuklin@xxxxxxxxx> wrote:
Good day.

Just few days ago I was solve this problem with outdates e1000 drivers.

My solution:
1) Download source ISO:
http://www.xen.org/files/XenCloud/Software/0.5/sources/source-1.iso
2) Unpack kernel source (src.rpm) for needed kernel.
3) Copy it to /usr/src/linux to target XCP host
4) remove citrix broken repo and enable centos repos.
5) install gcc, make, binutils, etc.
6) compile kernel sources (modprep usually enough), configuration for
compilation avaible from /proc/config.gz.
6) use ./configure option to specify path (most of scripts will search
in /usr/src/linux).

Ð ÐÐÐ, 09/08/2010 Ð 15:08 +0200, Peter den Hartog ÐÐÑÐÑ:
> hello guys,
>
>
> i was wondering where and if i can find the xen kernel headers for the
> latest stable XCP (0.5)
> i need these because i have to compile a kernel module.
>
>
> Thanks!
> Peter
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users



--
Groet // Kind regards,
Peter den Hartog



--
Groet // Kind regards,
Peter den Hartog


---------- Forwarded message ----------
From:ÂSergey Tovpeko <tsv.devel@xxxxxxxxx>
To:Âxen-users@xxxxxxxxxxxxxxxxxxx
Date:ÂTue, 10 Aug 2010 14:02:17 +0400
Subject:Â[Xen-users] Does anyone run win7 or winxp with xl toolstack?
Hello, everybody!

Does anyone have experience of running win7/winxp with xl?
As for me, I got HAL_INITIALIZATION_FAILED BSOD on win7 booting and guest hanging in case of winxp.
When i run these guests (with the same configs) with xm, everything is ok. The guests boot perfectly.
Did anyone run into it too?
I use the lattest xen-unstable, but i saw the problem several months ago too.


My win7's configuration file:

kernel = "/usr/lib/xen/boot/hvmloader"
builder='hvm'
memory = 1024
name = "win7"
disk = [ 'file:/root/images-xen/win7/win7.img,hda,w', 'file:/root/images-xen/win7/win7_x64.iso,hdb:cdrom,r' ]
device_model = '/usr/lib64/xen/bin/qemu-dm'
vif = ['type=ioemu,bridge=eth1,mac=00:16:3e:4b:bb:9c']
boot="dc"


sdl=0
vnc=1
vnclisten='127.0.0.1'
vncdisplay=1
usbdevice='tablet'
videoram=4




_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.