EFW Support

Support => Installation Support => Topic started by: maxxer on Saturday 22 January 2011, 01:14:58 am



Title: Install in Xen as PV
Post by: maxxer on Saturday 22 January 2011, 01:14:58 am
Hi.

I've a  of EFW 2.4 installations as Xen or XenServer virtual machines. It works great, but they're hardware virtualized (HVM) so they're slower than how it could be if Paravirtualized (PV).

Has anyone had success in converting efw from hvm to pv?
I tried on a Xen opensource installation but didn't manage, every time (iirc) Endian wasn't detecting partitions..


Title: Re: Install in Xen as PV
Post by: martman22 on Thursday 02 June 2011, 09:10:54 pm
After a lot of trial and error I finally got this working today. Here are some directions for Xenserver 5.5 and Endian Paravirtualization. I received a lot of help from "Aender" on his endian forum post.  Thank you.

1. Download Endian src rpms.  Copy the PAE kernel to your working Endian 2.4 in HVM mode and install with --nodeps option. It complains about being "i686" instead of "i586" rpm.
2. Edit  /boot/grub/device.map and change to "/dev/xvda".
3. Edit /boot/grub/grub.conf and add "console=hvc0" to your PAE kernel line.
4. Edit /etc/inittab and change "tty1" on first  respawn line to "hvc0".
5. Edit /etc/businfotab and change the eth0 line to "eth0  Xen-eth0" and the eth1 line to "eth1 Xen-eth1".
6. Edit /etc/securetty and add "hvc0" to the bottom of the list.

On the Citrix Xen host machine do the following:

1. Run xe vm-list to indentify the virtual machine.
2. Run xe vm-param-set uuid="virtual machine uuid" HVM-boot-policy=""
3. Run xe vm-param-remove uuid="virtual machine uuid" param-name=HVM-boot-params param-key=order
4. Run xe vm-param-set uuid="virtual machine uuid" PV-bootloader=pygrub
5. Run xe vm-param-list uuid="virtual machine uuid" to check work.
6. Run xe vbd-list to identify virtual machine disk.
7. Run xe vbd-param-set uuid="virtual disk uuid" bootable=true

Reboot your virtual machine to test.





Title: Re: Install in Xen as PV
Post by: martman22 on Tuesday 14 June 2011, 10:53:11 pm
This will also work with Endian 2.4.1 if you install the PAE kernel from version 2.4.  This will back-rev the kernel but without having a PAE kernel for 2.4.1 or sources we are left with very little options. You will need to install the kernel with the --nodeps option.


Title: Re: Install in Xen as PV
Post by: turitopa on Thursday 30 June 2011, 07:29:40 am
Hi Martman22,

I'd like to setup my own Endian 2.3 in PV mode on Xen Host.
where do i find the Endian src rpms?

thanks


Title: Re: Install in Xen as PV
Post by: martman22 on Wednesday 06 July 2011, 12:05:47 am
I'm not allowed to use URL's in this forum but you can do a search on Sourceforge.net and you should find them there.


Title: Re: Install in Xen as PV
Post by: desiboyz on Wednesday 04 January 2012, 09:37:53 am
Hi.

I've a  of EFW 2.4 installations as Xen or XenServer virtual machines. It works great, but they're hardware virtualized (HVM) so they're slower than how it could be if Paravirtualized (PV).

Has anyone had success in converting efw from hvm to pv?
I tried on a Xen opensource installation but didn't manage, every time (iirc) Endian wasn't detecting partitions..


Hello,

I'm trying to install EFW 2.5 on Xen 6. Which template did you select during the creation of the new VM? I have tried "Other Install Media" and the console goes blank during the install. Can you help?

THanks,
Ken.


Title: Re: Install in Xen as PV
Post by: martman22 on Saturday 07 January 2012, 05:54:33 am
I usually use a Windows 2003 template for the initial install. I did not try version 2.5 yet as I am downloading it now. I'll let you know how it goes.


Title: Re: Install in Xen as PV
Post by: martman22 on Wednesday 11 January 2012, 12:06:03 am
Installed fine on XenServer 5.6.


Title: Re: Install in Xen as PV
Post by: eduardolfl on Tuesday 14 February 2012, 05:59:49 am
Very nice, thanks for this tip.
After restarting the machine I installed the packages:
xe-guest-utilities-5.6.0-xenstore-578
xe-guest-utilities-5.6.0-578
And yet the XenCenter continues with the message "XenServer tools not installed"
You could make this message go away?


Title: Re: Install in Xen as PV
Post by: martman22 on Tuesday 24 April 2012, 03:46:56 am
In version 2.51 you can install the PV kernel using "smart install kernel-PAE" .