automatic systems installations and change management wit fai - talk for netways osdc 2009

208
FAI Automatic System Installations And Change Management with

Upload: henning-sprang

Post on 17-May-2015

3.150 views

Category:

Documents


4 download

DESCRIPTION

How long does it take you, to recover an arbitrary server, or duplicate an arbitrary running configuration to a new system? Especially in the latter case without a full-backup, which would contain a wrong IP Address, Hostname and other things and would therefore eventually break some things - and are storage-exhaustive. Get into FAI - Fully Automatic Installation.FAI http://www.informatik.uni-koeln.de/fai/) is a framework for completely automated installations - via LAN, CD or USB stick, as well as configuration management for running systems. The concept "Plan your installation, and FAi installs your plan" supports, but also requires building a well planned and documented infrastructure. Configuration properties can be defined into the smallest possible Detail, and then be arbitrarily combined - a great advantage in environments with many different system types, which at the same time share one or multiple common bases and settings. FAI makes it possible to install and change many different systems at the same time. In addition to all these things, with the grml-live software, FAI can even be used to build live cd's/usb sticks. This talk will give an overview of the functionality and possibilities of FAI, including a comparison with the also renowned software for similar, but not completely the same tasks, Puppet - which can even be integrated into FAI.

TRANSCRIPT

Page 1: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

FAI

Automatic System Installations And Change Management

with

Page 2: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Speaker

Page 3: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Henning Sprang

Page 4: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009
Page 5: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

OpenSource consultant, developer, author

Page 6: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Interests

Page 7: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Systems managementSoftware developmentQA and testingVirtualization

Page 8: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

FAI Team member

Page 9: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

About system installations

Page 10: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Do You...

Page 11: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

...use FAI already?

Page 12: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Another auto-installer or config management tool?

Page 13: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

wonder how to rebuilt/restore configurations?

Page 14: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

manually tinkered and tweaked over long time

Page 15: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Exactly, really

Page 16: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

quick

Page 17: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Disk images

Page 18: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Create templates from ``proper'' installations

Page 19: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Copy when needed and adjust them as needed

Page 20: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Pros

Page 21: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

low learning cost

Simple and fast implementation: cp/rsync/tar/dd

Page 22: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Cons

Page 23: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

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

Page 24: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Configuration with shell scripts

Page 25: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Manual work replaced by shell scripts

Page 26: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Pros

Page 27: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Much lower storage cost

Higher flexibility

Tailor made

Page 28: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Cons

Page 29: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Full-blown development project(you'll realize after a while)

You solve every problem on your own, instead of reusing work of others

Page 30: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Use available Auto-Installer

Page 31: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Anaconda / Kickstart: Fedora-based

Page 32: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Autoyast: SuSE-based

Page 33: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Nlite/Unattend:Windows in many flavours

Page 34: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

FAI:Debian-based, Fedora-based, SuSE-based,Windows experimental,Solaris possible

Page 35: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Others:Solaris JumpstartRedHat Cobbler/Koan

Page 36: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

About FAI

Page 37: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Why FAI?

Page 38: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Shellscript-based

Simple, Flexible, easy to extend

Page 39: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Community support by seasoned "`Installers"'

Page 40: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Diverse client- and server- distributions

Page 41: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Multiple installation typesandsystem updates

Page 42: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Can be used for real hardware and virtualization systems

Page 43: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

One-Step-Install

bare metal to fully working system

Page 44: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Easily integrate other tools

CFEnginePuppetCustom scripts

Page 45: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

History

Page 46: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Started 1999 by Thomas Lange at the University of cologne

Page 47: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Base idea: structured and planned installation

Page 48: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Plan your installation, and FAI installs your plan

Page 49: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Part of the Debian Distribution

Page 50: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Today about 10 active developers, small but nice community

Page 51: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Since 2005 softupdates from Henning Glawe included

Page 52: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Who is using it for what?

Page 53: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

EDF uses FAI (with GOSA) for some research clusters

Page 54: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

LiMux in Munich: installs/updates 400(to be 14000) clients/servers

Page 55: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Multiple top 500 High Performance Clusters

Page 56: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Small home networks starting from 2 systems

Page 57: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

GRML admin live CDbuilt with FAI

Page 58: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Functionality

Page 59: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Overview

Page 60: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

FAI classes

Page 61: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

A class defines system properties and actions to be taken

Page 62: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Class-assignment with simple texfile, database, or scripts

Page 63: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Systems can be assigned to multiple classescombined at will

Page 64: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Server-distribution:

Page 65: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Debian-based

Dependencies:Perl, NFS, TFTP, debootstrap

So, easy to port!

Page 66: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Target-distributions:

Page 67: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Debian, Redhat, Ubuntu, Suse, Mandriva

Page 68: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Different installation types (networked, CD/USB, chroot)

Page 69: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Integrated versioning with subversion, CVS, git

Page 70: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

System updates

Page 71: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Installation types

Page 72: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Network installation with central install server

Page 73: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Client/Server architecture

Page 74: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Directly calling „dirinstall“for chroots

(Can be easy integrated into xen-tools, ganeti, ...)

Page 75: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

With grml-live: Live-CD generation!

Page 76: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

The installation/update process

Page 77: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Most important FAI "tasks"(steps of installation)

Page 78: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

defclass: Class definition(assignment)for the target system

Page 79: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

partition: guess what?! :)

