Hi all, is there someone who could share his own expericence and best pratics to PV lenny in CentOS enironment? Thanks all and regards, Francesco Gallo _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, Sep 2, 2009 at 1:52 PM, Francesco Gallo<cluster@xinet.it> wrote:> is there someone who could share his own expericence and best pratics to PV > lenny in CentOS enironment?Last time I tried using debootstrap (generally following http://bderzhavets.wordpress.com/2009/01/07/debootstrap-intrepid-server-pv-domu-at-xen-331-centos-52-dom0-all-64-bit/, adjusted a bit for Lenny) it doesn''t go so well. Some manual intervention required as debootstrap can''t install all packages cleanly (I think one of the packages require proc or sys to be mounted on chroot environment). The method works great for Ubuntu though. Another method is to create HVM domU first, and convert it to PV domU later. Then there''s also virt-install support for Debian domUs, but AFAIK this is not available in RHEL/Centos version of virt-install yet. Either way, I recommend to have kernel and initrd inside domU (and loaded with pygrub) to make domU upgrades easier. I can''t comment much about performance though, as I prefer RHEL for production and use Ubuntu/Debian for testing purposes only. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
A best pratics to convert HVM debian domU to PV? Thanks for your answer. Francesco -----Messaggio originale----- Da: Fajar A. Nugraha [mailto:fajar@fajar.net] Inviato: mercoledì 2 settembre 2009 9.09 A: Francesco Gallo Cc: Xen User-List Oggetto: Re: [Xen-users] Debian PV domU on Centos dom0 On Wed, Sep 2, 2009 at 1:52 PM, Francesco Gallo<cluster@xinet.it> wrote:> is there someone who could share his own expericence and best pratics toPV> lenny in CentOS enironment?Last time I tried using debootstrap (generally following http://bderzhavets.wordpress.com/2009/01/07/debootstrap-intrepid-server-pv-d omu-at-xen-331-centos-52-dom0-all-64-bit/, adjusted a bit for Lenny) it doesn''t go so well. Some manual intervention required as debootstrap can''t install all packages cleanly (I think one of the packages require proc or sys to be mounted on chroot environment). The method works great for Ubuntu though. Another method is to create HVM domU first, and convert it to PV domU later. Then there''s also virt-install support for Debian domUs, but AFAIK this is not available in RHEL/Centos version of virt-install yet. Either way, I recommend to have kernel and initrd inside domU (and loaded with pygrub) to make domU upgrades easier. I can''t comment much about performance though, as I prefer RHEL for production and use Ubuntu/Debian for testing purposes only. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, Sep 2, 2009 at 2:32 PM, Francesco Gallo<cluster@xinet.it> wrote:> A best pratics to convert HVM debian domU to PV?If you''re asking "is it a best practice to convert HVM domU to PV?", then I don''t know. It works, but for me it''s easier to use debootstrap, and use the resulting filesystem to create a template (in tar.gz) then create domUs using that template :D If you''re asking "how to convert HVM debian domU to PV", here''s what I did some time ago for Ubuntu and Centos domU : http://lists.xensource.com/archives/html/xen-users/2009-05/msg00536.html Debian convert process should be similar to Ubuntu, with the main difference that Debian uses init instead of upstart. So instead of creating /etc/event.d/hvc0 (Ubuntu), you need to edit /etc/inittab to spawn login prompt on hvc0. Hope that helps. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Forwarded to the list ---------- Forwarded message ---------- From: Ian Murray <murrayie@yahoo.co.uk> Date: Wed, Sep 2, 2009 at 3:17 PM Subject: Re: R: [Xen-users] Debian PV domU on Centos dom0 To: "Fajar A. Nugraha" <fajar@fajar.net> ----- Original Message ----> From: Fajar A. Nugraha <fajar@fajar.net> > To: Francesco Gallo <cluster@xinet.it> > Cc: Xen User-List <xen-users@lists.xensource.com> > Sent: Wednesday, 2 September, 2009 8:43:29 > Subject: Re: R: [Xen-users] Debian PV domU on Centos dom0 > > On Wed, Sep 2, 2009 at 2:32 PM, Francesco Gallowrote: > > A best pratics to convert HVM debian domU to PV? > > If you''re asking "is it a best practice to convert HVM domU to PV?", > then I don''t know. > It works, but for me it''s easier to use debootstrap, and use the > resulting filesystem to create a template (in tar.gz) then create > domUs using that template :D > > If you''re asking "how to convert HVM debian domU to PV", here''s what I > did some time ago for Ubuntu and Centos domU : > http://lists.xensource.com/archives/html/xen-users/2009-05/msg00536.html > > Debian convert process should be similar to Ubuntu, with the main > difference that Debian uses init instead of upstart. So instead of > creating /etc/event.d/hvc0 (Ubuntu), you need to edit /etc/inittab to > spawn login prompt on hvc0. >You can create a PV domu using Debian netboot kernel and ramdisk. I did it just last week to prove that it can be done. I think not 64 bit for some reason. I don''t know much about Debian, so I can''t really but much more help. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users