Univention Bugzilla – Bug 30587
Paravirtualization with Citrix Xen Server
Last modified: 2013-05-29 18:05:43 CEST
We should document how to change a UCS 3.1 installation in Citrix XenServer 6 to paravirtualization. I think it should be part of the extended manual. See also for an old version: http://wiki.univention.de/index.php?title=Citrix_Xen_Server It is important that we use the UCS kernel and the initrd. The old article uses the citrix kernel.
I moved the bug to UCS, maybe we have to change something with the installation DVD.
After some tests we have the following problems: - A paravirtual boot from our DVD is not possible. This needs some more investigation if we want to support it. But I think it gets too complicate for a normal installation and it is better if we support the transformation from a normal installation to the paravirtual setup. - BIOS_BOOT partition: The auto partition creates the BIOS Boot partition as the first partition. The Citrix XenServer version of pygrub seems to have a problem with this. /boot must be the first partition. - ext4 on /boot: The auto partition uses ext4 for /boot. The Citrix XenServer version of pygrub has a problem with ext4 on /boot. A howto should include: - Convert /boot from ext4 to ext3 - Make /boot the first partition - Start getty on hvc0 echo "vc:2345:respawn:/sbin/getty 38400 hvc0" >>/etc/inittab - Switch the VM to paravirtual: xe vm-param-set uuid=$UUID HVM-boot-policy="" xe vm-param-set uuid=$UUID PV-bootloader=pygrub xe vm-param-set uuid=$UUID PV-args="console=hvc0" - Set the hard disk bootable: xe vbd-list vm-uuid=$UUID xe vbd-param-set uuid=$DISK_UUID bootable=true
Convert the instance back to HVM: xe vm-param-set uuid=$UUID HVM-boot-policy="BIOS order" xe vm-param-set uuid=$UUID PV-bootloader""
The Wiki article has been created: http://wiki.univention.de/index.php?title=Citrix_Xen_Server I've also added a hint in the manual.
Instructions work. A link is available in the manual. Verified
Nothing to release.