linuxhotel.de Dipl.-Ing. Ingo Wichmann Automatische Installation Automatische Installation unter Linux
Motivation ● Langweilige Tätigkeiten vermeiden Automatische Installation linuxhotel.de Dipl.-Ing. Ingo Wichmann
Motivation ● Langweilige Tätigkeiten vermeiden ● Weniger Fehler Automatische Installation linuxhotel.de Dipl.-Ing. Ingo Wichmann
Motivation ● Langweilige Tätigkeiten vermeiden ● Weniger Fehler ● Früher Feierabend Automatische Installation linuxhotel.de Dipl.-Ing. Ingo Wichmann
Motivation ● Langweilige Tätigkeiten vermeiden ● Weniger Fehler ● Früher Feierabend ● Bessere Anpassung an unterschiedliche Kurse Automatische Installation linuxhotel.de Dipl.-Ing. Ingo Wichmann
Motivation ● Langweilige Tätigkeiten vermeiden ● Weniger Fehler ● Früher Feierabend ● Bessere Anpassung an unterschiedliche Kurse ● Schnellere Wiederherstellung Automatische Installation linuxhotel.de Dipl.-Ing. Ingo Wichmann
Motivation ● Langweilige Tätigkeiten vermeiden ● Weniger Fehler ● Früher Feierabend ● Bessere Anpassung an unterschiedliche Kurse ● Schnellere Wiederherstellung ● Dokumentation Automatische Installation linuxhotel.de Dipl.-Ing. Ingo Wichmann
Verfahren Images Automatische Installation linuxhotel.de Dipl.-Ing. Ingo Wichmann
Verfahren Images ● System Imager Automatische Installation linuxhotel.de Dipl.-Ing. Ingo Wichmann
Verfahren Images ● System Imager Installer ● Kickstart ● autoYaST ● debian-Installer Automatische Installation linuxhotel.de Dipl.-Ing. Ingo Wichmann
Verfahren Images ● System Imager Installer ● Kickstart ● autoYaST ● debian-Installer ● m23 Automatische Installation linuxhotel.de Dipl.-Ing. Ingo Wichmann
Verfahren Images ● System Imager ● FAI Installer ● Kickstart ● autoYaST ● debian-Installer ● m23 ● FAI Automatische Installation linuxhotel.de Dipl.-Ing. Ingo Wichmann
Verfahren Images ● System Imager ● FAI Installer ● Kickstart ● autoYaST ● debian-Installer ● m23 ● FAI Automatische Installation linuxhotel.de Dipl.-Ing. Ingo Wichmann
linuxhotel.de Dipl.-Ing. Ingo Wichmann Automatische Installation Client BIOS Server Fahrplan
linuxhotel.de Dipl.-Ing. Ingo Wichmann Automatische Installation Client BIOS Bootloader Server Netzwerk-Info Bootloader DHCP/BOOTP TFTP Fahrplan
linuxhotel.de Dipl.-Ing. Ingo Wichmann Automatische Installation Client BIOS Bootloader Installer Server Netzwerk-Info Bootloader Installer DHCP/BOOTP TFTP Fahrplan
linuxhotel.de Dipl.-Ing. Ingo Wichmann Automatische Installation Client BIOS Bootloader Installer Server Netzwerk-Info Bootloader Installer Antwort-Datei DHCP/BOOTP TFTP HTTP/NFS/FTP Fahrplan
linuxhotel.de Dipl.-Ing. Ingo Wichmann Automatische Installation Client BIOS Bootloader Installer Server Netzwerk-Info Bootloader Installer Antwort-Datei rpm/deb-Pakete DHCP/BOOTP TFTP HTTP/NFS/FTP Fahrplan
linuxhotel.de Dipl.-Ing. Ingo Wichmann Automatische Installation Client BIOS Dunkelheit
Mehr Licht! ● Floppy ● CD / DVD ● Festplatte ● Netzwerk Automatische Installation linuxhotel.de Dipl.-Ing. Ingo Wichmann
DHCP dhcpd.conf: use-host-decl-names on; host installclient { hardware ethernet 00:0c:29:d1:01:ea; fixed-address ; } filename "pxelinux.0"; server-name bootserver; Automatische Installation linuxhotel.de Dipl.-Ing. Ingo Wichmann
DHCP dhcpd.conf: use-host-decl-names on; host installclient { hardware ethernet 00:0c:29:d1:01:ea; fixed-address ; } filename "pxelinux.0"; server-name bootserver; Automatische Installation linuxhotel.de Dipl.-Ing. Ingo Wichmann
DHCP dhcpd.conf: use-host-decl-names on; host installclient { hardware ethernet 00:0c:29:d1:01:ea; fixed-address ; } filename "pxelinux.0"; server-name bootserver; Automatische Installation linuxhotel.de Dipl.-Ing. Ingo Wichmann
DHCP dhcpd.conf: use-host-decl-names on; host installclient { hardware ethernet 00:0c:29:d1:01:ea; fixed-address ; } filename "pxelinux.0"; server-name bootserver; Automatische Installation linuxhotel.de Dipl.-Ing. Ingo Wichmann
linuxhotel.de Dipl.-Ing. Ingo Wichmann Automatische Installation Client BIOS Server Netzwerk-Info Bootloader DHCP/BOOTP TFTP Boot!
Bootloader grub + Ein Bootloader für alles Automatische Installation linuxhotel.de Dipl.-Ing. Ingo Wichmann
Bootloader grub + Ein Bootloader für alles + flexibler Bootprompt Automatische Installation linuxhotel.de Dipl.-Ing. Ingo Wichmann
Bootloader grub + Ein Bootloader für alles + flexibler Bootprompt - pxe klappt noch nicht mit jedem Rechner - in der notwendigen Version noch nicht Teil gängiger Distributionen Automatische Installation linuxhotel.de Dipl.-Ing. Ingo Wichmann
Bootloader grub + Ein Bootloader für alles + flexibler Bootprompt - pxe klappt noch nicht mit jedem Rechner - in der notwendigen Version noch nicht Teil gängiger Distributionen isolinux / pxelinux Automatische Installation linuxhotel.de Dipl.-Ing. Ingo Wichmann
Bootloader grub + Ein Bootloader für alles + flexibler Bootprompt - pxe klappt noch nicht mit jedem Rechner - in der notwendigen Version noch nicht Teil gängiger Distributionen isolinux / pxelinux + funktioniert Automatische Installation linuxhotel.de Dipl.-Ing. Ingo Wichmann
pxelinux Für alle Rechner: pxelinux.cfg/default Automatische Installation linuxhotel.de Dipl.-Ing. Ingo Wichmann
pxelinux Für alle Rechner: pxelinux.cfg/default Für eine Mac-Adresse: pxelinux.cfg/ c-29-5f-ea-13 Automatische Installation linuxhotel.de Dipl.-Ing. Ingo Wichmann
pxelinux Für alle Rechner: pxelinux.cfg/default Für eine Mac-Adresse: pxelinux.cfg/ c-29-5f-ea-13 Für bestimmte IP-Adressen: pxelinux.cfg/AC10F0DD Automatische Installation linuxhotel.de Dipl.-Ing. Ingo Wichmann
pxelinux Für alle Rechner: pxelinux.cfg/default Für eine Mac-Adresse: pxelinux.cfg/ c-29-5f-ea-13 Für bestimmte IP-Adressen: pxelinux.cfg/AC10F0DD perl -e 'printf "\U%x", $_ Automatische Installation linuxhotel.de Dipl.-Ing. Ingo Wichmann
pxelinux kickstart LABEL centos42 KERNEL centos/vmlinuz APPEND initrd=centos/initrd.img ramdisk_size=9216 ksdevice=eth0 ks= resolution=1024x768 Automatische Installation linuxhotel.de Dipl.-Ing. Ingo Wichmann
pxelinux kickstart LABEL centos42 KERNEL centos/vmlinuz APPEND initrd=centos/initrd.img ramdisk_size=9216 ksdevice=eth0 ks= resolution=1024x768 Automatische Installation linuxhotel.de Dipl.-Ing. Ingo Wichmann
pxelinux kickstart LABEL centos42 KERNEL centos/vmlinuz APPEND initrd=centos/initrd.img ramdisk_size=9216 ksdevice=eth0 ks= resolution=1024x768 Automatische Installation linuxhotel.de Dipl.-Ing. Ingo Wichmann
pxelinux d-i LABEL deb31auto KERNEL deb31/2.6/linux APPEND initrd=deb31/2.6/initrd.gz ramdisk_size=10934 root=/dev/rd/0 rw languagechooser/language-name=German countrychooser/shortlist=DE console- keymaps-at/keymap=de-latin1-nodeadkeys DEBCONF_PRIORITY=critical preseed/url= netcfg/choose_interface=eth0 -- Automatische Installation linuxhotel.de Dipl.-Ing. Ingo Wichmann
pxelinux d-i LABEL deb31auto KERNEL deb31/2.6/linux APPEND initrd=deb31/2.6/initrd.gz ramdisk_size=10934 root=/dev/rd/0 rw languagechooser/language-name=German countrychooser/shortlist=DE console- keymaps-at/keymap=de-latin1-nodeadkeys DEBCONF_PRIORITY=critical preseed/url= netcfg/choose_interface=eth0 -- Automatische Installation linuxhotel.de Dipl.-Ing. Ingo Wichmann
pxelinux d-i LABEL deb31auto KERNEL deb31/2.6/linux APPEND initrd=deb31/2.6/initrd.gz ramdisk_size=10934 root=/dev/rd/0 rw languagechooser/language-name=German countrychooser/shortlist=DE console- keymaps-at/keymap=de-latin1-nodeadkeys DEBCONF_PRIORITY=critical preseed/url= netcfg/choose_interface=eth0 -- Automatische Installation linuxhotel.de Dipl.-Ing. Ingo Wichmann
linuxhotel.de Dipl.-Ing. Ingo Wichmann Automatische Installation Client BIOS Bootloader Installer Server Netzwerk-Info Bootloader Installer Antwort-Datei DHCP/BOOTP TFTP HTTP/NFS/FTP Bitte um Antwort.
kickstart - Partitionierung zerombr yes clearpart --all --initlabel part /boot --size=75 --fstype=ext3 part swap --size=200 part / --size= fstype=ext3 --grow Automatische Installation linuxhotel.de Dipl.-Ing. Ingo Wichmann
kickstart - Partitionierung zerombr yes clearpart --all --initlabel part /boot --size=75 --fstype=ext3 part swap --size=200 part / --size= fstype=ext3 --grow Automatische Installation linuxhotel.de Dipl.-Ing. Ingo Wichmann
kickstart - Partitionierung zerombr yes clearpart --all --initlabel part /boot --size=75 --fstype=ext3 part swap --size=200 part / --size= fstype=ext3 --grow Automatische Installation linuxhotel.de Dipl.-Ing. Ingo Wichmann
kickstart - Partitionierung zerombr yes clearpart --all --initlabel part /boot --size=75 --fstype=ext3 part swap --size=200 part / --size= fstype=ext3 --grow Automatische Installation linuxhotel.de Dipl.-Ing. Ingo Wichmann
kickstart - Partitionierung zerombr yes clearpart --all --initlabel part /boot --size=75 --fstype=ext3 part swap --size=200 part / --size= fstype=ext3 --grow Automatische Installation linuxhotel.de Dipl.-Ing. Ingo Wichmann
autoYaST /dev/hda swap true swap Automatische Installation linuxhotel.de Dipl.-Ing. Ingo Wichmann
debian-installer d-i partman-auto/expert_recipe string \ boot-root :: \ ext3 \ $primary{ } $bootable{ } \ method{ format } format{ } \ use_filesystem{ } filesystem{ ext3 } \ mountpoint{ /boot } \. \ ext3 \ method{ format } format{ } \ use_filesystem{ } filesystem{ ext3 } \ mountpoint{ / } \. \ % linux-swap \ method{ swap } format{ } \ Automatische Installation linuxhotel.de Dipl.-Ing. Ingo Wichmann
linuxhotel.de Dipl.-Ing. Ingo Wichmann Automatische Installation Client BIOS Bootloader Installer Server Netzwerk-Info Bootloader Installer Antwort-Datei rpm/deb-Pakete DHCP/BOOTP TFTP HTTP/NFS/FTP Fertig!
Und wenns nicht klappt? ● Logdateien auf dem Client ● Post-Mortem Untersuchung YaST per SSH erreichbar ● Interaktive Installation Automatische Installation linuxhotel.de Dipl.-Ing. Ingo Wichmann
pxelinux debug LABEL pxelinux KERNEL pxelinux.0 Automatische Installation linuxhotel.de Dipl.-Ing. Ingo Wichmann
Mehr Flexibilität bitte! ● unterschiedliche Hardware ● unterschiedliche Einsatzzwecke Automatische Installation linuxhotel.de Dipl.-Ing. Ingo Wichmann
linuxhotel.de Dipl.-Ing. Ingo Wichmann Automatische Installation Server Netzwerk-Info DHCP/BOOTP Wo einstellen? Client
linuxhotel.de Dipl.-Ing. Ingo Wichmann Automatische Installation Server Netzwerk-Info Bootloader DHCP/BOOTP TFTP Wo einstellen? Client
linuxhotel.de Dipl.-Ing. Ingo Wichmann Automatische Installation Server Netzwerk-Info Bootloader Antwort-Datei DHCP/BOOTP TFTP HTTP/NFS/FTP Wo einstellen? Client
linuxhotel.de Dipl.-Ing. Ingo Wichmann Automatische Installation Server Netzwerk-Info Bootloader Antwort-Datei DHCP/BOOTP TFTP HTTP/NFS/FTP Wo einstellen? Client
linuxhotel.de Dipl.-Ing. Ingo Wichmann Automatische Installation Server Netzwerk-Info Bootloader Antwort-Datei rpm/deb-Pakete DHCP/BOOTP TFTP HTTP/NFS/FTP Wo einstellen? Client Installer
post-Skripte ● Skripte in der Installer-Umgebung ausführen ● Skripte in chroot ausführen ● Dateien / Skripte nachladen Automatische Installation linuxhotel.de Dipl.-Ing. Ingo Wichmann
Zu kompliziert? Automatische Installation linuxhotel.de Dipl.-Ing. Ingo Wichmann m23: ● CD einlegen ● ein paar Fragen beantworten m23 Installserver ist nach 10 Minuten fertig. ● Web-Browser starten ● ein paar Fragen beantworten Fertig für die automatische Debian Installation
Zu unflexibel? FAI (fully automatic install): ✔ durchdachtes Framework ✔ Debugging per ssh ✔ Logs jeder Installation auf dem Server ✗ komplizierte Einarbeitung Automatische Installation linuxhotel.de Dipl.-Ing. Ingo Wichmann
linuxhotel.de Dipl.-Ing. Ingo Wichmann Automatische Installation Client BIOS Bootloader Kernel Installer Server Netzwerk-Info Bootloader Kernel NFS-Root rpm/deb-Pakete DHCP/BOOTP TFTP NFS HTTP/NFS/FTP FAI
FAI Tasks ● System klassifizieren ● Partitionieren ● Image aufspielen ● Software-Pakete installieren ● Skripte
Infos zu FAI am Debian Stand
pxelinux autoYaST LABEL suse KERNEL suse100iso/linux APPEND initrd=suse100iso/initrd showopts insmod=via-rhine ip=bootp install= vga=0x317 lang=de splash=silent autoyast= Automatische Installation linuxhotel.de Dipl.-Ing. Ingo Wichmann