Page 80: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

extrbase: Unpack a minimal base image

Page 81: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

debconf: apply Debconf preseedings

Page 82: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

instsoft: Software package installation

Page 83: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Configure:Run configuration scripts

Page 84: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

savelog: Push logfiles on the install Server

Page 85: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Usage details

Page 86: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

ConsiderationsandPlanning

Page 87: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Installation

Page 88: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Decide the matching install type (net/cd/dirinstall)

Page 89: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Plan your installation

Page 90: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Use casesNetwork and environmentSoftware-packagesAdditional files and config adjustmentsAcess control, Identity Management, ...

Page 91: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Using mirrors of Internet software repositories

Page 92: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Updates

Page 93: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

How and when should which patches be applied?

Page 94: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Testing processes

how do I know the effect of a patch/update?

Page 95: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Mirrors of security update repositories?

Page 96: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Automatic(scheduled, timebased) or manually started?

Page 97: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Setup and configuration

Page 98: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Installation on Debian:

apt-get install fai-quickstart

Page 99: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Adjust install server setup in /etc/fai

Page 100: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

fai.conf: LOGUSER=fai, LOGPROTO=ssh (for Logging via ssh)

apt/sources.list: use local mirror if available

make-fai-nfsroot.conf:local mirror for debootstrap

Page 101: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

FAI server is configured!

Now create NFSroot:

fai-setup / make-fai-nfsroot

Page 102: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

For PXE-Boot:

fai-chboot

to set boot-kernel, -options

Page 103: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Without PXE / Installation from CD:

fai-cd

Page 104: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Infrastructure services for network install

Page 105: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

DNS entry for server and clients

Page 106: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

DHCP config:Host/IP/MAC as usual

Page 107: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

some FAI-specific stuff:

option root-path "/srv/fai/nfsroot ..."server-name "faiserver"; # boot-servernext-server 172.20.2.64; # tftp server: kernelfilename "pxelinux.0";

Page 108: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

System configurations

Page 109: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Configurations for installation are stored in FAI „configspace“

Page 110: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Simple text files and scripts

Page 111: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

requirements from installation plan are reflected here

Page 112: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Example included in /usr/share/doc/fai/examples/simple

Page 113: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Default location: /srv/fai/config

Page 114: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Contents of configspace

Page 115: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

classdisk_configbasefilesdebconfpackage_configscriptsfileshooks

Page 116: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Adjust configspace: class

Page 117: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

class contains class- and variable definitions/assignments

Page 118: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Simplest way: assign classes based on hostnames

Page 119: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Some sample classes: FAISERVER, GNOME, DEMO, XORG

Page 120: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Any script can be used to assign classes

Page 121: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

E.G.: check specific hardware, MAC or IP, disk size, . . .

Page 122: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Adjust configspace: basefiles

Page 123: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Minimal base images for non-Debian distributions and special uses

Page 124: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Task "extrbase" checks this directory for matching images

Page 125: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Images named by classes

Page 126: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

You could also put an image here and skip the rest :)

Page 127: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Adjust configspace: disk_config

Page 128: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

detailed control over partitions and mounting

Page 129: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

new tool includes lvm and raid setups

Page 130: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

hard sizes or ranges

Page 131: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

# example of new config file for setup-storage## <type> <mountpoint> <size> <fs type> <mount options> <misc options> disk_config disk1 disklabel:msdos primary / 250 ext3 rw,errors=remount-rological swap 200-1000 swap rw logical /var 600-1300 ext3 rw createopts="-m 5" \

tuneopts="-c 0 -i 0"logical /tmp 100-1G ext3 rw createopts="-m 0" \

tuneopts="-c 0 -i 0"logical /usr 1G-8G ext3 rwlogical /home 100-50% ext3 rw,nosuid createopts="-m 1" \

tuneopts="-c 0 -i 0"

Page 132: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Adjustconfigspace:

debconf

Page 133: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Presets for package install scripts

Page 134: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Only for dpkg-based distributions

Page 135: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Works analog to Debian Installer

Page 136: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Adjust configspace:

package_config

Page 137: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Contents:

files named by class names

Page 138: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Purpose:

Define packages to be installed

Page 139: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Supports many installation methods:

Page 140: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

install (apt-get)aptitudetaskinst (Debian tasks=Package collections)urpmi (mandriva)yumi (Fedora)y2i (SuSE y2pmsh)yast (SuSE yast -i)

Page 141: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

PACKAGES aptitudefortune-mod fortunesrstat-client #rstatdrusers rusersd

# only when also class XORG is definedPACKAGES aptitude XORGbb frozen-bubble xpenguins

