opsi installation

opsi ist ein freies Desktop-Management System. opsi ist entstanden auf Basis einer Software, die seit 1998 produktiv im Einsatz ist und seit 2004 als Opensource Software von uib gepflegt wird.

Download

Installation in XEN

  • Gemäß Installationsanleitung, jedoch nach der Installation booten via Rescue-CD oder in init=/bin/bash
  • Installation der XEN-Tools
  • ./install.sh
xen-opsi:/opt/xs-tools/Linux# ./install.sh 
Detected `Debian 4.0' (debian version 4).

The following changes will be made to this Virtual Machine:
  * packages to be installed/upgraded:
    - linux-xenu-2.6.18.8.xs5.0.0.10.439_5.0.0.10.439.f76e90b4f7ad.89564db727e6.etch_i386.deb
    - linux-image-2.6-xen_5.0.0.10.439.f76e90b4f7ad.89564db727e6.etch_i386.deb
    - xe-guest-utilities_5.0.0-361_i386.deb

Continue? [y/n] y
  • Erstellen der initrd
    • mkinitramfs -o /boot/initrd.img-xenu-2.6.18.8.xs5.0.0.10.439 2.6.18.8.xs5.0.0.10.439
  • Manuelles Anpassen des Bootloaders
    • vi /boot/grub/menu.lst
title           Debian GNU/Linux, kernel xenu-2.6.18.8.xs5.0.0.10.439
root            (hd0,0)
kernel          /boot/vmlinuz-xenu-2.6.18.8.xs5.0.0.10.439 root=/dev/xvda2 ro 
initrd          /boot/initrd.img-xenu-2.6.18.8.xs5.0.0.10.439
savedefault
  • Anpassen der /etc/fstab
    • Ersetze hda durch xvda

Umstellen der VM auf PVM

[root@xen213 ~]#  xe help vm-param-set
command name            : vm-param-set
        reqd params     : uuid
        optional params : name-label, name-description, user-version, is-a-template, memory-static-max, memory-dynamic-max, memory-dynamic-min, memory-static-min, VCPUs-max, VCPUs-at-startup, actions-after-shutdown, actions-after-reboot, actions-after-crash, HVM-boot-policy, HVM-shadow-multiplier, PV-kernel, PV-ramdisk, PV-args, PV-legacy-args, PV-bootloader, PV-bootloader-args, affinity, ha-always-run, ha-restart-priority, VCPUs-params:, platform:, blocked-operations:, HVM-boot-params:, other-config:, xenstore-data:
        description     : Sets the parameter specified. If param-value is not given, the parameter is set to a null value. To set a (key,value) pair in a map parameter, use the syntax 'map-param:key=value'.
xe vm-param-set uuid=$TIRI_UUID \
  HVM-boot-policy='' \
  HVM-boot-params:order='' \
  PV-bootloader='pygrub'
  • Anlegen der DeviceNodes unter /dev
mknod /dev/zero c 1 5
for i in $(seq 1 9) ; do mknod /dev/tty$i c 4 $i ; done
mknod /dev/console c 5 1
history | grep mknod | cut -c8-
mknod /dev/null c 1 3
  • Reattach Storage (Wechsel von /dev/hda auf (unknown) auf /dev/xvda)
  • Reboot

Umstellen der PVM auf HVM

xe vm-param-set uuid=$TIRI_UUID \
  HVM-boot-policy='BIOS order' \
  HVM-boot-params:order='dc' \
  PV-bootloader=''
  • Jetzt ist auch ein Booten mit Rettungssystem wieder möglich.
 
wissen/unattended-automatisierte-windows-installation-und-softwareverteilung-mit-opsi.txt · Zuletzt geändert: 05.09.2010 20:31
 
Recent changes RSS feed Donate Valid XHTML 1.0 Valid CSS Recent cached RSS feed cacert-signed web site: inhalt.serviert.de