SlideShare uma empresa Scribd logo
1 de 39
Baixar para ler offline
About systems installation
                          About FAI
                           Functions
                       Usage of FAI
                            Outlook




Automatic Installation and System Updates with
                       FAI
          Overview, Functionality, Possibilities


                          Henning Sprang

      Silpion IT Solutions GmbH/ Linux Solution Park GmbH


                               2008-07-3



                     Henning Sprang     Automatic Installation and System Updates with FAI
About systems installation
                               About FAI
                                Functions
                            Usage of FAI
                                 Outlook


The speaker - Henning Sprang




     FAI team member
     Software developer, author, admin, consultant
     Interests: Virtualization, systems management, Java, Web, QA
     Free Software enthusiast since first contact - about 1996



                          Henning Sprang     Automatic Installation and System Updates with FAI
About systems installation
                                    About FAI
                                     Functions
                                 Usage of FAI
                                      Outlook


Overview


  1   About systems installation

  2   About FAI

  3   Functions

  4   Usage of FAI

  5   Outlook



                               Henning Sprang     Automatic Installation and System Updates with FAI
About systems installation
                                 About FAI     Disk images
                                  Functions    Installation with shell scripts
                              Usage of FAI     Usage of available auto-installers
                                   Outlook


Some Questions. . .



  What do you do. . .
      When your main server did explode?
      When a developer needs a new test system?
           With EXACTLY the same config as the production system!
      When you bought yourself a new laptop?
      When you have to change Apache settings on a web cluster?




                            Henning Sprang     Automatic Installation and System Updates with FAI
About systems installation
                               About FAI     Disk images
                                Functions    Installation with shell scripts
                            Usage of FAI     Usage of available auto-installers
                                 Outlook


About system installation - Needs




     Need to recover system after a crash
     Need to reproduce systems exactly for testing
     Need to install multiple systems, fast
     And after install: you need to manage changes!



                          Henning Sprang     Automatic Installation and System Updates with FAI
About systems installation
                               About FAI     Disk images
                                Functions    Installation with shell scripts
                            Usage of FAI     Usage of available auto-installers
                                 Outlook


About system installation - how?




     Manual installation has some some downsides:
         Unreproducable - Humans make errors
         Unefficient - install many systems takes a long time
     Solution: Automation
     Side effect: System setup is documented in code/config
                          Henning Sprang     Automatic Installation and System Updates with FAI
About systems installation
                               About FAI     Disk images
                                Functions    Installation with shell scripts
                            Usage of FAI     Usage of available auto-installers
                                 Outlook


disk images


                                    .img?
     Create templates from “proper” installations
     Copy when needed and adjust them as needed
     Pros:
         Low learning cost
         Simple and fast implementation – cp/rsync/tar, README
     Cons:
         Inflexible - the smallest change requires rebuilding the image
         Still manual work needed to get a installed system
         Storage cost linear to number of different configurations


                          Henning Sprang     Automatic Installation and System Updates with FAI
About systems installation
                                About FAI     Disk images
                                 Functions    Installation with shell scripts
                             Usage of FAI     Usage of available auto-installers
                                  Outlook


Installation with shell scripts


                          #!/bin/bash
      Manual work replaced by shell scripts
      Pros:
          Much lower storage cost than images
          Higher flexibility
          Tailor made
      Cons:
          Full-blown development project (you’ll realize after a while)
          You solve every problem on your own, instead of reusing work
          of others



                           Henning Sprang     Automatic Installation and System Updates with FAI
About systems installation
                                 About FAI     Disk images
                                  Functions    Installation with shell scripts
                              Usage of FAI     Usage of available auto-installers
                                   Outlook


Usage of available auto-installers


                   Solutions are available. . .

  The most important projects and target distributions:
      Anaconda und Kickstart: Fedora-based
      Autoyast: SuSE-based
      Nlite/Unattend: Windows in many flavours
      FAI: Debian-based, Fedora-based, SuSE-based, Mandriva,
      Windows, Solaris
      Others: Solaris Jumpstart, RedHat Cobbler/Koan

                            Henning Sprang     Automatic Installation and System Updates with FAI
About systems installation
                               About FAI     Why FAI
                                Functions    History
                            Usage of FAI     Who is using it for what?
                                 Outlook


Why FAI?




    Flexible and easy to extend
    Simple, powerful architecture – “everything is a shell script”
    Open development model
    Community support seasoned „Installers“
    Diverse client- and server- distributions
    Multiple installation types and system update
    Can be used for real hardware and virtualization systems


                          Henning Sprang     Automatic Installation and System Updates with FAI
About systems installation
                               About FAI     Why FAI
                                Functions    History
                            Usage of FAI     Who is using it for what?
                                 Outlook


History



     Started 1999 by Thomas Lange at the University of cologne
     Base idea: structured and planned installation
     „Plan your installation, and FAI installs your plan“
     Part of the Debian Distribution
     Today about 10 active developers, small but nice community
     Since 2005 softupdates from Henning Glawe included




                          Henning Sprang     Automatic Installation and System Updates with FAI
About systems installation
                               About FAI     Why FAI
                                Functions    History
                            Usage of FAI     Who is using it for what?
                                 Outlook


Who is using it for what?




     EDF uses FAI (with GOSA) for some research clusters
     LiMux in Munich: installs/updates 400(to be 14000)
     clients/servers
     Multiple top 500 High Performance Clusters
     Small home networks starting from 3 systems
     GRML admin live CD built with FAI


                          Henning Sprang     Automatic Installation and System Updates with FAI
About systems installation
                                  About FAI     Overview
                                   Functions    Installation types
                               Usage of FAI     The installation/update process
                                    Outlook


Overview I




     FAI classes
         A class defines system properties and actions to be taken
         Class-assignment with simple texfile, database, or scripts
         Systems can be assigned to multiple classes, combined at will




                             Henning Sprang     Automatic Installation and System Updates with FAI
About systems installation
                               About FAI     Overview
                                Functions    Installation types
                            Usage of FAI     The installation/update process
                                 Outlook


Overview II




     Server-distribution: Debian-based (Dependencies Perl, NFS,
     TFTP, debootstrap - easy to port)
     Target-distributions: Redhat, Debian, Ubuntu, SuSE,
     Mandriva, Fedora, Windows
     Different installation types (networked, CD/USB, chroot)
     Integrated versioning with subversion, CVS, git
     Softupdate for updates

                          Henning Sprang     Automatic Installation and System Updates with FAI
About systems installation
                                 About FAI     Overview
                                  Functions    Installation types
                              Usage of FAI     The installation/update process
                                   Outlook


