System Installation Suite. Who Am I – Linux and Open Source Consultant –„Infrastructure Architect“ –Linux since 0.98 –IANAKH –Senior

Slides:



Advertisements
Similar presentations
MODULE 3: OS & APP LAYERS. Agenda Preparing and importing a gold image Creating and understanding Install Machines Creating basic Application layers Understanding.
Advertisements

Information and Communications Theory Labs, School of Computer & Communication Sciences FILE: kickstart.sxi / 24/01/03 / Page 1
Windows Deployment Services WDS for Large Scale Enterprises and Small IT Shops Presented By: Ryan Drown Systems Administrator for Krannert.
Xen Virtualization Andrew Hamilton
IST346: Workstations. Agenda  Look at the computer from the administration viewpoint.  Discuss common workstation operating systems  Discuss computer.
Leveraging WinPE and Linux Preboot for Effective Provisioning Jonathan Richey | Director of Development | Altiris, Inc.
14.1 © 2004 Pearson Education, Inc. Exam Planning, Implementing, and Maintaining a Microsoft Windows Server 2003 Active Directory Infrastructure.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 12: Managing and Implementing Backups and Disaster Recovery.
Module 8 Linux Installation Procedures 8.1 Pre-Installation Tasks 8.2 Installing and Configuring Linux 8.3 X Server 8.4 Post Installation Configuration.
Hands-On Microsoft Windows Server 2003 Chapter 2 Installing Windows Server 2003, Standard Edition.
System Startup and Shutdown
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 2 Installing Windows Server 2008.
Automating Linux Installations at CERN G. Cancio, L. Cons, P. Defert, M. Olive, I. Reguero, C. Rossi IT/PDP, CERN presented by G. Cancio.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 12: Managing and Implementing Backups and Disaster Recovery.
70-293: MCSE Guide to Planning a Microsoft Windows Server 2003 Network, Enhanced Chapter 14: Problem Recovery.
Module 1: Installing Windows XP Professional. Overview Manually Installing Windows XP Professional Automating a Windows XP Professional Installation Using.
Installing and maintaining clusters of FreeBSD servers using PXE and Rsync Cor Bosman XS4ALL
Module 13: Configuring Availability of Network Resources and Content.
Guide to Linux Installation and Administration, 2e1 Chapter 3 Installing Linux.
Guide to Linux Installation and Administration, 2e 1 Chapter 9 Preparing for Emergencies.
Chapter Fourteen Windows XP Professional Fault Tolerance.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 12: Managing and Implementing Backups and Disaster Recovery.
© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 1 Third Edition Chapter 5 Windows XP Professional McGraw-Hill.
Module 10: Designing Operating System Deployment and Maintenance.
WINDOWS XP PROFESSIONAL AUTOMATING THE WINDOWS XP INSTALLATION Bilal Munir Mughal Chapter-2 1.
Module 13 Implementing Business Continuity. Module Overview Protecting and Recovering Content Working with Backup and Restore for Disaster Recovery Implementing.
Mike Gore School of Computer Science. This talk is on the Web in TWIKI format A more detailed copy of this talk can be access on with web page. Including.
T4L – NSW DET SOE Muticasting an Image. Problem New T4L computers use SATA HDD’s SATA drives are not recognised by Current DET Licensed version of Ghost.
CHAPTER 2. Overview 1. Pre-Installation Tasks 2. Installing and Configuring Linux 3. X Server 4. Post Installation Configuration and Tasks.
CS Capstone OS Tools for OpenBSD Overview Presentation Team Fugu.
Microsoft Management Seminar Series SMS 2003 Change Management.
22nd April 2002 Steve Traylen, RAL, 1 LCFG Installation Steve Traylen. LCFG – A tool for installation and configuration. UK HEP SYSMAN,
ALICE Use of CMF (CC) for the installation of OS and basic S/W OPC servers and other special S/W installed and configured by hand PVSS project provided.
© 2008 Cisco Systems, Inc. All rights reserved.CIPT1 v6.0—1-1 Getting Started with Cisco Unified Communications Manager Installing and Upgrading Cisco.
CIT 470: Advanced Network and System AdministrationSlide #1 CIT 470: Advanced Network and System Administration Workstations.
Microsoft Windows XP Professional MCSE Exam
Maite Barroso - 10/05/01 - n° 1 WP4 PM9 Deliverable Presentation: Interim Installation System Configuration Management Prototype
Linux Operations and Administration
How to Deploy Office XP and Windows XP With One Desktop Touch Liz Levitt Desktop Solution Specialist Microsoft Corporation.
System initialization Unit objectives A.Outline steps necessary to boot a Linux system, configure LILO and GRUB boot loaders, and dual boot Linux with.
Operated by Los Alamos National Security, LLC for NNSA U N C L A S S I F I E D Slide 1 Institutional Install of Red Hat Enterprise Linux From One CD In.
Thousands of Linux Installations (and only one administrator) A Linux cluster client for the University of Manchester A V Le Blanc I T Services University.
Rebuilding Linux Kernel Dedicated to penguin lovers everywhere 26 September 20161Rebuilding kernel by Visakh M R.
1 Free Electrons. Kernel, drivers and embedded Linux development, consulting, training and support. http//free-electrons.com The GRUB bootloader Michael.
Deploying Xen in a Large Infrastructure. Who Am I – Linux and Open Source Consultant – „Infrastructure Architect“ – Linux since 0.98 – IANAKH – Senior.
Nate Anderson So, You’ve Inherited an OnBase System.
Building (Virtual) Appliances
OpenQRM is not Dead the lightning version Building a cloud in 5 mnutes by Kris Buytaert.
1 Policy Based Systems Management with Puppet Sean Dague
Automating Xen Virtual Machine Deployment Kris Buytaert
1 Remote Installation Service Windows 2003 Server Prof. Abdul Hameed.
Devops Kris Buytaert. ● I used to be a Dev, ● Then Became an Op ● Senior Linux and Open Source ● „Infrastructure Architect“ ● Building.
Andrea Righi – LinuxDay 2007 (Oct 27) Installare GNU/Linux su un ampio numero di client con SystemImager e BitTorrent Andrea Righi
Automating Xen Virtual Machine Deployment Kris Buytaert
April 1st, 2009 Cobbler Provisioning Made Easy Jasper Capel.
Automating Xen Virtual Machine Deployment Kris Buytaert
The GRUB bootloader Michael Opdenacker Thomas Petazzoni Free Electrons
BY: SALMAN 1.
Operating System Kernel Compilation
Backing Up Your System With rsnapshot
BY: SALMAN.
High Availability Linux (HA Linux)
The Architecture of oVirt Node
Heterogeneous Computation Team HybriLIT
Xen Summit Spring 2007 Platform Virtualization with XenEnterprise
Operating System Kernel Compilation
Microsoft Virtual Academy
SUSE Linux Enterprise Desktop Administration
Operating System Kernel Compilation
Bending Ironic for Big Iron
Presentation transcript:

System Installation Suite

Who Am I – Linux and Open Source Consultant –„Infrastructure Architect“ –Linux since 0.98 –IANAKH –Senior x-tend.be

WARNING Or Credits ;) Sean Dague : OLS2002 Talk Thomas Lange : Fai talk at UKUUG 2005 Own previous talks infrastructures.org

Today: – Automating Machine Installs – Reproducable – Distro Independent – FAST – No Vendor Lock In! –

Common Problems Accidental Identical Installs Many manual changes to systems Many undocumented changes Emergency Administration only Computers don’t work hard enough for us

Investing in Automation How long does it take to reinstall a machine from 0 To the exact same point as before ? With different Hardware ? What about customer/personal data ?

Facts! Data Backup is only a part Sysadmin backup needs to be done also Manual Installations = bad Bad installations = unusable infrastructure Manual efforts = no time Bad installations = unproductive users Bad installations= manual efforts No time = no updates no patches no security Manual work = high costs

Do you want to ? (2) Install the previous racks manually Over and over again ? And can you guarantee that installs are identical ? Sysadmins are Lazy (by default)

Do you want to ? (3) “No simple admin taks is fun more than twice” s/twice/once/g; Repeating installs are boring and prone to errors Each installation is unintentionally Unique Manual installs DO NOT scale

Planning your infrastructure(s.org) Look at the infrastructure, not at 1 machine Plan changes in advance Version Control ! {SystemAdminstration,Security} is a process, not a product, or even a LifeStyle Look for Similarities And differences

