EFW Support

Support => Installation Support => Topic started by: sclergio on Thursday 08 July 2010, 10:52:52 pm



Title: how to install endian community on xen in paravirtualization?
Post by: sclergio on Thursday 08 July 2010, 10:52:52 pm
hi all, this my first post and apologyze for not introducing
i have on my server xen5.5 and i want install endian in paravirtualization, for do this i need the "install url" [locate on xen center new vm wizard] but i can't find the iso "custom". . .can someone helpme?
thanks!!

ps: sorry but i'm not speak english very well!!


Title: Re: how to install endian community on xen in paravirtualization?
Post by: aender on Friday 09 July 2010, 03:02:30 am
Sorry.

Only in GERMAN:

Anleitung um eine Endian als domU statt HVM laufen zu lassen. Die Performance ist wesentlich besser.

ISO Image der 2.4 runterladen:
xen1:~# wget h t t p://downloads.sourceforge.net/project/efw/Development/EFW-2.4-RESPIN/EFW-COMMUNITY-2.4-201005280528-RESPIN.iso?use_mirror=mesh

Dann ganz normal eine HVM anlegen.

xen1:~# vi /etc/xen/auto/efw
device_model = "/usr/lib/xen/bin/qemu-dm"
kernel = "/usr/lib/xen/boot/hvmloader"
builder = "hvm"
memory = 896
name = "efw"
boot = "cd"
on_poweroff = "destroy"
on_reboot = "restart"
on_crash = "restart"
disk=['phy:/dev/lvm/efwsys,hda,w', "file:/etc/xen/images/EFW-COMMUNITY-2.4-201005280528-RESPIN.iso"]
# Network.
vif=['bridge=br0,mac=33:33:33:33:33:33','bridge=br1,mac=33:33:33:33:33:34']
vnc = 1
vncdisplay=2
localtime=1
usb = 1
usbdevice = ""
stdvga = 0
#videoram = 16
vcpus = 2
keymap='en-us'

HVM starten:
xen1:~# xm create /etc/xen/auto/efw

Zur Konsole verbinden:
xen1:~# xm console efw

EFW ganz normal installieren.
Dann an der Konsole der Endian folgendes anpassen:

root@efw:~ # efw-upgrade
root@efw:~ # smart install kernel-PAE
root@efw:~# vi /etc/inittab
1:2345:respawn: /sbin/mingetty --autologin root --loginprog /usr/sbin/efw-console hvc0
root@efw:~# vi efw/etc/securetty
hvc0                           #add
root@efw:~# vi /boot/grub/grub.conf
title Endian Firewall Community release 2.4.0 (2.6.27.19-72.e25PAE)
   root (hd0,0)
   kernel /boot/vmlinuz-2.6.27.19-72.e25PAE  root=UUID=c1c7bf15-f33c-4f7a-8772-f4e8814716c3 panic=10 quiet ro console=hvc0
   initrd /boot/initrd-2.6.27.19-72.e25PAE.img
   savedefault
root@efw:~#vi /etc/businfotab
# Generated by ethconfig
eth0    XEN-eth0
eth1    XEN-eth1
root@efw:~# shutdown -h now

Und jetzt die Konfiguration der HVM zu einer PV machen:

xen1:~# vi /etc/xen/auto/efw
name="efw"
bootloader = '/usr/bin/pygrub'
memory=896
disk=['phy:/dev/lvm/efwsys,xvda,w']
vcpus=2
on_poweroff='destroy'
on_reboot='restart'
on_crash='restart'
# Network.
vif=['bridge=br0,mac=33:33:33:33:33:33','bridge=br1,mac=33:33:33:33:33:34']


FERTIG!

Die UUID in der grub.conf und die anderen Pfade für die virtuellen Disks sind an die eigene Umgebung anzupassen.


Title: Re: how to install endian community on xen in paravirtualization?
Post by: hotzfoz on Sunday 05 December 2010, 05:03:54 am
It doesn't works since 2.4.1 is out. There isn't a PAE Kernel in the endian repositories anymore. Anyone out who now where i can download the 2.6.27.19-72.e25PAE Kernel or an other PAE Kernel that works with Xen?

Thanks


Title: Re: how to install endian community on xen in paravirtualization?
Post by: johnbrand on Wednesday 08 December 2010, 06:24:09 am
Could somebody help. Is there a way to get the 2.4.1 version running on XEN?