Example package_config/DEMO from simple examples:

Page 142: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Adjust Configspace:

scripts

#!/bin/bash

#!/usr/bin/cfagent

#!/bin/perl

Page 143: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

scripts to be executed after package installation

Page 144: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Usually shell-, Perl- and cfengine-scripts

Page 145: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Need for others?

just install Interpreter in the NFS-Root

Page 146: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Naming scheme: <CLASSNAME>/<NUMBER>-<SCRIPTNAME>

Page 147: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Number defines order of execution

Page 148: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

SCRIPTNAME arbitrary just for readability

Page 149: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

.|-- AMD64| `-- 99-discover-bug|-- DEMO| |-- 10-misc| `-- 30-demo|-- FAIBASE| |-- 10-misc| |-- 30-interface| `-- 40-misc|-- FAISERVER| |-- 10-conffiles| `-- 20-copy-mirror|-- GRUB| `-- 10-setup`-- LAST `-- 50-misc

scripts example:

Page 150: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Adjust configspace: files

Page 151: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Structure of a filesystem, starting with /

Page 152: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

classbased copy/unpack

Page 153: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

For usage with fcopy/ftar

Page 154: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Copy single files explicitly, or recursive from /

Page 155: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

ftar unpacks an archive

Page 156: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Target file=directory

Page 157: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

actually copied source file=CLASSNAME

Page 158: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

‘-- etc|-- X11| ‘-- xorg.conf| |-- ATI| ‘-- NVIDIA|-- apache2| ‘-- conf.d| ‘-- debian-mirror.conf| ‘--FAISERVER‘-- fai ‘-- fai.conf |-- FAISERVER ‘-- FAI_SOFTUPDATE_CLIENT

sample:

Page 159: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Adjust configspace: hooks

Page 160: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Naming scheme:

<TASKNAME>.<CLASSNAME>[.source]

Page 161: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Execution before the according task

Page 162: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

partition.XENUinstsoft.FAIBASEsavelog.LAST.source

Examples:

Page 163: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Do the installation

Page 164: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Depending on chosen install type

Page 165: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Boot via

PXEBootfloppyinstall-CDUSB Stick

Page 166: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

fai dirinstall <TARGETDIR>

into mounted blockdevice

Page 167: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Call dirinstall from xen-tools, Ganeti, . . .

Page 168: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Run grml-live

Page 169: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Depending on number of packages it takes 3-30 minutes

Page 170: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

(automatic)Restart with production configuration

Page 171: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Functionality tests

Page 172: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Advanced stuff Outlook

Page 173: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Support stuff for more distributions: fai-distributions

Page 174: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

GOSA as LDAP and FAI GUI

Page 175: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Automatic Tests of the installed systems

Page 176: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

hooks/scripts could checkfiles and configurations

Crucible Test Framework

Page 177: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

No LDAP? Management-Tool/lightweight GUIwithout GOSA

Page 178: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

better configspace layout

Page 179: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Comparison

with Puppet

Page 180: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

LIMITED VALIDITY

Page 181: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

I Only scratched Puppet's surface yet!

Page 182: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

But I try to be unbiased

Page 183: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

I actually like puppet quite well

Page 184: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

The Points

Page 185: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Puppet has data encryption functionality!

can distribute secrets!

Page 186: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

FAI has a simplerfile copying structure

Could be „emulated“ with some code in puppet.

Page 187: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Puppet: only "configuration"

FAI: also partition and base install

Page 188: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

FAI has multiple specific logs

Puppet logs into syslog

Page 189: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

FAI: config files + scripts

Puppet: everything is a script (most „config-filish“ - found some strange syntax skimming through)

Page 190: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Puppet: advanced client/server config push

FAI: (scripted) ssh into amanged host, additional tool

Page 191: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

FAI is a bit more mature - no youth problems

Page 192: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Puppet has some more advanced distribution abstractions

Page 193: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

FAI is still lacking a nice Logo and website :)

Page 194: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

BOTH:

cool toolsthat you should use!

Page 195: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Can work together well and easy

Page 196: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Conclusions

Page 197: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

FAI is a powerful tool for

Page 198: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Automatic installation

Page 199: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

System-Change-Management

Page 200: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Structuredapproachrequired

Page 201: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Expect some learning curve on the way

Page 202: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

The Big Reward:

less worries about...

Page 203: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

getting a config cloned

setting up new machines

restoring after a crash

changing configs on multiple systems

Page 204: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

Further information:

http://www.informatik.uni-koeln.de/fai/

http://faiwiki.informatik.uni-koeln.de/

IRC-Channel #fai at OFTC-Network

linux-fai-users and linux-fai-devel mailing list

Commercial Support: multiple companies and freelancers

Page 205: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

ADVERTISEMENT:

to

learn moreor

implement

CALL ME! :)

Page 207: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

THANKS FOR LISTENING!

Page 208: Automatic systems installations and change management wit FAI - Talk for Netways OSDC 2009

QUESTIONS?