The 10 th floor test Grab a random machine (don’t take a backup before) Throw it out a 10 th floor window Can you recover it in 10 minutes ?

Imaging vs Installing Imaging - Speed - Identical machines - Multicasting Installing - Finegrained - “slower” - Then install the delta's

Imaging Stinks ? “Imaging sucks unless you create your image with FAI” Thomas Lange (FAI Presentation UKUUG 2005)

Sisuite History Spring 2000, SF Was just announced by VA Linux, RH 6.2, Xfree Not many clusters (no Scyld Beowulf 2 yet) RedHat had kickstart IBM: Lui Linux Utility For Cluster Installation (v1.0 April 200) –Rich Ferri, IBM –RH Only SystemImager v1.0 (May 2000) –Brian Finley, VA Linux System –Redhat and Debian only

Systemimager Suite: systemimager ● Image Base ● Captures Images from a golden client ● All images stored on a central server ● Image is a complete copy of all disks on client ● Linuxbased autoinstall system ● Install from Floppy, CD, Harddrive or Network

SystemImager Suite (2) ● SystemInstaller ● Evolved from LUI ● Generates Images based on ● Packagelist ● Distro type ● Partition Definition

` SystemImager Suite (3) ● SystemConfigurator ● Post install configuration ● Hardware detection / bootloader config ● Distro integration

Systemimager Suite: overview

SIS Image A Directory that contains the entire contents of the filesystems of a live machines Stored in /var/lib/systemimager/images/$NAME Exported as an rsync module $NAME You can chroot into it Not as unchangeable as other imaging tools

Fetching an Image Install golden client as you would install any other server Install systemimager_client on that machine Prepare client –Run si_prepareclient –Captures all partition info in to /etc/systemimager/ –Starts rsync daemon as rsync module “root” Capture Image from server –Run si_getimage –Connects via rsync to rsync://golden-client/root and transfers to /var/lib/systemimager/images/$imagename –Calls mkautoinstallscript to build the autoinstallscript

My Advise: this is not the way! Perfect for Quick and Dirty backups Disaster recovery for single image setups !! Don’t build your infrastructure on this method !! Reproducability is low Package management is better these days. Minimal changes in chroot are still undocumented and error prone

Building an Image

Building an Image in 2005

Other Clues Mksidisk Addclients Mksimachine Mksirange (haven’t used them lately might have si_ prepended these days)

Boel Autoinstall is driven by Brian’s Own Embedded Linux –Special kernel and ramdisk –Boots from floppy,cd, harddrive or pxe –Kernel + initrd –Tarbal with busybox, extra modules, other tools are being rsynced over the network

Image Server SystemImager repository in var/lib/systemimager –images/images –overrides/hostname : configfiles per host containing network and hardware configs and custom scripts –scripts/ the actual machine dependent install scripts with partition information etc.

Image server (2) DHCP Server PXE Boot environment /usr/share/systemimager Boel environment (mini embedded environment) Rsync server

Bootstrap Procedure Create a dhcp config file with the appropriate entries Machine PXE Boots over the network and downloads the initial kernel and initrd Creates an initial ramdisk and asks ip addres, hostinfo, and installserver information. download boel image and setup a minimal environment (rsync) Based on the hostinfo downloads the host specific script (autoinstallscript) (hostnameXY.(sh/master))

AutoInstallScript Partition the harddisk create the filesystems mount them rsync the $image to the harddisk. Run systemconfigurator Run postinstall script Reboot

Systemconfigurator Problem: –Network configs –Hardware config –Bootloader Solution ? –Build a huge matrix Unmaintainable –Footprinting detect similar configs If /etc/sysconfig/network-scripts then create ifcfg-$ETH If /sbin/lilo and /etc/lilo.conf exist then configure lilo

Systemconfigurator Further problems –Uses perl –Can grow big –Needs other tools –==> Chroot into the freshly installed system Modular approach –--confighw, --confignet, --configrd, --configboot, --runboot etc –Or combinations –configsi == --confighw –confignet –runboot

Image Maintenance Updateclient Please don’t Use package management tools

Misc Facts and Figures OSCAR : Uses SIS Installs as fast as < 4 minutes Flamethrower adds multicast features Xen integration

Alternative Tools ! Commercial : RedHat Network : Satellite Novell Zenworks Open Source Fai

Links

? ! Questions ?