Installation types




      Network installation with central install server
           Client/Server architecture
      Directly calling dirinstall for chroots
      dirinstall for chroots and virtualization - xen-tools, ganeti)
      fai-cd / fai-usb (environments without network)
      With grml-live: Live-CD generation!


                            Henning Sprang     Automatic Installation and System Updates with FAI
About systems installation
                               About FAI     Overview
                                Functions    Installation types
                            Usage of FAI     The installation/update process
                                 Outlook




The most important FAI tasks/steps of installation:
    defclass: Class definition of the target system
    partition: Partitioning
    extrbase: Unpack a minimal base image
    debconf: read and apply Debconf preseedings
    instsoft: Software package installation
    configure: Run configuration scripts
    savelog: Push logfiles onto the install Server

                          Henning Sprang     Automatic Installation and System Updates with FAI
Considerations
                 About systems installation
                                              FAI setup and configuration
                                About FAI
                                              Setup infrastructure services
                                 Functions
                                              Create System configurations
                             Usage of FAI
                                              Do the Installation
                                  Outlook
                                              Run System


Considerations – installation




      Decide the matching install type (net/cd/dirinstall)
      Plan your installation
          Use cases
          Network and environment
          Software-packages
          Additional files and config adjustments
      Using mirrors of Internet software repositories

                           Henning Sprang     Automatic Installation and System Updates with FAI
Considerations
                About systems installation
                                             FAI setup and configuration
                               About FAI
                                             Setup infrastructure services
                                Functions
                                             Create System configurations
                            Usage of FAI
                                             Do the Installation
                                 Outlook
                                             Run System


Considerations - Updates




     How and when should which patches be applied?
     Testing processes - where do I know from, which effect a
     patch/update has?
     Mirrors of security update repositories?
     Automatic(regular, timebased) or manual updates?


                          Henning Sprang     Automatic Installation and System Updates with FAI
Considerations
                  About systems installation
                                               FAI setup and configuration
                                 About FAI
                                               Setup infrastructure services
                                  Functions
                                               Create System configurations
                              Usage of FAI
                                               Do the Installation
                                   Outlook
                                               Run System


FAI setup and configuration I




     Installation on Debian:
          apt-get install fai-quickstart
     Adjust install server setup in /etc/fai:
          fai.conf: LOGUSER=fai, LOGPROTO=ssh for Logging via ssh
          apt/sources.list: use local mirror if available




                            Henning Sprang     Automatic Installation and System Updates with FAI
Considerations
                About systems installation
                                             FAI setup and configuration
                               About FAI
                                             Setup infrastructure services
                                Functions
                                             Create System configurations
                            Usage of FAI
                                             Do the Installation
                                 Outlook
                                             Run System


FAI setup and configuration II




     FAI server is configured - create NFSroot:
         fai-setup
     For PXE-Boot: fai-chboot to set boot-kernel and options
     Without PXE: make-fai-bootfloppy
     Installation from CD: fai-cd




                          Henning Sprang     Automatic Installation and System Updates with FAI
Considerations
                   About systems installation
                                                FAI setup and configuration
                                  About FAI
                                                Setup infrastructure services
                                   Functions
                                                Create System configurations
                               Usage of FAI
                                                Do the Installation
                                    Outlook
                                                Run System


Setup infrastructure services




  For network install:
      DNS entry for server and clients
      DHCP config - Host/IP/MAC as usual
      FAI-specific:
      authoritative; # wegen IP_PNP_DHCP
      option root-path quot;/usr/lib/fai/nfsroot ...quot;
      server-name quot;faiserverquot;; # boot-server
      next-server 172.20.2.64; # tftp server fuer kernel
      filename quot;pxelinux.0quot;;

                             Henning Sprang     Automatic Installation and System Updates with FAI
Considerations
                  About systems installation
                                               FAI setup and configuration
                                 About FAI
                                               Setup infrastructure services
                                  Functions
                                               Create System configurations
                              Usage of FAI
                                               Do the Installation
                                   Outlook
                                               Run System


Create System configurations




  Configurations for installation are stored in FAI configspace
      Simple text files and scripts
      The requirements from the installation plan are reflected here
      Example included in /usr/share/doc/fai/examples/simple
      Default location: /srv/fai/config



                            Henning Sprang     Automatic Installation and System Updates with FAI
Considerations
               About systems installation
                                            FAI setup and configuration
                              About FAI
                                            Setup infrastructure services
                               Functions
                                            Create System configurations
                           Usage of FAI
                                            Do the Installation
                                Outlook
                                            Run System


The FAI configspace



         Contents of configspace:
  basefiles
  class
  debconf
  disk_config
  files
  hooks
  package_config
  scripts




                         Henning Sprang     Automatic Installation and System Updates with FAI
Considerations
                 About systems installation
                                              FAI setup and configuration
                                About FAI
                                              Setup infrastructure services
                                 Functions
                                              Create System configurations
                             Usage of FAI
                                              Do the Installation
                                  Outlook
                                              Run System


Adjust configspace - class



     class contains class- and variable definitions.
     Simplest way: assign classes based on hostnames
     Some sample classes: FAISERVER, GNOME, DEMO, XORG
     Any script can be used to assign classes
     E.G.: check specific hardware, MAC or IP, disk size, . . .




                           Henning Sprang     Automatic Installation and System Updates with FAI
Considerations
                 About systems installation
                                              FAI setup and configuration
                                About FAI
                                              Setup infrastructure services
                                 Functions
                                              Create System configurations
                             Usage of FAI
                                              Do the Installation
                                  Outlook
                                              Run System


Adjust configspace – basefiles



     Contains minimal base images for special uses or non-Debian
     distributions
     At the start of the install, this directory is checked for images
     for defined classes
     You could also put an image here and skip the rest :)




                           Henning Sprang     Automatic Installation and System Updates with FAI
Considerations
                 About systems installation
                                                FAI setup and configuration
                                About FAI
                                                Setup infrastructure services
                                 Functions
                                                Create System configurations
                             Usage of FAI
                                                Do the Installation
                                  Outlook
                                                Run System


Adjust configspace – disk_config


  Define harddisk configuration and mount points as needed
  #<type> <mountpoint> <size mb> [mount options][;extra options]

  disk_config disk1
  primary /         150-300                   rw,errors=remount-ro ;                    -c -j ext3
  logical swap      40-500                    rw
  logical /var      90-1000                   rw                ; -m                    5 -j ext3
  logical /tmp      50-1000                   rw                ; -m                    0 -j ext3
  logical /usr      200-4000                  rw                ; -j                    ext3
  logical /home     50-                       rw,nosuid         ; -m                    1 -j ext3
  # logical /home preserve9                   rw,nosuid         ; -m                    1 -j ext3




                           Henning Sprang       Automatic Installation and System Updates with FAI
