This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Xen Support

I have searched the forums for a definitive answer to this and have not found one. Currently running Xen 4.x on SLES 11 sp2. What I am trying to find out is if astaro is supported running on this platform. I have tried the following.

I have tried with both 8.3.x installer and 9.x.

1. Install as a HVM using any type of network adapter whether full or para
virtualized will hang the installer at finding network adapters. It hard locks. 

2. Attempt to install as paravirtualized os just hangs upon booting the cd. I am using the iso to install from saying it is not a supported boot device or something like that.

I have tried as sles 11 and also as other for the type of virtual machine.

Thank you for any advice.


This thread was automatically locked due to age.
  • You probably wont have luck with pygrub, because our vmlinuz is BZIP2 compress at the moment (will change back to GZIP in 9.100) and pygrub has no BZIP2 support as far as I know...

    No there is no way to install in one partition, but feel free to create an image with one partition
    yourself by "cp -ar" all files into one partition and modify /etc/fstab afterwards.


    Exactly, you are right, I found following additional information reporting problem with BZIP2 in domain-builder-ng.log:


    xc_dom_allocate: cmdline="root=/dev/disk/by-label/root vga=791 rootflags=data=ordered splash=silent root=/dev/disk/by-label/root rootfla
    gs=data=ordered", features=""
    xc_dom_kernel_file: filename="/var/run/xend/boot/boot_kernel.xtw9w_"
    xc_dom_malloc_filemap    : 2194 kB
    xc_dom_ramdisk_file: filename="/var/run/xend/boot/boot_ramdisk.g443y-"
    xc_dom_malloc_filemap    : 3549 kB
    xc_dom_boot_xen_init: ver 4.0, caps xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64
    xc_dom_parse_image: called
    xc_dom_find_loader: trying ELF-generic loader ... failed
    xc_dom_find_loader: trying Linux bzImage loader ... xc_try_bzip2_decode: BZIP2 decompress support unavailable
    xc_dom_bzimageloader.c:433: panic: xc_dom_probe_bzimage_kernel unable to BZIP2 decompress kernelfailed
    xc_dom_find_loader: trying multiboot-binary loader ... failed
    xc_dom_core.c:517: panic: xc_dom_find_loader: no loader found
    xc_dom_release: called



    OK, I will look if I can somehow use the domUloader.py from SUSE, but I think, for this moment it is enough for me to have at least hvm and look after 9.1 will be released with gzipped kernel if it will be better with usage of pygrub...
  • You probably wont have luck with pygrub, because our vmlinuz is BZIP2 compress at the moment (will change back to GZIP in 9.100) and pygrub has no BZIP2 support as far as I know...

    No there is no way to install in one partition, but feel free to create an image with one partition
    yourself by "cp -ar" all files into one partition and modify /etc/fstab afterwards.


    Do we have any timeline about the ASG 9.100 release ? 

    I am desperately awaiting for this considering I am running Xen on a low-powered, non-HVM capable hardware.

    thanks for your insight
    Stéphane
  • According to AComazzetto, "UTM 9.1 [...] is targeted to begin beta in late 2012/early 2013 for release in Q1 2013."

    Cheers - Bob
  • I was just testing Xen on a lab machine, and wanted to install UTM as first VM:
    - installed latest XCP 1.6
    - downloaded the latest UTM iso (not the beta).
    - installed UTM in HVM mode
    - cleared all HVM parameters of the VM
    - set "PV-bootloader" parameter of the VM to "pygrub"

    And the UTM now works in PV mode without additional tweaks.
    So it looks possible even with 9.004-34
  • Any specific reasons you want to have paravirtual support?

    For paravirtual support, remove lines kernel, builder and boot. Then add the following lines:
    bootloader = "/usr/lib/xen/boot/domUloader.py"
    
    bootargs="--entry=xvda1:/boot/vmlinuz,/boot/initrd"
    extra="root=/dev/disk/by-label/root rootflags=data=ordered"


    To access the console, you have to edit /etc/inittab within the virtual UTM
    and replace "tty1" by "hvc0".

    Cheers
     Ulrich


    I trying to setup ASG as a fully paravirtualized install so I can passthrough my nic for this reason.

    I'm using opensuse 12.3 and xen. I can install in hvm mode, but am not able to install in pvm.

    I also tried to convert fvm to pvm per your instructions above, but that does not seem to work for me. As I am on opensuse, I've tried both pvm bootloaders domUloader.py and pygrub. With domUloader.py, I just get "bootloader returned no data" error and not much else. With pygrub, the domU aborts right after start with little more logging.

    I'm trying to get going with asg-9.1beta.

    Any help is greatly appreciated. Thanks.
  • Hi There,

    I was just testing Xen on a lab machine, and wanted to install UTM as first VM:
    - installed latest XCP 1.6
    - downloaded the latest UTM iso (not the beta).
    - installed UTM in HVM mode
    - cleared all HVM parameters of the VM
    - set "PV-bootloader" parameter of the VM to "pygrub"

    And the UTM now works in PV mode without additional tweaks.
    So it looks possible even with 9.004-34


    May be you could share the complete experience with version of host, config file, etc.

    I guess many people are awaiting for this and since debian based (or alike) users are using pygrub which does not support Bzip2 vmlinuz kernels I assume you are using Xen Server under Suse.

    Thanks.
    Stephane
  • Hello, 

    I can confirm now with the version 9.100-16.1 The installation of HVM guest works without problems, the network interfaces are correctly recognized, great :-) I will try to activate the PV mode (my instances run on Xen under Debian) with pyGrub, I hope the vmlinuz in 9.1 is GZIP again, so it could be, hopefully, used. I will post here the results.
    Archie.
  • I have also successfully realized the start in paravirtual mode (Sophos UTM 9.101). I have only replaced the lines "kernel","ramdisk" and "loader" by the line
    bootloader  = '/usr/lib/xen-default/bin/pygrub'
    - everybody can check the validity of grub on the astaro-bootloader by using the statement
    /usr/lib/xen-default/bin/pygrub /dev/myVG/DomU.asg.v9
    and everything worked from the first try :-)

    Inthe attachments is theparavirtual configuration(pv.sxp.txt), fully virtualized configuration (hvm.sxp.txt) and also the log of the fully virtualized domain displayed if using the statement "xm console".

    Like usually,no warranty,butit works so for me :-)

    I find italso good to use jumbo frames between the virtual instances and virtual firewall instances.

    Artur
  • Hi Artur,

    I have also successfully realized the start in paravirtual mode (Sophos UTM 9.101). I have only replaced the lines "kernel","ramdisk" and "loader" by the line
    bootloader  = '/usr/lib/xen-default/bin/pygrub'
    - everybody can check the validity of grub on the astaro-bootloader by using the statement
    /usr/lib/xen-default/bin/pygrub /dev/myVG/DomU.asg.v9
    and everything worked from the first try :-)


    Thanks for this indeed this works the first try for me but only with 64 bits kernel, no luck with 32bits installation and since my device is 32 bits only, I have no luck there.

    I tried on 2 distinctive machines, with Ubuntu 12+ server and while using the exact same configuration as yours, the only difference was the type of installation 32 vs 64 bits.

    When creating the VM with the 32 bits installation, the result is pretty much depressing: 
    Using config file "./astaro-pv.sxp".
    
    Error: (2, 'Invalid kernel', 'elf_xen_note_check: ERROR: Will only load images built for the generic loader or Linux images')


    Unless the Astaro team find a solution I guess I will give up with xen and use VMWare or equivalent as this will be much simpler on low powered device, less efficient and flexible but by far simpler.

    regards
    Stéphane
  • Hi Artur, 

    I am interested in running Sophos UTM 9.1 with xen in paravirtual mode as my server don't support HVM. I wanted to know if you did the install in paravirtual mode or if you started in HVM and just changed the xen config file to remove HVM instructions ?

    Regards, 
    Gael