Jason Voorhees
2009-Jan-19 20:40 UTC
[Xen-users] Linux distributions supported by Xen as PVM domUs
Hi: Reading Red Hat''s Website and a printed manual of RH184 (Red Hat Virtualization course) I see that RHEL 5 only supports RHEL 4.5 and RHEL 5 as paravirtualized guests. So I asume this is the same situation for CentOS 5, right? What''s the dependency between Xen versions for paravirtualized guests? I ask this questions because I got this experiences: 1. Running CentOS 5 as Dom0 - RHEL 4.5/CentOS 4.5 paravirtualized install, boot and works OK. - RHEL 5/CentOS 5 paravirtualized install, boot and works OK. - OpenSuSE 11 doesn''t boot xen kernel. 2. Running OpenSuSE 11 as Dom0 - RHEL 4.5 or RHEL 5 installs correctly but doesn''t boot. I got errors. I don''t have error messages right now (but I can get them if asked) but I see a common difference: RHEL 4.5/RHEL5 and OpenSuSE have different Xen versions. Also OpenSuSE uses domUloader (or something like that) as boot manager instead of pygrub (or are they the same thing?) So the final question is: What are the requirements to run a paravirtualized operating system? Are they fully dependent on Xen version? I would like to run different Linux distros paravirtualized, maybe Opensolaris or FreeBSD. Is it possible? Thanks, bytes! _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Steven Timm
2009-Jan-19 20:53 UTC
Re: [Xen-users] Linux distributions supported by Xen as PVM domUs
It was certainly possible to run earlier versions than rhel4.5/centos4.5 if you downloaded the kernel tarballs from xen.org that were current at the time. I still have some xen 3.0.2 installations that are running rhel4 update 2. But the native xen kernel and all the redhat goodies such as virt-install won''t work with anything older than 4.5/5.0. Two other points--if you can get your hands on version 5, update 2 of redhat or centos it is a lot more stable than 5.0 or 5.1 were. Also, don''t believe everything you see in Redhat''s version string. The rpm says xen 3.03 but when it boots the version string says 3.1.2. Just about any 2.6 kernel and underlying OS can be run paravirtualized if you are a smart enough kernel hacker. I don''t know of anyone who has done paravirtualization with linux host and freebsd or opensolaris domu''s but that doesn''t mean it can''t be done. Steve On Mon, 19 Jan 2009, Jason Voorhees wrote:> Hi: > > Reading Red Hat''s Website and a printed manual of RH184 (Red Hat > Virtualization course) I see that RHEL 5 only supports RHEL 4.5 and > RHEL 5 as paravirtualized guests. So I asume this is the same > situation for CentOS 5, right? > > What''s the dependency between Xen versions for paravirtualized guests? > I ask this questions because I got this experiences: > > 1. Running CentOS 5 as Dom0 > - RHEL 4.5/CentOS 4.5 paravirtualized install, boot and works OK. > - RHEL 5/CentOS 5 paravirtualized install, boot and works OK. > - OpenSuSE 11 doesn''t boot xen kernel. > > 2. Running OpenSuSE 11 as Dom0 > - RHEL 4.5 or RHEL 5 installs correctly but doesn''t boot. I got errors. > > I don''t have error messages right now (but I can get them if asked) > but I see a common difference: RHEL 4.5/RHEL5 and OpenSuSE have > different Xen versions. Also OpenSuSE uses domUloader (or something > like that) as boot manager instead of pygrub (or are they the same > thing?) > > So the final question is: What are the requirements to run a > paravirtualized operating system? Are they fully dependent on Xen > version? > I would like to run different Linux distros paravirtualized, maybe > Opensolaris or FreeBSD. Is it possible? > > Thanks, bytes! > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >-- ------------------------------------------------------------------ Steven C. Timm, Ph.D (630) 840-8525 timm@fnal.gov http://home.fnal.gov/~timm/ Fermilab Computing Division, Scientific Computing Facilities, Grid Facilities Department, FermiGrid Services Group, Assistant Group Leader. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Grant McWilliams
2009-Jan-19 21:10 UTC
Re: [Xen-users] Linux distributions supported by Xen as PVM domUs
> > > > Just about any 2.6 kernel and underlying OS can be run paravirtualized if > you are a smart > enough kernel hacker. I don''t know of anyone who has done > paravirtualization with linux host and freebsd or opensolaris domu''s but > that doesn''t mean it can''t be done. > > SteveI''m running in a very limited environment here but correct me if I''m wrong but if you keep the DomU kernels in the DomU/s /boot directory and they''re xen kernels (as well as the Dom0s kernel) then you can run any Xen aware OS in a PV DomU. So in my case I booted off a kernel in the Dom0 but insalled in a disk image so after rebooting I''m running off the guest kernel. In this way you could run any Xen aware OS because it''s the xen bits in the DomU OS communicating with the xen bits in the Dom0 OS that''s important. Grant _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Boris Derzhavets
2009-Jan-20 09:00 UTC
Re: [Xen-users] Linux distributions supported by Xen as PVM domUs
OpenSolaris 2008.11 guest domain on a Linux dom0 http://lxer.com/module/newswire --- On Mon, 1/19/09, Steven Timm <timm@fnal.gov> wrote: From: Steven Timm <timm@fnal.gov> Subject: Re: [Xen-users] Linux distributions supported by Xen as PVM domUs To: "Jason Voorhees" <jvoorhees1@gmail.com> Cc: xen-users@lists.xensource.com Date: Monday, January 19, 2009, 3:53 PM It was certainly possible to run earlier versions than rhel4.5/centos4.5 if you downloaded the kernel tarballs from xen.org that were current at the time. I still have some xen 3.0.2 installations that are running rhel4 update 2. But the native xen kernel and all the redhat goodies such as virt-install won''t work with anything older than 4.5/5.0. Two other points--if you can get your hands on version 5, update 2 of redhat or centos it is a lot more stable than 5.0 or 5.1 were. Also, don''t believe everything you see in Redhat''s version string. The rpm says xen 3.03 but when it boots the version string says 3.1.2. Just about any 2.6 kernel and underlying OS can be run paravirtualized if you are a smart enough kernel hacker. I don''t know of anyone who has done paravirtualization with linux host and freebsd or opensolaris domu''s but that doesn''t mean it can''t be done. Steve On Mon, 19 Jan 2009, Jason Voorhees wrote:> Hi: > > Reading Red Hat''s Website and a printed manual of RH184 (Red Hat > Virtualization course) I see that RHEL 5 only supports RHEL 4.5 and > RHEL 5 as paravirtualized guests. So I asume this is the same > situation for CentOS 5, right? > > What''s the dependency between Xen versions for paravirtualized guests? > I ask this questions because I got this experiences: > > 1. Running CentOS 5 as Dom0 > - RHEL 4.5/CentOS 4.5 paravirtualized install, boot and works OK. > - RHEL 5/CentOS 5 paravirtualized install, boot and works OK. > - OpenSuSE 11 doesn''t boot xen kernel. > > 2. Running OpenSuSE 11 as Dom0 > - RHEL 4.5 or RHEL 5 installs correctly but doesn''t boot. I goterrors.> > I don''t have error messages right now (but I can get them if asked) > but I see a common difference: RHEL 4.5/RHEL5 and OpenSuSE have > different Xen versions. Also OpenSuSE uses domUloader (or something > like that) as boot manager instead of pygrub (or are they the same > thing?) > > So the final question is: What are the requirements to run a > paravirtualized operating system? Are they fully dependent on Xen > version? > I would like to run different Linux distros paravirtualized, maybe > Opensolaris or FreeBSD. Is it possible? > > Thanks, bytes! > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >-- ------------------------------------------------------------------ Steven C. Timm, Ph.D (630) 840-8525 timm@fnal.gov http://home.fnal.gov/~timm/ Fermilab Computing Division, Scientific Computing Facilities, Grid Facilities Department, FermiGrid Services Group, Assistant Group Leader. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Boris Derzhavets
2009-Jan-20 09:03 UTC
Re: [Xen-users] Linux distributions supported by Xen as PVM domUs
OpenSolaris 2008.11 guest domain on a Linux dom0 http://lxer.com/module/newswire/view/113669/index.html --- On Tue, 1/20/09, Boris Derzhavets <bderzhavets@yahoo.com> wrote: From: Boris Derzhavets <bderzhavets@yahoo.com> Subject: Re: [Xen-users] Linux distributions supported by Xen as PVM domUs To: "Jason Voorhees" <jvoorhees1@gmail.com>, "Steven Timm" <timm@fnal.gov> Cc: xen-users@lists.xensource.com Date: Tuesday, January 20, 2009, 4:00 AM OpenSolaris 2008.11 guest domain on a Linux dom0 http://lxer.com/module/newswire/view/113669/index.html --- On Mon, 1/19/09, Steven Timm <timm@fnal.gov> wrote: From: Steven Timm <timm@fnal.gov> Subject: Re: [Xen-users] Linux distributions supported by Xen as PVM domUs To: "Jason Voorhees" <jvoorhees1@gmail.com> Cc: xen-users@lists.xensource.com Date: Monday, January 19, 2009, 3:53 PM It was certainly possible to run earlier versions than rhel4.5/centos4.5 if you downloaded the kernel tarballs from xen.org that were current at the time. I still have some xen 3.0.2 installations that are running rhel4 update 2. But the native xen kernel and all the redhat goodies such as virt-install won''t work with anything older than 4.5/5.0. Two other points--if you can get your hands on version 5, update 2 of redhat or centos it is a lot more stable than 5.0 or 5.1 were. Also, don''t believe everything you see in Redhat''s version string. The rpm says xen 3.03 but when it boots the version string says 3.1.2. Just about any 2.6 kernel and underlying OS can be run paravirtualized if you are a smart enough kernel hacker. I don''t know of anyone who has done paravirtualization with linux host and freebsd or opensolaris domu''s but that doesn''t mean it can''t be done. Steve On Mon, 19 Jan 2009, Jason Voorhees wrote:> Hi: > > Reading Red Hat''s Website and a printed manual of RH184 (Red Hat > Virtualization course) I see that RHEL 5 only supports RHEL 4.5 and > RHEL 5 as paravirtualized guests. So I asume this is the same > situation for CentOS 5, right? > > What''s the dependency between Xen versions for paravirtualized guests? > I ask this questions because I got this experiences: > > 1. Running CentOS 5 as Dom0 > - RHEL 4.5/CentOS 4.5 paravirtualized install, boot and works OK. > - RHEL 5/CentOS 5 paravirtualized install, boot and works OK. > - OpenSuSE 11 doesn''t boot xen kernel. > > 2. Running OpenSuSE 11 as Dom0 > - RHEL 4.5 or RHEL 5 installs correctly but doesn''t boot. I goterrors.> > I don''t have error messages right now (but I can get them if asked) > but I see a common difference: RHEL 4.5/RHEL5 and OpenSuSE have > different Xen versions. Also OpenSuSE uses domUloader (or something > like that) as boot manager instead of pygrub (or are they the same > thing?) > > So the final question is: What are the requirements to run a > paravirtualized operating system? Are they fully dependent on Xen > version? > I would like to run different Linux distros paravirtualized, maybe > Opensolaris or FreeBSD. Is it possible? > > Thanks, bytes! > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >-- ------------------------------------------------------------------ Steven C. Timm, Ph.D (630) 840-8525 timm@fnal.gov http://home.fnal.gov/~timm/ Fermilab Computing Division, Scientific Computing Facilities, Grid Facilities Department, FermiGrid Services Group, Assistant Group Leader. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Nick Couchman
2009-Jan-20 13:28 UTC
Re: [Xen-users] Linux distributions supported by Xen as PVM domUs
On the issue of RHEL4/5 (CentOS 4/5) not booting correctly on Opensuse...I have several Xen-based systems that run SLES10 SP2 and I''ve experienced similar issues. Basically, for some reason the installer does not write a "root=" entry in the Xen configuration. SuSE-based domUs do not seem to need this entry (must embed it in the initrd or something like that), but RHEL and CentOS definitely need it. So, once you''ve installed and the machine fails to boot, edit the Xen config file for the machine and add the "root=" entry (usually /dev/xvda1), then do a "xm delete <domU> && xm new /path/to/<domU>/config" (usually /etc/xen/vm/<domU>). Then start the domU again and it should boot fine. -Nick>>> "Jason Voorhees" <jvoorhees1@gmail.com> 2009/01/19 13:40 >>>Hi: Reading Red Hat''s Website and a printed manual of RH184 (Red Hat Virtualization course) I see that RHEL 5 only supports RHEL 4.5 and RHEL 5 as paravirtualized guests. So I asume this is the same situation for CentOS 5, right? What''s the dependency between Xen versions for paravirtualized guests? I ask this questions because I got this experiences: 1. Running CentOS 5 as Dom0 - RHEL 4.5/CentOS 4.5 paravirtualized install, boot and works OK. - RHEL 5/CentOS 5 paravirtualized install, boot and works OK. - OpenSuSE 11 doesn''t boot xen kernel. 2. Running OpenSuSE 11 as Dom0 - RHEL 4.5 or RHEL 5 installs correctly but doesn''t boot. I got errors. I don''t have error messages right now (but I can get them if asked) but I see a common difference: RHEL 4.5/RHEL5 and OpenSuSE have different Xen versions. Also OpenSuSE uses domUloader (or something like that) as boot manager instead of pygrub (or are they the same thing?) So the final question is: What are the requirements to run a paravirtualized operating system? Are they fully dependent on Xen version? I would like to run different Linux distros paravirtualized, maybe Opensolaris or FreeBSD. Is it possible? Thanks, bytes! This e-mail may contain confidential and privileged material for the sole use of the intended recipient. If this email is not intended for you, or you are not responsible for the delivery of this message to the intended recipient, please note that this message may contain SEAKR Engineering (SEAKR) Privileged/Proprietary Information. In such a case, you are strictly prohibited from downloading, photocopying, distributing or otherwise using this message, its contents or attachments in any way. If you have received this message in error, please notify us immediately by replying to this e-mail and delete the message from your mailbox. Information contained in this message that does not relate to the business of SEAKR is neither endorsed by nor attributable to SEAKR. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Michael Monnerie
2009-Jan-27 07:14 UTC
Re: [Xen-users] Linux distributions supported by Xen as PVM domUs
On Montag 19 Januar 2009 Jason Voorhees wrote:> I would like to run different Linux distros paravirtualized, maybe > Opensolaris or FreeBSD. Is it possible?openSUSE 11.1 runs as XEN dom0 or domU automatically. http://opensuse.org/ mfg zmi -- // Michael Monnerie, Ing.BSc ----- http://it-management.at // Tel: 0660 / 415 65 31 .network.your.ideas. // PGP Key: "curl -s http://zmi.at/zmi.asc | gpg --import" // Fingerprint: AC19 F9D5 36ED CD8A EF38 500E CE14 91F7 1C12 09B4 // Keyserver: wwwkeys.eu.pgp.net Key-ID: 1C1209B4 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Boris Derzhavets
2009-Jan-27 10:27 UTC
Re: [Xen-users] Linux distributions supported by Xen as PVM domUs
*************************************************************** To port Xen 3.3.1 to xen disabled CentOS 5.2 instance (64 bit) *************************************************************** Download recent versions of git and mercurial (tar.gz) and install . make install for "hg" requires :- # cd Working_dir # make # make install # cp -R mercurial /usr/local/bin Directory where "hg" has been copied requires mercurial folder, when you do "make local" everything is OK , but you have:- # export PATH=Working_dir:$PATH. When you do "make install" a workaround above is required. Then:- # which hg would work fine # cd /usr/src/ # tar -zxvf xen-3.3.1.tar.gz # cd xen-3.3.1 # make world # make install Determine the name of the Xen Linux kernel version that was installed. # ls /lib/modules There should be a directory for the Xen Linux kernel (e.g.2.6.18.8-xen) Generate the module dependency list and map files # /sbin/depmod 2.6.18.8-xen Create the Xen initial ramdisk image # /sbin/mkinitrd /boot/initrd-2.6.18.8-xen.img 2.6.18.8-xen Disable tls # mv /lib64/tls /lib64/tls.disabled Set xend service to start # /sbin/chkconfig –add xend # /sbin/chkconfig xend on Install bridge-utils:- # yum install bridge-utils ************************************************************************ Edit /boot/grub/grub.conf and copy one of the existing boot entries to make the required changes for Xen and reboot into new kernel. ************************************************************************* title Xen-3.3.1 CentOS 5.2 x86_64 (2.6.18.8-xen) (/dev/sdb12) root (hd1,11) kernel /xen-3.3.gz module /vmlinuz-2.6.18.8-xen ro root=/dev/VolGroup01/LogVol00 rhgb quiet module /initrd-2.6.18.8-xen.img Next :- You are missing libvirt,virt-install ant etc. You need openSUSE 11.1 ;( No, really you don''t:- http://lxer.com/module/newswire/view/112300/index.html --- On Tue, 1/27/09, Michael Monnerie <michael.monnerie@is.it-management.at> wrote: From: Michael Monnerie <michael.monnerie@is.it-management.at> Subject: Re: [Xen-users] Linux distributions supported by Xen as PVM domUs To: xen-users@lists.xensource.com Date: Tuesday, January 27, 2009, 2:14 AM On Montag 19 Januar 2009 Jason Voorhees wrote:> I would like to run different Linux distros paravirtualized, maybe > Opensolaris or FreeBSD. Is it possible?openSUSE 11.1 runs as XEN dom0 or domU automatically. http://opensuse.org/ mfg zmi -- // Michael Monnerie, Ing.BSc ----- http://it-management.at // Tel: 0660 / 415 65 31 .network.your.ideas. // PGP Key: "curl -s http://zmi.at/zmi.asc | gpg --import" // Fingerprint: AC19 F9D5 36ED CD8A EF38 500E CE14 91F7 1C12 09B4 // Keyserver: wwwkeys.eu.pgp.net Key-ID: 1C1209B4 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Boris Derzhavets
2009-Feb-01 10:19 UTC
Re: [Xen-users] Linux distributions supported by Xen as PVM domUs
Sorry, to install "hg" in common location on CentOS 5.2 cd /working_dir/mercurial-1.1.2 make local cp -R hg* /usr/local/bin cp -R mercurial /usr/local/bin --- On Tue, 1/27/09, Boris Derzhavets <bderzhavets@yahoo.com> wrote: From: Boris Derzhavets <bderzhavets@yahoo.com> Subject: Re: [Xen-users] Linux distributions supported by Xen as PVM domUs To: xen-users@lists.xensource.com, "Michael Monnerie" <michael.monnerie@is.it-management.at> Date: Tuesday, January 27, 2009, 5:27 AM *************************************************************** To port Xen 3.3.1 to xen disabled CentOS 5.2 instance (64 bit) *************************************************************** Download recent versions of git and mercurial (tar.gz) and install . make install for "hg" requires :- # cd Working_dir # make # make install # cp -R mercurial /usr/local/bin Directory where "hg" has been copied requires mercurial folder, when you do "make local" everything is OK , but you have:- # export PATH=Working_dir:$PATH. When you do "make install" a workaround above is required. Then:- # which hg would work fine # cd /usr/src/ # tar -zxvf xen-3.3.1.tar.gz # cd xen-3.3.1 # make world # make install Determine the name of the Xen Linux kernel version that was installed. # ls /lib/modules There should be a directory for the Xen Linux kernel (e.g.2.6.18.8-xen) Generate the module dependency list and map files # /sbin/depmod 2.6.18.8-xen Create the Xen initial ramdisk image # /sbin/mkinitrd /boot/initrd-2.6.18.8-xen.img 2.6.18.8-xen Disable tls # mv /lib64/tls /lib64/tls.disabled Set xend service to start # /sbin/chkconfig –add xend # /sbin/chkconfig xend on Install bridge-utils:- # yum install bridge-utils ************************************************************************ Edit /boot/grub/grub.conf and copy one of the existing boot entries to make the required changes for Xen and reboot into new kernel. ************************************************************************* title Xen-3.3.1 CentOS 5.2 x86_64 (2.6.18.8-xen) (/dev/sdb12) root (hd1,11) kernel /xen-3.3.gz module /vmlinuz-2.6.18.8-xen ro root=/dev/VolGroup01/LogVol00 rhgb quiet module /initrd-2.6.18.8-xen.img Next :- You are missing libvirt,virt-install ant etc. You need openSUSE 11.1 ;( No, really you don''t:- http://lxer.com/module/newswire/view/112300/index.html --- On Tue, 1/27/09, Michael Monnerie <michael.monnerie@is.it-management.at> wrote: From: Michael Monnerie <michael.monnerie@is.it-management.at> Subject: Re: [Xen-users] Linux distributions supported by Xen as PVM domUs To: xen-users@lists.xensource.com Date: Tuesday, January 27, 2009, 2:14 AM On Montag 19 Januar 2009 Jason Voorhees wrote:> I would like to run different Linux distros paravirtualized, maybe > Opensolaris or FreeBSD. Is it possible?openSUSE 11.1 runs as XEN dom0 or domU automatically. http://opensuse.org/ mfg zmi -- // Michael Monnerie, Ing.BSc ----- http://it-management.at // Tel: 0660 / 415 65 31 .network.your.ideas. // PGP Key: "curl -s http://zmi.at/zmi.asc | gpg --import" // Fingerprint: AC19 F9D5 36ED CD8A EF38 500E CE14 91F7 1C12 09B4 // Keyserver: wwwkeys.eu.pgp.net Key-ID: 1C1209B4 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Seemingly Similar Threads
- Linux distributions supported by Xen as PVM domUs
- How (not) to destroy a PostgreSQL db in domU on powerfail
- Host does not support virtualization type 'xen'
- Re: Xen 3.2.0 on debian etch, many kernel panics
- installing DomU with two network bridges via virt-install