Hi, I am new to virtualisation and am a bit lost. I have a shinny new server that must run CentOS 5.5. I need to create a VM of an Ubuntu sever to run as the main guest. I wanted to use paravirtualisation as I read it''s can perform better. The bit that I am getting stuck on is forcing the virt-install to use paravirtualisation and the installation distribution location. I have a iso image mounted and shared via http. I can browse the installation tree. It looks the same as the one here: http://mirror.bytemark.co.uk/ubuntu/dists/maverick I have tried giving virt-install different path parts to install from but I always get the error that the installation distribution is invalid. Can anyone help understand what the installation requires please? Thanks, D. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi, Am Donnerstag, den 04.11.2010, 13:16 +0000 schrieb Dermot:> Hi, > > I am new to virtualisation and am a bit lost. > > I have a shinny new server that must run CentOS 5.5. I need to create > a VM of an Ubuntu sever to run as the main guest. I wanted to use > paravirtualisation as I read it''s can perform better. The bit that I > am getting stuck on is forcing the virt-install to use > paravirtualisation and the installation distribution location. I have > a iso image mounted and shared via http. I can browse the installation > tree. It looks the same as the one here: > > http://mirror.bytemark.co.uk/ubuntu/dists/maverick > > I have tried giving virt-install different path parts to install from > but I always get the error that the installation distribution is > invalid. > > Can anyone help understand what the installation requires please?never tried virt-install with debian and derivates, but i would recommend to use the "netinstall-method" provided by the debian-installer Just put http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-i386/current/images/netboot/xen/xm-debian.cfg in e.g. /etc/xen/lucid.cfg edit the vif= and disk=-lines to your needs. and start the the installation xm create -c lucid.cfg install=true and ur done Another nice approach is the usage of xen-tools.> Thanks, > D.hth, thomas> _______________________________________________ > 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
On 4 November 2010 14:53, Thomas Halinka <lists@thohal.de> wrote:> Hi, > > Am Donnerstag, den 04.11.2010, 13:16 +0000 schrieb Dermot: >> Hi, >> >> I am new to virtualisation and am a bit lost. >> >> I have a shinny new server that must run CentOS 5.5. I need to create >> a VM of an Ubuntu sever to run as the main guest. I wanted to use >> paravirtualisation as I read it''s can perform better. The bit that I >> am getting stuck on is forcing the virt-install to use >> paravirtualisation and the installation distribution location. I have >> a iso image mounted and shared via http. I can browse the installation >> tree. It looks the same as the one here: >> >> http://mirror.bytemark.co.uk/ubuntu/dists/maverick >> >> I have tried giving virt-install different path parts to install from >> but I always get the error that the installation distribution is >> invalid. >> >> Can anyone help understand what the installation requires please? > > never tried virt-install with debian and derivates, but i would > recommend to use the "netinstall-method" provided by the > debian-installer > > Just put > http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-i386/current/images/netboot/xen/xm-debian.cfgThis config seems to work. I added the xm create arguments install-arch=amd64 otherwise it will default to i386.> in e.g. /etc/xen/lucid.cfg > > edit the vif= and disk=-lines to your needs. > > and start the the installation > > xm create -c lucid.cfg install=true > > and ur doneI am indeed. Thank you very much. Does paravirtualisation always require a network install? And why? Thanx, Dp. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi again, Am Donnerstag, den 04.11.2010, 16:39 +0000 schrieb Dermot:> On 4 November 2010 14:53, Thomas Halinka <lists@thohal.de> wrote: > > Hi, > > > > Am Donnerstag, den 04.11.2010, 13:16 +0000 schrieb Dermot: > >> Hi, > >> > >> I am new to virtualisation and am a bit lost. > >>.......> > > > and ur done > > I am indeed. Thank you very much. Does paravirtualisation always > require a network install?There are a lot of install-method for PV-Guests, like - copy existing /-FS - unpack /-FS-tarballs - debootstrap / febootstrap /rinse - yum / rpm - xen-tools (which is a wrapper around the above-mentioned tools) - net-install throught d-i, kickstart, whatever - and so on....> And why?PV-Guests have no boot-order, so u cant boot a PV-Guest from a CD. So the point is to have a xen-compatible Kernel (+ initrd) with "some instructions what to do next, e.g. start an installation or start /sbin/init from somewhere"....> Thanx, > Dp.cu, thomas> _______________________________________________ > 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
On 4 November 2010 17:03, Thomas Halinka <lists@thohal.de> wrote:> Hi again, > > Am Donnerstag, den 04.11.2010, 16:39 +0000 schrieb Dermot: >> On 4 November 2010 14:53, Thomas Halinka <lists@thohal.de> wrote: >> > Hi, >> > >> > Am Donnerstag, den 04.11.2010, 13:16 +0000 schrieb Dermot: >> >> Hi, >> >> >> >> I am new to virtualisation and am a bit lost. >> >> > > ....... > >> > >> > and ur done >> >> I am indeed. Thank you very much. Does paravirtualisation always >> require a network install? > > There are a lot of install-method for PV-Guests, like > > - copy existing /-FS > - unpack /-FS-tarballs > - debootstrap / febootstrap /rinse > - yum / rpm > - xen-tools (which is a wrapper around the above-mentioned tools) > - net-install throught d-i, kickstart, whatever > - and so on....I had been trying to use debootstrap but it didn''t install a kernel and initrd. I didn''t know how to proceed after that.>> And why? > > PV-Guests have no boot-order, so u cant boot a PV-Guest from a CD. So > the point is to have a xen-compatible Kernel (+ initrd) with "some > instructions what to do next, e.g. start an installation or > start /sbin/init from somewhere"....Ok. I think I understand. Is it possible to create a guest as fully-virtualised and then switch it to para-virtualised once the install process has completed and you''ve had a few reboots? Dp. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi, Am Donnerstag, den 04.11.2010, 17:49 +0000 schrieb Dermot:> On 4 November 2010 17:03, Thomas Halinka <lists@thohal.de> wrote: > > Hi again, > > > > Am Donnerstag, den 04.11.2010, 16:39 +0000 schrieb Dermot: > >> On 4 November 2010 14:53, Thomas Halinka <lists@thohal.de> wrote: > >> > Hi, > >> > > >> > Am Donnerstag, den 04.11.2010, 13:16 +0000 schrieb Dermot: > >> >> Hi, > >> >> > >> >> I am new to virtualisation and am a bit lost. > >> >> > > > > ....... > > > >> > > >> > and ur done > >> > >> I am indeed. Thank you very much. Does paravirtualisation always > >> require a network install? > > > > There are a lot of install-method for PV-Guests, like > > > > - copy existing /-FS > > - unpack /-FS-tarballs > > - debootstrap / febootstrap /rinse > > - yum / rpm > > - xen-tools (which is a wrapper around the above-mentioned tools) > > - net-install throught d-i, kickstart, whatever > > - and so on.... > > I had been trying to use debootstrap but it didn''t install a kernel > and initrd. I didn''t know how to proceed after that.chroot /$DEBOOTSTRAP-DIR apt-get install $kernel-image-foo # no idea, which debian u r using exit cp /$DEBOOTSTRAP-DIR/boot/$vmlinuz /boot/debian-kernel cp /$DEBOOTSTRAP-DIR/boot/$vinitrd /boot/debian-initrd and edit vm.cfg to use .. kernel=/boot/debian-kernel ramdisk=/boot/debian-initrd ..> > >> And why? > > > > PV-Guests have no boot-order, so u cant boot a PV-Guest from a CD. So > > the point is to have a xen-compatible Kernel (+ initrd) with "some > > instructions what to do next, e.g. start an installation or > > start /sbin/init from somewhere".... > > Ok. I think I understand. Is it possible to create a guest as > fully-virtualised and then switch it to para-virtualised once the > install process has completed and you''ve had a few reboots?Sure - have a look here: http://bderzhavets.wordpress.com/2010/03/26/virst-installvirt-manager-at-xen-4-0-rc8-2-6-32-10-pvops-dom0-on-top-ubuntu-karmic-koala-server/ The section after the virt-install-command is the interesting part to you.> Dp.Have phun, thomas> _______________________________________________ > 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