Considerations
                 About systems installation
                                              FAI setup and configuration
                                About FAI
                                              Setup infrastructure services
                                 Functions
                                              Create System configurations
                             Usage of FAI
                                              Do the Installation
                                  Outlook
                                              Run System


Adjust configspace - debconf




     Presets for package install scripts
     Only for dpkg-based distributions
     Works analog to Debian Installer




                           Henning Sprang     Automatic Installation and System Updates with FAI
Considerations
                About systems installation
                                             FAI setup and configuration
                               About FAI
                                             Setup infrastructure services
                                Functions
                                             Create System configurations
                            Usage of FAI
                                             Do the Installation
                                 Outlook
                                             Run System


Adjust configspace - package_config


     Contents: files named by class names
     Purpose: Define packages to be installed
     Supports many installation methods:
         install (apt-get)
         aptitude
         taskinst (Debian tasks=Package collections)
         urpmi (mandriva)
         yumi (Fedora)
         y2i (SuSE y2pmsh)
         yast (SuSE yast -i)
         Some more special ones. . .


                          Henning Sprang     Automatic Installation and System Updates with FAI
Considerations
                About systems installation
                                             FAI setup and configuration
                               About FAI
                                             Setup infrastructure services
                                Functions
                                             Create System configurations
                            Usage of FAI
                                             Do the Installation
                                 Outlook
                                             Run System


Adjust configspace - package_config II


  Example package_config/DEMO from simple examples:
  PACKAGES aptitude
  fortune-mod fortunes
  rstat-client #rstatd
  rusers rusersd

  # only when also class XORG is defined
  PACKAGES aptitude XORG
  bb frozen-bubble xpenguins




                          Henning Sprang     Automatic Installation and System Updates with FAI
Considerations
                 About systems installation
                                              FAI setup and configuration
                                About FAI
                                              Setup infrastructure services
                                 Functions
                                              Create System configurations
                             Usage of FAI
                                              Do the Installation
                                  Outlook
                                              Run System


Adjust Configspace - scripts


     scripts contains scripts to be executed after package
     installation
     Usually shell-, Perl- and cfengine-scripts
     Need for others: just install Interpreter in the NFS-Root
     Naming scheme:
     <CLASSNAME>/<NUMBER>-<SCRIPTNAME>
     Number defines order of execution
     SCRIPTNAME arbitrary just for readability



                           Henning Sprang     Automatic Installation and System Updates with FAI
Considerations
                   About systems installation
                                                FAI setup and configuration
                                  About FAI
                                                Setup infrastructure services
                                   Functions
                                                Create System configurations
                               Usage of FAI
                                                Do the Installation
                                    Outlook
                                                Run System


scripts example:
.
|--   AMD64
|     ‘-- 99-discover-bug
|--   DEMO
|     |-- 10-misc
|     ‘-- 30-demo
|--   FAIBASE
|     |-- 10-misc
|     |-- 20-removable_media
|     |-- 30-interface
|     ‘-- 40-misc
|--   FAISERVER
|     |-- 10-conffiles
|     ‘-- 20-copy-mirror
|--   GRUB
|     ‘-- 10-setup
‘--   LAST
‘--   50-misc
                             Henning Sprang     Automatic Installation and System Updates with FAI
Considerations
                About systems installation
                                             FAI setup and configuration
                               About FAI
                                             Setup infrastructure services
                                Functions
                                             Create System configurations
                            Usage of FAI
                                             Do the Installation
                                 Outlook
                                             Run System


Adjust configspace - files




     Structure of a filesystem, starting with /
     For usage with fcopy/ftar = classbases copy/unpack
     Copy single files explicitly, or recursive from / in a DEFAULT
     script



                          Henning Sprang     Automatic Installation and System Updates with FAI
Considerations
                   About systems installation
                                                FAI setup and configuration
                                  About FAI
                                                Setup infrastructure services
                                   Functions
                                                Create System configurations
                               Usage of FAI
                                                Do the Installation
                                    Outlook
                                                Run System


Adjust configspace - files II
         Target file=directory
         actually copied source file=CLASSNAME
  .
  ‘--    etc
  |--    X11
  |      ‘-- xorg.conf
  |          |-- ATI
  |          ‘-- NVIDIA
  |--    apache2
  |      ‘-- conf.d
  |          ‘-- debian-mirror.conf
  |              ‘--FAISERVER
  ‘--    fai
        ‘-- fai.conf
           |-- FAISERVER
           ‘-- FAI_SOFTUPDATE_CLIENT
  ...
                             Henning Sprang     Automatic Installation and System Updates with FAI
Considerations
                About systems installation
                                             FAI setup and configuration
                               About FAI
                                             Setup infrastructure services
                                Functions
                                             Create System configurations
                            Usage of FAI
                                             Do the Installation
                                 Outlook
                                             Run System


Adjust configspace - hooks


     Hook naming scheme: .<CLASSNAME>[.source]
     Execution before the according task
     Optional skip_task: The actual task will not be executed, for
     example for skipping partitioning of Xen Domains
     Example:
     partition.XENU
     instsoft.FAIBASE
     savelog.LAST.source




                          Henning Sprang     Automatic Installation and System Updates with FAI
Considerations
                   About systems installation
                                                FAI setup and configuration
                                  About FAI
                                                Setup infrastructure services
                                   Functions
                                                Create System configurations
                               Usage of FAI
                                                Do the Installation
                                    Outlook
                                                Run System


Do the Installation


  Depending on chosen install type:
      Boot via PXE/Bootfloppy/install-CD/USB Stick
           PXE-config can be set with fai-chboot
      Start Xen VM with xm create vm-name.cfg install=1
      fai dirinstall <TARGETDIR> into mounted blockdevice
      Call dirinstall in xen-tools, Ganeti, . . .
      Start system with fai-cd/fai-usb
      Run grml-live



                             Henning Sprang     Automatic Installation and System Updates with FAI
Considerations
                About systems installation
                                             FAI setup and configuration
                               About FAI
                                             Setup infrastructure services
                                Functions
                                             Create System configurations
                            Usage of FAI
                                             Do the Installation
                                 Outlook
                                             Run System


Run System




    Depending on number of packages system is installed in 3-30
    minutes (Server/Desktop)
    Restart with production configuration
    Functionality tests




                          Henning Sprang     Automatic Installation and System Updates with FAI
About systems installation
                                About FAI
                                 Functions
                             Usage of FAI
                                  Outlook


Outlook



     Support stuff for more distributions: fai-distributions
     GOSA as LDAP and FAI GUI
     Automatic Tests of the installed systems:
          hooks/scripts could check files and configurations
          Crucible Test Framework
     No LDAP? Management-Tool/lightweight GUI without GOSA




                           Henning Sprang     Automatic Installation and System Updates with FAI
