Welcome, Guest. Please login or register.
Did you miss your activation email?
Saturday 02 November 2024, 01:41:11 am

Login with username, password and session length

The Latest Endian Firewall is now available for download HERE
14248 Posts in 4376 Topics by 6515 Members
Latest Member: hulteends
Search:     Advanced search
+  EFW Support
|-+  Support
| |-+  Installation Support
| | |-+  Install in Xen as PV
0 Members and 3 Guests are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Install in Xen as PV  (Read 30547 times)
maxxer
Full Member
***
Offline Offline

Posts: 13


« 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..
Logged
martman22
Full Member
***
Offline Offline

Posts: 27


« Reply #1 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.



Logged
martman22
Full Member
***
Offline Offline

Posts: 27


« Reply #2 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.
Logged
turitopa
Full Member
***
Offline Offline

Posts: 30


« Reply #3 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
Logged

Running XenServr 5.5 on a Dell Poweredge 2950 III rackserver.
vm Endian 2.3
vm sbs 2008
martman22
Full Member
***
Offline Offline

Posts: 27


« Reply #4 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.
Logged
desiboyz
Jr. Member
*
Offline Offline

Posts: 1


« Reply #5 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.
Logged
martman22
Full Member
***
Offline Offline

Posts: 27


« Reply #6 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.
Logged
martman22
Full Member
***
Offline Offline

Posts: 27


« Reply #7 on: Wednesday 11 January 2012, 12:06:03 am »

Installed fine on XenServer 5.6.
Logged
eduardolfl
Jr. Member
*
Offline Offline

Posts: 1


« Reply #8 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?
Logged
martman22
Full Member
***
Offline Offline

Posts: 27


« Reply #9 on: Tuesday 24 April 2012, 03:46:56 am »

In version 2.51 you can install the PV kernel using "smart install kernel-PAE" . 
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Page created in 0.094 seconds with 18 queries.
Powered by SMF 1.1 RC2 | SMF © 2001-2005, Lewis Media Design by 7dana.com