Dear all, I''d like to play around with XEN, but I''m rather new to this topic. Thus I would appreciate it very much to have your comments whether my approach is right or if I''m close to kill my server ;-) As far as I got it after reading around on xensource.com and in some external howtos (I didn''t found any howto regarding etch and xen-3.0.4 without LVM, Hardbeat or other sophisticated stuff I don''t need, so plz point me to some useful if you know ''em), I''d go like this: Installation with aptitude: linux-image-2.6-xen-686 linux-image-2.6.20-1-xen-686 linux-image-xen-686 linux-modules-2.6.20-1-xen-686 xen-hypervisor-3.0.3-1-i386 xen-tools xen-ioemu-3.0 xen-utils-3.0.3-1 xen-utils-common linux-headers-2.6-xen-686 linux-headers-2.6.20-1-xen linux-headers-2.6.20-1-xen-686 For the time being I run 2.6.18-3-k7 on a AMD Athlon 64 3200+ CPU, thus a 32bit-system, which I would like to stay with. 2.6.20 seems not to exist as xen-k7, I would have to go with a 2.6.18 to have this - but maybe this is the better choice, ''cause my already compiled kernel modules would keep working? Nevertheless, the 686 kernel should run on my system, right? After installing the kernel I should have a new grub stanza to boot right into dom0. This would be my existing system, running the new xen kernel. Like everytime after installing a new kernel, right? I would then start creating VMs via scripts from xen-tools. For the start file based VMs would do the job, partition based seems to much for just playing around. That should be it, hopefully. Or do I miss s.th. essentially? Any help is greatly appreciated! Andre -- Personal weblog and more: http://bischof.homelinux.net _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Dear all, I''d like to play around with XEN, but I''m rather new to this topic. Thus I would appreciate it very much to have your comments whether my approach is right or if I''m close to kill my server ;-) As far as I got it after reading around on xensource.com and in some external howtos (I didn''t found any howto regarding etch and xen-3.0.4 without LVM, Hardbeat or other sophisticated stuff I don''t need, so plz point me to some useful if you know ''em), I''d go like this: Installation with aptitude: linux-image-2.6-xen-686 linux-image-2.6.20-1-xen-686 linux-image-xen-686 linux-modules-2.6.20-1-xen-686 xen-hypervisor-3.0.3-1-i386 xen-tools xen-ioemu-3.0 xen-utils-3.0.3-1 xen-utils-common linux-headers-2.6-xen-686 linux-headers-2.6.20-1-xen linux-headers-2.6.20-1-xen-686 For the time being I run 2.6.18-3-k7 on a AMD Athlon 64 3200+ CPU, thus a 32bit-system, which I would like to stay with. 2.6.20 seems not to exist as xen-k7, I would have to go with a 2.6.18 to have this - but maybe this is the better choice, ''cause my already compiled kernel modules would keep working? Nevertheless, the 686 kernel should run on my system, right? After installing the kernel I should have a new grub stanza to boot right into dom0. This would be my existing system, running the new xen kernel. Like everytime after installing a new kernel, right? I would then start creating VMs via scripts from xen-tools. For the start file based VMs would do the job, partition based seems to much for just playing around. That should be it, hopefully. Or do I miss s.th. essentially? Any help is greatly appreciated! Andre -- Personal weblog and more: http://bischof.homelinux.net _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
xensource@bischof.homelinux.net
2007-May-08 18:34 UTC
[Xen-users] xen-install on existing debian etch
Dear all, I''d like to play around with XEN, but I''m rather new to this topic. Thus I would appreciate it very much to have your comments whether my approach is right or if I''m close to kill my server ;-) As far as I got it after reading around on xensource.com and in some external howtos (I didn''t found any howto regarding etch and xen-3.0.4 without LVM, Hardbeat or other sophisticated stuff I don''t need, so plz point me to some useful if you know ''em), I''d go like this: Installation with aptitude: linux-image-2.6-xen-686 linux-image-2.6.20-1-xen-686 linux-image-xen-686 linux-modules-2.6.20-1-xen-686 xen-hypervisor-3.0.3-1-i386 xen-tools xen-ioemu-3.0 xen-utils-3.0.3-1 xen-utils-common linux-headers-2.6-xen-686 linux-headers-2.6.20-1-xen linux-headers-2.6.20-1-xen-686 For the time being I run 2.6.18-3-k7 on a AMD Athlon 64 3200+ CPU, thus a 32bit-system, which I would like to stay with. 2.6.20 seems not to exist as xen-k7, I would have to go with a 2.6.18 to have this - but maybe this is the better choice, ''cause my already compiled kernel modules would keep working? Nevertheless, the 686 kernel should run on my system, right? After installing the kernel I should have a new grub stanza to boot right into dom0. This would be my existing system, running the new xen kernel. Like everytime after installing a new kernel, right? I would then start creating VMs via scripts from xen-tools. For the start file based VMs would do the job, partition based seems to much for just playing around. That should be it, hopefully. Or do I miss s.th. essentially? Any help is greatly appreciated! Andre -- Personal weblog and more: http://bischof.homelinux.net _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Iñaki Baz Castillo
2007-May-09 08:07 UTC
Re: [Xen-users] xen-install on existing debian etch
El Tuesday 08 May 2007 20:34:50 xensource@bischof.homelinux.net escribió:> Dear all, > > I''d like to play around with XEN, but I''m rather new to this topic. Thus > I would appreciate it very much to have your comments whether my > approach is right or if I''m close to kill my server ;-) > > As far as I got it after reading around on xensource.com and in some > external howtos (I didn''t found any howto regarding etch and xen-3.0.4 > without LVM, Hardbeat or other sophisticated stuff I don''t need, so plz > point me to some useful if you know ''em), I''d go like this: > > Installation with aptitude: > linux-image-2.6-xen-686 > linux-image-2.6.20-1-xen-686 > linux-image-xen-686 > linux-modules-2.6.20-1-xen-686 > xen-hypervisor-3.0.3-1-i386 > xen-tools > xen-ioemu-3.0 > xen-utils-3.0.3-1 > xen-utils-common > > linux-headers-2.6-xen-686 > linux-headers-2.6.20-1-xen > linux-headers-2.6.20-1-xen-686Easier (with Debian Etch): apt-get install xen-linux-system-2.6.18-4-xen-686 bridge-utils libc6-xen> After installing the kernel I should have a new grub stanza to boot > right into dom0. This would be my existing system, running the new xen > kernel. Like everytime after installing a new kernel, right?Installing xen-linux-system-2.6.18-4-xen-686 will add the Grub xen entry. Note that this entry include: xen-3.0.3-1-i386-pae.gz - The Xen core system that manages dom0 and domU''s. vmlinuz-2.6.18-4-xen-686 - The Xen capable kernel for dom0 (and maybe domU).> > I would then start creating VMs via scripts from xen-tools. For the > start file based VMs would do the job, partition based seems to much for > just playing around.LVM is easy if you create them with Debian installer. But anyway loop files is a good way to play ;)> Or do I miss s.th. essentially?Remember the network setting in Xen. Am easy option is to activate a direct bridge between peth0 (the real and phisics interface), and dom0 and domu interfaces. For that in /etc/xen/xend-config.sxp: (network-script network-bridge) (vif-script vif-bridge) -- Iñaki Baz Castillo ibc@in.ilimit.es _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
xensource@bischof.homelinux.net
2007-May-09 09:57 UTC
Re: [Xen-users] xen-install on existing debian etch
Hi Inaki, Iñaki Baz Castillo wrote: ...> Easier (with Debian Etch): > > apt-get install xen-linux-system-2.6.18-4-xen-686 bridge-utils libc6-xenwhat''s that libc6-xen? Does it conflict with my existing libc6? Please remember that I would like to use an existing system.>> After installing the kernel I should have a new grub stanza to boot >> right into dom0. This would be my existing system, running the new xen >> kernel. Like everytime after installing a new kernel, right? > > Installing xen-linux-system-2.6.18-4-xen-686 will add the Grub xen entry. Note > that this entry include: > xen-3.0.3-1-i386-pae.gz - The Xen core system that manages dom0 and domU''s. > vmlinuz-2.6.18-4-xen-686 - The Xen capable kernel for dom0 (and maybe domU).Is it really *-pae? I thought there were to different systems, one with pae (for special hardware?), one without? ...>> Or do I miss s.th. essentially? > > Remember the network setting in Xen. Am easy option is to activate a direct > bridge between peth0 (the real and phisics interface), and dom0 and domu > interfaces. For that in /etc/xen/xend-config.sxp: > (network-script network-bridge) > (vif-script vif-bridge)Well, I will look at that closly - I always had problems with qemu and network via bridges, hopefully that will be easier with xen! Cheers! -- Personal weblog and more: http://bischof.homelinux.net Stilblüten aus Polizeiberichten und Gerichtsverhandlungen: Nach ambulanter Behandlung konnte der junge Mann seinen Finger wieder mit nach Hause nehmen. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Emiliano Gabrielli
2007-May-09 10:15 UTC
Re: [Xen-users] xen-install on existing debian etch
On mercoledì 9 maggio 2007, xensource@bischof.homelinux.net wrote:> what''s that libc6-xen? Does it conflict with my existing libc6? Please > remember that I would like to use an existing system.it''s compatible ... it was introduced in etch and is an "addon" to the base libc6 package -- Dr. Emiliano Gabrielli - Responsabile Divisione Informatica email: emiliano.gabrielli@deArchitettura.com deArchitettura.com Via Francesco Tovaglieri, 411 - 00155 Roma tel: 0645438979 | fax: 0645438980 | url: www.deArchitettura.com _________________________________________________________________________ CONFIDENZIALE: Le informazioni contenute nella presente comunicazione ed i relativi allegati sono confidenziali e riservati. Se avete ricevuto questo messaggio per errore, vi preghiamo di distruggerlo e di informarci immediatamente all''indirizzo email info@deArchitettura.com Ai sensi del D.Lgs. 196/2003 sulla privacy e dell''art. 616 del c.p. è proibita qualsiasi forma di riproduzione o divulgazione del documento trasmesso, senza l''esplicito consenso di deArchitettura.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Iñaki Baz Castillo
2007-May-09 10:28 UTC
Re: [Xen-users] xen-install on existing debian etch
El Wednesday 09 May 2007 11:57:17 xensource@bischof.homelinux.net escribió:> > Easier (with Debian Etch): > > > > apt-get install xen-linux-system-2.6.18-4-xen-686 bridge-utils > > libc6-xen > > what''s that libc6-xen? Does it conflict with my existing libc6? Please > remember that I would like to use an existing system.libc6-xen is a package that depends on your system libc6: http://packages.debian.org/stable/libs/libc6-xen Don''t worry.> >> After installing the kernel I should have a new grub stanza to boot > >> right into dom0. This would be my existing system, running the new xen > >> kernel. Like everytime after installing a new kernel, right? > > > > Installing xen-linux-system-2.6.18-4-xen-686 will add the Grub xen entry. > > Note that this entry include: > > xen-3.0.3-1-i386-pae.gz - The Xen core system that manages dom0 and > > domU''s. vmlinuz-2.6.18-4-xen-686 - The Xen capable kernel for dom0 (and > > maybe domU). > > Is it really *-pae? I thought there were to different systems, one with > pae (for special hardware?), one without?~# apt-cache show xen-hypervisor-3.0.3-1-i386-pae The hypervisor is the "core" for XEN itself. It gets booted by the boot loader and controls cpu and memory, sharing them between your administrative domain (Domain 0) and the virtual guest systems. . This version of the hypervisor is built with PAE enabled, in order to support systems with more than 4GB of memory. If you have less than that you should probably choose the non -pae version. . In order to boot a XEN system along with this package you also need a kernel specifically crafted to work as the Domain 0, mediating hardware access for XEN itself. Note that if your dom0 kernel support PAE then xen-hypervisor MUST support PAE, and the same with domU. The Debian Etch Xen kernel DOES support PAE, so you NEED xen-hypervisor-pae. If not dom0 won''t start. -- Iñaki Baz Castillo ibc@in.ilimit.es _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
xensource@bischof.homelinux.net
2007-May-09 11:25 UTC
Re: [Xen-users] xen-install on existing debian etch
Iñaki Baz Castillo wrote: ...>>> Installing xen-linux-system-2.6.18-4-xen-686 will add the Grub xen entry. >>> Note that this entry include: >>> xen-3.0.3-1-i386-pae.gz - The Xen core system that manages dom0 and >>> domU''s. vmlinuz-2.6.18-4-xen-686 - The Xen capable kernel for dom0 (and >>> maybe domU). >> Is it really *-pae? I thought there were to different systems, one with >> pae (for special hardware?), one without? > > ~# apt-cache show xen-hypervisor-3.0.3-1-i386-pae > The hypervisor is the "core" for XEN itself. It gets booted by the boot > loader and controls cpu and memory, sharing them between your > administrative domain (Domain 0) and the virtual guest systems. > . > This version of the hypervisor is built with PAE enabled, in order to > support systems with more than 4GB of memory. If you have less than that > you should probably choose the non -pae version. > . > In order to boot a XEN system along with this package you also need a > kernel specifically crafted to work as the Domain 0, mediating hardware > access for XEN itself. > > > Note that if your dom0 kernel support PAE then xen-hypervisor MUST support > PAE, and the same with domU. > The Debian Etch Xen kernel DOES support PAE, so you NEED xen-hypervisor-pae. > If not dom0 won''t start.Ah, thanks for making that clear. I have 2gigs of memory, but I guess PAE is supposed to run with systems less than 4G as well? Andre -- Personal weblog and more: http://bischof.homelinux.net Stilblüten aus Schreiben von Versicherungsnehmern: Ein unsichtbares Fahrzeug kam aus dem Nichts, stieß mit mir zusammen und verschwand dann spurlos. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Iñaki Baz Castillo
2007-May-09 13:09 UTC
Re: [Xen-users] xen-install on existing debian etch
El Wednesday 09 May 2007 13:25:20 xensource@bischof.homelinux.net escribió:> Iñaki Baz Castillo wrote: > > Note that if your dom0 kernel support PAE then xen-hypervisor MUST > > support PAE, and the same with domU. > > The Debian Etch Xen kernel DOES support PAE, so you NEED > > xen-hypervisor-pae. If not dom0 won''t start. > > Ah, thanks for making that clear. I have 2gigs of memory, but I guess > PAE is supposed to run with systems less than 4G as well?No, you can run xen-hypervisor-pae with less than 4Gb without perfetly. In fact use it instead of the non-pae version, because some Xen kernels (like Debian Etch Xen kernel) is PAE kernel and it needs xen-hypervisor-pae to run as domU. -- Iñaki Baz Castillo ibc@in.ilimit.es _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Iñaki Baz Castillo
2007-May-10 07:22 UTC
Re: [Xen-users] xen-install on existing debian etch
El Monday 07 May 2007 23:22:19 Andre Bischof escribió:> Dear all, > > I''d like to play around with XEN, but I''m rather new to this topic. Thus > I would appreciate it very much to have your comments whether my > approach is right or if I''m close to kill my server ;-)This mail again? -- Iñaki Baz Castillo ibc@in.ilimit.es _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
xen-users@lists.xensource.com
2007-May-10 18:11 UTC
Re: [Xen-users] xen-install on existing debian etch
Iñaki Baz Castillo wrote:> El Monday 07 May 2007 23:22:19 Andre Bischof escribió: >> Dear all, >> >> I''d like to play around with XEN, but I''m rather new to this topic. Thus >> I would appreciate it very much to have your comments whether my >> approach is right or if I''m close to kill my server ;-) > > This mail again?I first had problems sending to this list ''cause a used a mail account of mine with a differnt sender than the one I subscribed with - so I wrote it again - now, after some time, the first mails have been accepted by the list too. Sorry for triple posting, this was not on purpose. Andre -- Personal weblog and more: http://bischof.homelinux.net "Das Schwein trägt seinen Namen nicht umsonst" - Stilblüten aus Kinderaufsätzen: (Tiere) Alle Fische legen Eier. Die russischen sogar Kaviar. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users