Support

Alles was Sie wissen müssen.

 

desktop4education > Support > Version 2010 > Virtualisierung > d4e/s4e XEN Virtualisierung

Basis: openSUSE 11.2 64 Bit XEN

  • Ausgangsmedium: d4e2010 DVD
mkdir /iso

cat /dev/sr0 > /iso/d4e2010.iso
  • XEN Konfiguration für s4e: /etc/xen/vm/s4e2010
name="s4e2010"
memory=512
maxmem=512
vcpus=1
on_poweroff="destroy"
on_reboot="destroy"
on_crash="destroy"
localtime=0
keymap="de"
builder="linux"
vif=[ 'mac=00:16:3e:00:00:01,bridge=br0', ]
vfb=['type=vnc,vncunused=1']
## Fuer Installation
kernel="/xen/vmlinuz-xen"
ramdisk="/xen/initrd-xen"
extra="install=hd:/dev/hdc autoyast=device://hdc/xml/s4e.xml insecure=1 Language=de_DE"
disk=[ 'file:/iso/d4e2010.iso,hdc:cdrom,r','file:/xen/s4e2010.img,hda,w', ]
## Nach Installation
#bootloader="/usr/lib/xen/boot/domUloader.py"
#bootargs = "--entry=hda2:/boot/vmlinuz-xen,/boot/initrd-xen"
#disk=[ 'file:/xen/s4e2010.img,hda,w', 'file:/iso/d4e2010.iso,hdc:cdrom,r', ]
disk=[ 'file:/xen/s4e2010.img,hda,w', ]
  • XEN Konfiguration für d4e: /etc/xen/vm/d4e2010
name="d4e2010"
memory=512
maxmem=512
vcpus=1
on_poweroff="destroy"
on_reboot="destroy"
on_crash="destroy"
localtime=0
keymap="de"
builder="linux"
vif=[ 'mac=00:16:3e:00:00:02,bridge=br0', ]
vfb=['type=vnc,vncunused=1']
## Fuer Installation
kernel="/xen/vmlinuz-xen"
ramdisk="/xen/initrd-xen"
extra="install=hd:/dev/hdc autoyast=device://hdc/xml/d4e.xml insecure=1 Language=de_DE"
disk=[ 'file:/iso/d4e2010.iso,hdc:cdrom,r','file:/xen/d4e2010.img,hda,w', ]
## Nach Installation
#bootloader="/usr/lib/xen/boot/domUloader.py"
#bootargs = "--entry=hda2:/boot/vmlinuz-xen,/boot/initrd-xen"
#disk=[ 'file:/xen/d4e2010.img,hda,w', 'file:/iso/d4e2010.iso,hdc:cdrom,r', ]
disk=[ 'file:/xen/d4e2010.img,hda,w', ]
  • XEN Verzeichnis erstellen:
mkdir /xen

cd /xen
  • XEN Festplatten erstellen:
qemu-img-xen create s4e2010.img 20G
qemu-img-xen create d4e2010.img 20G
  • XEN Rechner aufstarten:
xm create s4e2010

xm vncviewer s4e2010

xm create --vncviewer d4e2010