About systems installation
                                About FAI
                                 Functions
                             Usage of FAI
                                  Outlook


Further informations



     WWW:
         http://www.informatik.uni-koeln.de/fai/
         http://faiwiki.informatik.uni-koeln.de/
         http://www.infrastructures.org/
     Email and Chat:
         IRC-Channel #fai at OFTC-Network
         linux-fai-users and linux-fai-devel mailing list




                           Henning Sprang     Automatic Installation and System Updates with FAI
About systems installation
                            About FAI
                             Functions
                         Usage of FAI
                              Outlook


Questions?




                         Questions?




                       Henning Sprang     Automatic Installation and System Updates with FAI

Mais conteúdo relacionado

Mais procurados

Software Distribution
Software DistributionSoftware Distribution
Software DistributionDell World
 
BoxGrinder – FUDCon 2011 Tempe
BoxGrinder – FUDCon 2011 TempeBoxGrinder – FUDCon 2011 Tempe
BoxGrinder – FUDCon 2011 Tempemarekgoldmann
 
Windows 7 Deployment with Novell ZENworks Configuration Management and ENGL I...
Windows 7 Deployment with Novell ZENworks Configuration Management and ENGL I...Windows 7 Deployment with Novell ZENworks Configuration Management and ENGL I...
Windows 7 Deployment with Novell ZENworks Configuration Management and ENGL I...Novell
 
Optimizing K2000 Workflow
Optimizing K2000 WorkflowOptimizing K2000 Workflow
Optimizing K2000 WorkflowDell World
 
Optimize Your Computer
Optimize Your ComputerOptimize Your Computer
Optimize Your ComputerShan Sachwani
 
K2000 Scripted Installations
K2000 Scripted InstallationsK2000 Scripted Installations
K2000 Scripted InstallationsDell World
 
K2000 Advanced Topics
K2000 Advanced TopicsK2000 Advanced Topics
K2000 Advanced TopicsDell World
 
Why Use Oracle VM for Oracle Databases? Revera Presentation
Why Use Oracle VM for Oracle Databases? Revera PresentationWhy Use Oracle VM for Oracle Databases? Revera Presentation
Why Use Oracle VM for Oracle Databases? Revera PresentationFrancisco Alvarez
 
Windows 7 SP1 deployment with ZENworks Configuration Management 11 SP1
Windows 7 SP1 deployment with ZENworks Configuration Management 11 SP1Windows 7 SP1 deployment with ZENworks Configuration Management 11 SP1
Windows 7 SP1 deployment with ZENworks Configuration Management 11 SP1Roel van Bueren
 
Guide to clone_sles_instances
Guide to clone_sles_instancesGuide to clone_sles_instances
Guide to clone_sles_instancesSatheesh Thomas
 
ZENworks Configuration Management 11.4.1 and Windows 10
ZENworks Configuration Management 11.4.1 and Windows 10ZENworks Configuration Management 11.4.1 and Windows 10
ZENworks Configuration Management 11.4.1 and Windows 10Roel van Bueren
 
Tips, Tricks and Cool Solutions for Novell ZENworks Configuration Management
Tips, Tricks and Cool Solutions for Novell ZENworks Configuration ManagementTips, Tricks and Cool Solutions for Novell ZENworks Configuration Management
Tips, Tricks and Cool Solutions for Novell ZENworks Configuration ManagementNovell
 
Novell ZENworks Configuration Management Design and Implementation Best Pract...
Novell ZENworks Configuration Management Design and Implementation Best Pract...Novell ZENworks Configuration Management Design and Implementation Best Pract...
Novell ZENworks Configuration Management Design and Implementation Best Pract...Novell
 
Troubleshooting K2000
Troubleshooting K2000Troubleshooting K2000
Troubleshooting K2000Dell World
 
K2000 Mac Imaging
K2000 Mac ImagingK2000 Mac Imaging
K2000 Mac ImagingDell World
 
ZENworks Configuration Management and Windows 10
ZENworks Configuration Management and Windows 10ZENworks Configuration Management and Windows 10
ZENworks Configuration Management and Windows 10Roel van Bueren
 
BoxGrinder – FOSDEM 2012
BoxGrinder – FOSDEM 2012BoxGrinder – FOSDEM 2012
BoxGrinder – FOSDEM 2012marekgoldmann
 

Mais procurados (20)

Installation
InstallationInstallation
Installation
 
Software Distribution
Software DistributionSoftware Distribution
Software Distribution
 
BoxGrinder – FUDCon 2011 Tempe
BoxGrinder – FUDCon 2011 TempeBoxGrinder – FUDCon 2011 Tempe
BoxGrinder – FUDCon 2011 Tempe
 
Windows 7 Deployment with Novell ZENworks Configuration Management and ENGL I...
Windows 7 Deployment with Novell ZENworks Configuration Management and ENGL I...Windows 7 Deployment with Novell ZENworks Configuration Management and ENGL I...
Windows 7 Deployment with Novell ZENworks Configuration Management and ENGL I...
 
Optimizing K2000 Workflow
Optimizing K2000 WorkflowOptimizing K2000 Workflow
Optimizing K2000 Workflow
 
Optimize Your Computer
Optimize Your ComputerOptimize Your Computer
Optimize Your Computer
 
K2000 Scripted Installations
K2000 Scripted InstallationsK2000 Scripted Installations
K2000 Scripted Installations
 
K2000 Advanced Topics
K2000 Advanced TopicsK2000 Advanced Topics
K2000 Advanced Topics
 
Why Use Oracle VM for Oracle Databases? Revera Presentation
Why Use Oracle VM for Oracle Databases? Revera PresentationWhy Use Oracle VM for Oracle Databases? Revera Presentation
Why Use Oracle VM for Oracle Databases? Revera Presentation
 
Windows 7 SP1 deployment with ZENworks Configuration Management 11 SP1
Windows 7 SP1 deployment with ZENworks Configuration Management 11 SP1Windows 7 SP1 deployment with ZENworks Configuration Management 11 SP1
Windows 7 SP1 deployment with ZENworks Configuration Management 11 SP1
 
K2000 Imaging
K2000 ImagingK2000 Imaging
K2000 Imaging
 
Guide to clone_sles_instances
Guide to clone_sles_instancesGuide to clone_sles_instances
Guide to clone_sles_instances
 
Xen.org Overview 2009
Xen.org Overview 2009Xen.org Overview 2009
Xen.org Overview 2009
 
ZENworks Configuration Management 11.4.1 and Windows 10
ZENworks Configuration Management 11.4.1 and Windows 10ZENworks Configuration Management 11.4.1 and Windows 10
ZENworks Configuration Management 11.4.1 and Windows 10
 
Tips, Tricks and Cool Solutions for Novell ZENworks Configuration Management
Tips, Tricks and Cool Solutions for Novell ZENworks Configuration ManagementTips, Tricks and Cool Solutions for Novell ZENworks Configuration Management
Tips, Tricks and Cool Solutions for Novell ZENworks Configuration Management
 
Novell ZENworks Configuration Management Design and Implementation Best Pract...
Novell ZENworks Configuration Management Design and Implementation Best Pract...Novell ZENworks Configuration Management Design and Implementation Best Pract...
Novell ZENworks Configuration Management Design and Implementation Best Pract...
 
Troubleshooting K2000
Troubleshooting K2000Troubleshooting K2000
Troubleshooting K2000
 
K2000 Mac Imaging
K2000 Mac ImagingK2000 Mac Imaging
K2000 Mac Imaging
 
ZENworks Configuration Management and Windows 10
ZENworks Configuration Management and Windows 10ZENworks Configuration Management and Windows 10
ZENworks Configuration Management and Windows 10
 
BoxGrinder – FOSDEM 2012
BoxGrinder – FOSDEM 2012BoxGrinder – FOSDEM 2012
BoxGrinder – FOSDEM 2012
 

Destaque

A Alegoria Da Caverna 2008 09
A Alegoria Da Caverna 2008 09A Alegoria Da Caverna 2008 09
A Alegoria Da Caverna 2008 09guest50af8
 
Alegoria da Caverna 13
Alegoria da Caverna 13Alegoria da Caverna 13
Alegoria da Caverna 13Filosofia
 
Virtualisierung 2008/2009 - eine Standorbestimmung
Virtualisierung 2008/2009 - eine StandorbestimmungVirtualisierung 2008/2009 - eine Standorbestimmung
Virtualisierung 2008/2009 - eine StandorbestimmungHenning Sprang
 
Einführung in FAI - Fully Automatic Installation
Einführung in FAI - Fully Automatic InstallationEinführung in FAI - Fully Automatic Installation
Einführung in FAI - Fully Automatic InstallationHenning Sprang
 
Automatische Installationen und System Update mit FAI
Automatische Installationen und System Update mit FAIAutomatische Installationen und System Update mit FAI
Automatische Installationen und System Update mit FAIHenning Sprang
 
Update on Virtualization in Debian
Update on Virtualization in DebianUpdate on Virtualization in Debian
Update on Virtualization in DebianHenning Sprang
 

Destaque (6)

A Alegoria Da Caverna 2008 09
A Alegoria Da Caverna 2008 09A Alegoria Da Caverna 2008 09
A Alegoria Da Caverna 2008 09
 
Alegoria da Caverna 13
Alegoria da Caverna 13Alegoria da Caverna 13
Alegoria da Caverna 13
 
Virtualisierung 2008/2009 - eine Standorbestimmung
Virtualisierung 2008/2009 - eine StandorbestimmungVirtualisierung 2008/2009 - eine Standorbestimmung
Virtualisierung 2008/2009 - eine Standorbestimmung
 
Einführung in FAI - Fully Automatic Installation
Einführung in FAI - Fully Automatic InstallationEinführung in FAI - Fully Automatic Installation
Einführung in FAI - Fully Automatic Installation
 
Automatische Installationen und System Update mit FAI
Automatische Installationen und System Update mit FAIAutomatische Installationen und System Update mit FAI
Automatische Installationen und System Update mit FAI
 
Update on Virtualization in Debian
Update on Virtualization in DebianUpdate on Virtualization in Debian
Update on Virtualization in Debian
 

Semelhante a Automated installations and infrastructure management with FAI

V mware thin app 4.5 what_s new presentation
V mware thin app 4.5 what_s new presentationV mware thin app 4.5 what_s new presentation
V mware thin app 4.5 what_s new presentationsolarisyourep
 
Application Virtualization overview - BayCUG
Application Virtualization overview - BayCUGApplication Virtualization overview - BayCUG
Application Virtualization overview - BayCUGDenis Gundarev
 
Introduction to YII framework
Introduction to YII frameworkIntroduction to YII framework
Introduction to YII frameworkNaincy Gupta
 
Managing Your Runtime With P2
Managing Your Runtime With P2Managing Your Runtime With P2
Managing Your Runtime With P2Pascal Rapicault
 
VMware ThinApp 4.5
VMware ThinApp 4.5VMware ThinApp 4.5
VMware ThinApp 4.5netlogix
 
OOW15 - Online Patching with Oracle E-Business Suite 12.2
OOW15 - Online Patching with Oracle E-Business Suite 12.2OOW15 - Online Patching with Oracle E-Business Suite 12.2
OOW15 - Online Patching with Oracle E-Business Suite 12.2vasuballa
 
The Build System of Commercial RCP Application A Case Study
The Build System of Commercial RCP Application A Case StudyThe Build System of Commercial RCP Application A Case Study
The Build System of Commercial RCP Application A Case Studygustavoeliano
 
System Imager.20051215
System Imager.20051215System Imager.20051215
System Imager.20051215guest95b42b
 
How to Migrate a Windows® XP System to Windows 7 in 20 minutes
How to Migrate a Windows® XP System to Windows 7 in 20 minutesHow to Migrate a Windows® XP System to Windows 7 in 20 minutes
How to Migrate a Windows® XP System to Windows 7 in 20 minutesLenovo Business
 
Cloud Application Security: Lessons Learned
Cloud Application Security: Lessons LearnedCloud Application Security: Lessons Learned
Cloud Application Security: Lessons LearnedJason Chan
 
System Hardening Using Ansible
System Hardening Using AnsibleSystem Hardening Using Ansible
System Hardening Using AnsibleSonatype
 
Configure, Pack and Distribute: An RPM Creation Workshop
Configure, Pack and Distribute: An RPM Creation WorkshopConfigure, Pack and Distribute: An RPM Creation Workshop
Configure, Pack and Distribute: An RPM Creation WorkshopNovell
 
Real World Cloud Application Security
Real World Cloud Application SecurityReal World Cloud Application Security
Real World Cloud Application SecurityJason Chan
 
Performance Analysis of Idle Programs
Performance Analysis of Idle ProgramsPerformance Analysis of Idle Programs
Performance Analysis of Idle Programsgreenwop
 
Beginners guide on how to start exploring IoT 2nd session
Beginners  guide on how to start exploring IoT 2nd sessionBeginners  guide on how to start exploring IoT 2nd session
Beginners guide on how to start exploring IoT 2nd sessionveerababu penugonda(Mr-IoT)
 

Semelhante a Automated installations and infrastructure management with FAI (20)

V mware thin app 4.5 what_s new presentation
V mware thin app 4.5 what_s new presentationV mware thin app 4.5 what_s new presentation
V mware thin app 4.5 what_s new presentation
 
Application Virtualization overview - BayCUG
Application Virtualization overview - BayCUGApplication Virtualization overview - BayCUG
Application Virtualization overview - BayCUG
 
Introduction to YII framework
Introduction to YII frameworkIntroduction to YII framework
Introduction to YII framework
 
Managing Your Runtime With P2
Managing Your Runtime With P2Managing Your Runtime With P2
Managing Your Runtime With P2
 
PHP Presentation
PHP PresentationPHP Presentation
PHP Presentation
 
VMware ThinApp 4.5
VMware ThinApp 4.5VMware ThinApp 4.5
VMware ThinApp 4.5
 
OOW15 - Online Patching with Oracle E-Business Suite 12.2
OOW15 - Online Patching with Oracle E-Business Suite 12.2OOW15 - Online Patching with Oracle E-Business Suite 12.2
OOW15 - Online Patching with Oracle E-Business Suite 12.2
 
The Build System of Commercial RCP Application A Case Study
The Build System of Commercial RCP Application A Case StudyThe Build System of Commercial RCP Application A Case Study
The Build System of Commercial RCP Application A Case Study
 
What's new in p2 (2009)?
What's new in p2 (2009)?What's new in p2 (2009)?
What's new in p2 (2009)?
 
System Imager.20051215
System Imager.20051215System Imager.20051215
System Imager.20051215
 
How to Migrate a Windows® XP System to Windows 7 in 20 minutes
How to Migrate a Windows® XP System to Windows 7 in 20 minutesHow to Migrate a Windows® XP System to Windows 7 in 20 minutes
How to Migrate a Windows® XP System to Windows 7 in 20 minutes
 
Ansible.pdf
Ansible.pdfAnsible.pdf
Ansible.pdf
 
Cloud Application Security: Lessons Learned
Cloud Application Security: Lessons LearnedCloud Application Security: Lessons Learned
Cloud Application Security: Lessons Learned
 
Rapidly deploying software
Rapidly deploying softwareRapidly deploying software
Rapidly deploying software
 
System Hardening Using Ansible
System Hardening Using AnsibleSystem Hardening Using Ansible
System Hardening Using Ansible
 
Configure, Pack and Distribute: An RPM Creation Workshop
Configure, Pack and Distribute: An RPM Creation WorkshopConfigure, Pack and Distribute: An RPM Creation Workshop
Configure, Pack and Distribute: An RPM Creation Workshop
 
Real World Cloud Application Security
Real World Cloud Application SecurityReal World Cloud Application Security
Real World Cloud Application Security
 
Performance Analysis of Idle Programs
Performance Analysis of Idle ProgramsPerformance Analysis of Idle Programs
Performance Analysis of Idle Programs
 
Ironfan: Your Foundation for Flexible Big Data Infrastructure
Ironfan: Your Foundation for Flexible Big Data InfrastructureIronfan: Your Foundation for Flexible Big Data Infrastructure
Ironfan: Your Foundation for Flexible Big Data Infrastructure
 
Beginners guide on how to start exploring IoT 2nd session
Beginners  guide on how to start exploring IoT 2nd sessionBeginners  guide on how to start exploring IoT 2nd session
Beginners guide on how to start exploring IoT 2nd session
 

Último

SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESmohitsingh558521
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 

Último (20)

SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 

Automated installations and infrastructure management with FAI

  • 1. About systems installation About FAI Functions Usage of FAI Outlook Automatic Installation and System Updates with FAI Overview, Functionality, Possibilities Henning Sprang Silpion IT Solutions GmbH/ Linux Solution Park GmbH 2008-07-3 Henning Sprang Automatic Installation and System Updates with FAI
  • 2. About systems installation About FAI Functions Usage of FAI Outlook The speaker - Henning Sprang FAI team member Software developer, author, admin, consultant Interests: Virtualization, systems management, Java, Web, QA Free Software enthusiast since first contact - about 1996 Henning Sprang Automatic Installation and System Updates with FAI
  • 3. About systems installation About FAI Functions Usage of FAI Outlook Overview 1 About systems installation 2 About FAI 3 Functions 4 Usage of FAI 5 Outlook Henning Sprang Automatic Installation and System Updates with FAI
  • 4. About systems installation About FAI Disk images Functions Installation with shell scripts Usage of FAI Usage of available auto-installers Outlook Some Questions. . . What do you do. . . When your main server did explode? When a developer needs a new test system? With EXACTLY the same config as the production system! When you bought yourself a new laptop? When you have to change Apache settings on a web cluster? Henning Sprang Automatic Installation and System Updates with FAI
  • 5. About systems installation About FAI Disk images Functions Installation with shell scripts Usage of FAI Usage of available auto-installers Outlook About system installation - Needs Need to recover system after a crash Need to reproduce systems exactly for testing Need to install multiple systems, fast And after install: you need to manage changes! Henning Sprang Automatic Installation and System Updates with FAI
  • 6. About systems installation About FAI Disk images Functions Installation with shell scripts Usage of FAI Usage of available auto-installers Outlook About system installation - how? Manual installation has some some downsides: Unreproducable - Humans make errors Unefficient - install many systems takes a long time Solution: Automation Side effect: System setup is documented in code/config Henning Sprang Automatic Installation and System Updates with FAI
  • 7. About systems installation About FAI Disk images Functions Installation with shell scripts Usage of FAI Usage of available auto-installers Outlook disk images .img? Create templates from “proper” installations Copy when needed and adjust them as needed Pros: Low learning cost Simple and fast implementation – cp/rsync/tar, README Cons: Inflexible - the smallest change requires rebuilding the image Still manual work needed to get a installed system Storage cost linear to number of different configurations Henning Sprang Automatic Installation and System Updates with FAI
  • 8. About systems installation About FAI Disk images Functions Installation with shell scripts Usage of FAI Usage of available auto-installers Outlook Installation with shell scripts #!/bin/bash Manual work replaced by shell scripts Pros: Much lower storage cost than images Higher flexibility Tailor made Cons: Full-blown development project (you’ll realize after a while) You solve every problem on your own, instead of reusing work of others Henning Sprang Automatic Installation and System Updates with FAI
  • 9. About systems installation About FAI Disk images Functions Installation with shell scripts Usage of FAI Usage of available auto-installers Outlook Usage of available auto-installers Solutions are available. . . The most important projects and target distributions: Anaconda und Kickstart: Fedora-based Autoyast: SuSE-based Nlite/Unattend: Windows in many flavours FAI: Debian-based, Fedora-based, SuSE-based, Mandriva, Windows, Solaris Others: Solaris Jumpstart, RedHat Cobbler/Koan Henning Sprang Automatic Installation and System Updates with FAI
  • 10. About systems installation About FAI Why FAI Functions History Usage of FAI Who is using it for what? Outlook Why FAI? Flexible and easy to extend Simple, powerful architecture – “everything is a shell script” Open development model Community support seasoned „Installers“ Diverse client- and server- distributions Multiple installation types and system update Can be used for real hardware and virtualization systems Henning Sprang Automatic Installation and System Updates with FAI
  • 11. About systems installation About FAI Why FAI Functions History Usage of FAI Who is using it for what? Outlook History Started 1999 by Thomas Lange at the University of cologne Base idea: structured and planned installation „Plan your installation, and FAI installs your plan“ Part of the Debian Distribution Today about 10 active developers, small but nice community Since 2005 softupdates from Henning Glawe included Henning Sprang Automatic Installation and System Updates with FAI
  • 12. About systems installation About FAI Why FAI Functions History Usage of FAI Who is using it for what? Outlook Who is using it for what? EDF uses FAI (with GOSA) for some research clusters LiMux in Munich: installs/updates 400(to be 14000) clients/servers Multiple top 500 High Performance Clusters Small home networks starting from 3 systems GRML admin live CD built with FAI Henning Sprang Automatic Installation and System Updates with FAI
  • 13. About systems installation About FAI Overview Functions Installation types Usage of FAI The installation/update process Outlook Overview I FAI classes A class defines system properties and actions to be taken Class-assignment with simple texfile, database, or scripts Systems can be assigned to multiple classes, combined at will Henning Sprang Automatic Installation and System Updates with FAI
  • 14. About systems installation About FAI Overview Functions Installation types Usage of FAI The installation/update process Outlook Overview II Server-distribution: Debian-based (Dependencies Perl, NFS, TFTP, debootstrap - easy to port) Target-distributions: Redhat, Debian, Ubuntu, SuSE, Mandriva, Fedora, Windows Different installation types (networked, CD/USB, chroot) Integrated versioning with subversion, CVS, git Softupdate for updates Henning Sprang Automatic Installation and System Updates with FAI
  • 15. About systems installation About FAI Overview Functions Installation types Usage of FAI The installation/update process Outlook Installation types Network installation with central install server Client/Server architecture Directly calling dirinstall for chroots dirinstall for chroots and virtualization - xen-tools, ganeti) fai-cd / fai-usb (environments without network) With grml-live: Live-CD generation! Henning Sprang Automatic Installation and System Updates with FAI
  • 16. About systems installation About FAI Overview Functions Installation types Usage of FAI The installation/update process Outlook The most important FAI tasks/steps of installation: defclass: Class definition of the target system partition: Partitioning extrbase: Unpack a minimal base image debconf: read and apply Debconf preseedings instsoft: Software package installation configure: Run configuration scripts savelog: Push logfiles onto the install Server Henning Sprang Automatic Installation and System Updates with FAI
  • 17. Considerations About systems installation FAI setup and configuration About FAI Setup infrastructure services Functions Create System configurations Usage of FAI Do the Installation Outlook Run System Considerations – installation Decide the matching install type (net/cd/dirinstall) Plan your installation Use cases Network and environment Software-packages Additional files and config adjustments Using mirrors of Internet software repositories Henning Sprang Automatic Installation and System Updates with FAI
  • 18. Considerations About systems installation FAI setup and configuration About FAI Setup infrastructure services Functions Create System configurations Usage of FAI Do the Installation Outlook Run System Considerations - Updates How and when should which patches be applied? Testing processes - where do I know from, which effect a patch/update has? Mirrors of security update repositories? Automatic(regular, timebased) or manual updates? Henning Sprang Automatic Installation and System Updates with FAI
  • 19. Considerations About systems installation FAI setup and configuration About FAI Setup infrastructure services Functions Create System configurations Usage of FAI Do the Installation Outlook Run System FAI setup and configuration I Installation on Debian: apt-get install fai-quickstart Adjust install server setup in /etc/fai: fai.conf: LOGUSER=fai, LOGPROTO=ssh for Logging via ssh apt/sources.list: use local mirror if available Henning Sprang Automatic Installation and System Updates with FAI
  • 20. Considerations About systems installation FAI setup and configuration About FAI Setup infrastructure services Functions Create System configurations Usage of FAI Do the Installation Outlook Run System FAI setup and configuration II FAI server is configured - create NFSroot: fai-setup For PXE-Boot: fai-chboot to set boot-kernel and options Without PXE: make-fai-bootfloppy Installation from CD: fai-cd Henning Sprang Automatic Installation and System Updates with FAI
  • 21. Considerations About systems installation FAI setup and configuration About FAI Setup infrastructure services Functions Create System configurations Usage of FAI Do the Installation Outlook Run System Setup infrastructure services For network install: DNS entry for server and clients DHCP config - Host/IP/MAC as usual FAI-specific: authoritative; # wegen IP_PNP_DHCP option root-path quot;/usr/lib/fai/nfsroot ...quot; server-name quot;faiserverquot;; # boot-server next-server 172.20.2.64; # tftp server fuer kernel filename quot;pxelinux.0quot;; Henning Sprang Automatic Installation and System Updates with FAI
  • 22. Considerations About systems installation FAI setup and configuration About FAI Setup infrastructure services Functions Create System configurations Usage of FAI Do the Installation Outlook Run System Create System configurations Configurations for installation are stored in FAI configspace Simple text files and scripts The requirements from the installation plan are reflected here Example included in /usr/share/doc/fai/examples/simple Default location: /srv/fai/config Henning Sprang Automatic Installation and System Updates with FAI
  • 23. Considerations About systems installation FAI setup and configuration About FAI Setup infrastructure services Functions Create System configurations Usage of FAI Do the Installation Outlook Run System The FAI configspace Contents of configspace: basefiles class debconf disk_config files hooks package_config scripts Henning Sprang Automatic Installation and System Updates with FAI
  • 24. Considerations About systems installation FAI setup and configuration About FAI Setup infrastructure services Functions Create System configurations Usage of FAI Do the Installation Outlook Run System Adjust configspace - class class contains class- and variable definitions. Simplest way: assign classes based on hostnames Some sample classes: FAISERVER, GNOME, DEMO, XORG Any script can be used to assign classes E.G.: check specific hardware, MAC or IP, disk size, . . . Henning Sprang Automatic Installation and System Updates with FAI
  • 25. Considerations About systems installation FAI setup and configuration About FAI Setup infrastructure services Functions Create System configurations Usage of FAI Do the Installation Outlook Run System Adjust configspace – basefiles Contains minimal base images for special uses or non-Debian distributions At the start of the install, this directory is checked for images for defined classes You could also put an image here and skip the rest :) Henning Sprang Automatic Installation and System Updates with FAI
  • 26. Considerations About systems installation FAI setup and configuration About FAI Setup infrastructure services Functions Create System configurations Usage of FAI Do the Installation Outlook Run System Adjust configspace – disk_config Define harddisk configuration and mount points as needed #<type> <mountpoint> <size mb> [mount options][;extra options] disk_config disk1 primary / 150-300 rw,errors=remount-ro ; -c -j ext3 logical swap 40-500 rw logical /var 90-1000 rw ; -m 5 -j ext3 logical /tmp 50-1000 rw ; -m 0 -j ext3 logical /usr 200-4000 rw ; -j ext3 logical /home 50- rw,nosuid ; -m 1 -j ext3 # logical /home preserve9 rw,nosuid ; -m 1 -j ext3 Henning Sprang Automatic Installation and System Updates with FAI
  • 27. Considerations About systems installation FAI setup and configuration About FAI Setup infrastructure services Functions Create System configurations Usage of FAI Do the Installation Outlook Run System Adjust configspace - debconf Presets for package install scripts Only for dpkg-based distributions Works analog to Debian Installer Henning Sprang Automatic Installation and System Updates with FAI
  • 28. Considerations About systems installation FAI setup and configuration About FAI Setup infrastructure services Functions Create System configurations Usage of FAI Do the Installation Outlook Run System Adjust configspace - package_config Contents: files named by class names Purpose: Define packages to be installed Supports many installation methods: install (apt-get) aptitude taskinst (Debian tasks=Package collections) urpmi (mandriva) yumi (Fedora) y2i (SuSE y2pmsh) yast (SuSE yast -i) Some more special ones. . . Henning Sprang Automatic Installation and System Updates with FAI
  • 29. Considerations About systems installation FAI setup and configuration About FAI Setup infrastructure services Functions Create System configurations Usage of FAI Do the Installation Outlook Run System Adjust configspace - package_config II Example package_config/DEMO from simple examples: PACKAGES aptitude fortune-mod fortunes rstat-client #rstatd rusers rusersd # only when also class XORG is defined PACKAGES aptitude XORG bb frozen-bubble xpenguins Henning Sprang Automatic Installation and System Updates with FAI
  • 30. Considerations About systems installation FAI setup and configuration About FAI Setup infrastructure services Functions Create System configurations Usage of FAI Do the Installation Outlook Run System Adjust Configspace - scripts scripts contains scripts to be executed after package installation Usually shell-, Perl- and cfengine-scripts Need for others: just install Interpreter in the NFS-Root Naming scheme: <CLASSNAME>/<NUMBER>-<SCRIPTNAME> Number defines order of execution SCRIPTNAME arbitrary just for readability Henning Sprang Automatic Installation and System Updates with FAI
  • 31. Considerations About systems installation FAI setup and configuration About FAI Setup infrastructure services Functions Create System configurations Usage of FAI Do the Installation Outlook Run System scripts example: . |-- AMD64 | ‘-- 99-discover-bug |-- DEMO | |-- 10-misc | ‘-- 30-demo |-- FAIBASE | |-- 10-misc | |-- 20-removable_media | |-- 30-interface | ‘-- 40-misc |-- FAISERVER | |-- 10-conffiles | ‘-- 20-copy-mirror |-- GRUB | ‘-- 10-setup ‘-- LAST ‘-- 50-misc Henning Sprang Automatic Installation and System Updates with FAI
  • 32. Considerations About systems installation FAI setup and configuration About FAI Setup infrastructure services Functions Create System configurations Usage of FAI Do the Installation Outlook Run System Adjust configspace - files Structure of a filesystem, starting with / For usage with fcopy/ftar = classbases copy/unpack Copy single files explicitly, or recursive from / in a DEFAULT script Henning Sprang Automatic Installation and System Updates with FAI
  • 33. Considerations About systems installation FAI setup and configuration About FAI Setup infrastructure services Functions Create System configurations Usage of FAI Do the Installation Outlook Run System Adjust configspace - files II Target file=directory actually copied source file=CLASSNAME . ‘-- etc |-- X11 | ‘-- xorg.conf | |-- ATI | ‘-- NVIDIA |-- apache2 | ‘-- conf.d | ‘-- debian-mirror.conf | ‘--FAISERVER ‘-- fai ‘-- fai.conf |-- FAISERVER ‘-- FAI_SOFTUPDATE_CLIENT ... Henning Sprang Automatic Installation and System Updates with FAI
  • 34. Considerations About systems installation FAI setup and configuration About FAI Setup infrastructure services Functions Create System configurations Usage of FAI Do the Installation Outlook Run System Adjust configspace - hooks Hook naming scheme: .<CLASSNAME>[.source] Execution before the according task Optional skip_task: The actual task will not be executed, for example for skipping partitioning of Xen Domains Example: partition.XENU instsoft.FAIBASE savelog.LAST.source Henning Sprang Automatic Installation and System Updates with FAI
  • 35. Considerations About systems installation FAI setup and configuration About FAI Setup infrastructure services Functions Create System configurations Usage of FAI Do the Installation Outlook Run System Do the Installation Depending on chosen install type: Boot via PXE/Bootfloppy/install-CD/USB Stick PXE-config can be set with fai-chboot Start Xen VM with xm create vm-name.cfg install=1 fai dirinstall <TARGETDIR> into mounted blockdevice Call dirinstall in xen-tools, Ganeti, . . . Start system with fai-cd/fai-usb Run grml-live Henning Sprang Automatic Installation and System Updates with FAI
  • 36. Considerations About systems installation FAI setup and configuration About FAI Setup infrastructure services Functions Create System configurations Usage of FAI Do the Installation Outlook Run System Run System Depending on number of packages system is installed in 3-30 minutes (Server/Desktop) Restart with production configuration Functionality tests Henning Sprang Automatic Installation and System Updates with FAI
  • 37. About systems installation About FAI Functions Usage of FAI Outlook Outlook Support stuff for more distributions: fai-distributions GOSA as LDAP and FAI GUI Automatic Tests of the installed systems: hooks/scripts could check files and configurations Crucible Test Framework No LDAP? Management-Tool/lightweight GUI without GOSA Henning Sprang Automatic Installation and System Updates with FAI
  • 38. About systems installation About FAI Functions Usage of FAI Outlook Further informations WWW: http://www.informatik.uni-koeln.de/fai/ http://faiwiki.informatik.uni-koeln.de/ http://www.infrastructures.org/ Email and Chat: IRC-Channel #fai at OFTC-Network linux-fai-users and linux-fai-devel mailing list Henning Sprang Automatic Installation and System Updates with FAI
  • 39. About systems installation About FAI Functions Usage of FAI Outlook Questions? Questions? Henning Sprang Automatic Installation and System Updates with FAI