free, libre, open source expertise center (flosec)...

34
© 2007 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Bruno Cornec Open Source and Linux Technology Consultant Free, Libre, Open Source Expertise Center (FLOSEC) EMEA LinuxCOE

Upload: dotram

Post on 26-Apr-2018

214 views

Category:

Documents


0 download

TRANSCRIPT

© 2007 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice

Bruno Cornec

Open Source and Linux Technology Consultant

Free, Libre, Open SourceExpertise Center (FLOSEC)EMEA

LinuxCOE

Introducting myself

Software engineering and Unices since 1988

Mostly Configuration Management Systems (CMS), Build systems, quality tools, on multiple commercial Unix systems

Discover Open Source & Linux (OSL) & first contributions in 1993

Full time on OSL since 1995, first as HP reseller then @HP

Currently:

Technology Architect on OSL for the HP/Intel Solution Center, Grenoble

OSL HP Advocate

EMEA OSL HP Profession Lead

Solutions Linux Conference board member

MondoRescue, Dploy.org, Project-Builder.org project lead

LinuxCOE, mrepo, tellico, rinse, fossology contributor

Mandriva, Fedora packager

November 3, 20063

Outline

• Introduction

• Conceptual Overview

• Feature Set

• Deep Dive

• Futures

November 3, 20064

LinuxCOE Conceptual Overview

November 3, 20065

LinuxCOE

• enable Linux as a managed service

• facilitate Linux adoption in the enterprise

• encompass engineering and delivery aspects• support provisioning and complete life cycle

• utilize best of breed tools and processes

• follow open source development and support models

• established defacto internal IT standard

• encourage choice

Charter

November 3, 20066

LinuxCOE

• 1999 q3 - Linux is strategic at hp

• 2000 q4 - LinuxCOE project is formed, corporate waystation setup

• 2001 q2 - version 1.0 Adelie : RedHat

• 2002 q1 - version 1.2 : Debian

• 2003 q4 - version 2.0 African : rewrite, Fedora, RHEL, apt4rpm

• 2004 q3 - version 3.0 Chinstrap: SuSE, SLES, NLD

• 2005 q3 – LinuxCOE Open Sourced under GPL

• 2005 q4 – version 3.1-4 : Ubuntu

• Current – version 4.x Emperor : rewrite, install packaging, yum

Abbreviated Historical Time Line

November 3, 20067

LinuxCOECurrent Status• Distributions

−CentOS, Fedora, RHEL, ScientificLinux, VMware-ESX

−Debian, Ubuntu−OpenSUSE, NLD/SLES/SLED

• Multi Architecture−I386, x86_64, (hppa, ia64)

• Deployments−25,000 internal (unique MAC address)−~10,000 / year (since 2007) via

http://www.instalinux.com/

LinuxCOE community

• global virtual teams• bottom up development approach• delivery, labs, engineering, IT• open source development model• you can contribute!

SourceForge: http://linuxcoe.sourceforge.netIRC chat: linuxcoe.corp.hp.com #linuxcoe

November 3, 200610

LinuxCOEArchitecture

November 3, 200611

LinuxCOE Architecture

• Design Station−where users interacts with LinuxCOE

• SystemDesigner WebUI• Installation Media Repository (aka

waystation)• Target Install System(s)

−ultimate objective

Major Deployment Components

November 3, 200612

November 3, 200613

November 3, 200614

LinuxCOEFeature Set

November 3, 200615

LinuxCOEFeature Set

• generate boot images for network or local media based installations, by managing design profiles

• save profiles that store custom installation preferences for later re-use

• retrofit already deployed systems by overlaying bundles of packages for other value-add components

• replay, from a desired system, recreate the boot image for deployment on another system

November 3, 200616

November 3, 200617

LinuxCOE

• Software selection− distribution-defined sets

− value-add modules/bundles

• Disk partitioning− simple or advanced

• Patching− mechanism ( built-in, apt, yum )

− at first build, subsequent frequency

• Post-install scripting

Profile Management

November 3, 200618

LinuxCOE

• Preferences− fixed or DHCP target

− media source (network waystation or local), protocol

− network adapter

• Localizations− media source ( network waystation or local )− time zone, language

• Profile (or equivalent selections)• Passwords, summary, download page

Boot Image

LinuxCOE use case

November 3, 200620

LinuxCOE

• Selection of value-add bundles• Summary, download page

Retrofit

November 3, 200621

LinuxCOE Waystation

• Same or distinct host from SystemDesigner instance

• Typical alternatives−reference another's maintained repository

• default configured setup of SystemDesigner

−create localized repository• mirror another / public repository to minimize network

latency

• obtain ISO media, create local indices

Deployment Tactics

November 3, 200622

LinuxCOEDeep Dive

November 3, 200623

LinuxCOE

• Hosting requirements• Under the hood• Extending SystemDesigner

−Modules−Alternate Configurations−Integrations

• Restricting SystemDesigner

Deep Dive

November 3, 200624

LinuxCOE

• Hardware− minimal, anything capable of running supported

operating system and applications

• Operating System− current support for Linux only (loopback mount,

mkisofs)

• Application− common commands

− perl, web server (Apache)

− mkisofs, palo, sudo (depending on versions and architectures vended)

Hosting requirements

November 3, 200625

LinuxCOE

• SystemDesigner− a Perl, CGI application that typically runs under

Apache

− WebUI• a front-end script for each mode

• a set of back-ends for bootimage creation, corresponding to Kickstart, Autoyast, Preseed specifics

− per distribution/revision/architecture set of configuration files

− overall configurable settings

Under the hood

November 3, 200626

LinuxCOE

• Overlay of main configuration + select overrides

• simple text file referenced across modes via− <url>?defs=SomeOverrideFile

• Provides ability to use same codebase for multiple audiences, yet present different environment

Alternate Configurations

November 3, 200627

LinuxCOE

• Hierarchy of value-add components− Module ( repository )

• Bundle ( collection of one or more packages)

− Package (discrete installable item )

• Specific to distribution/revision/architecture or can be wildcarded

• Referenced by main configuration file, and included in WebUI as relevant at runtime

Modules

November 3, 200628

LinuxCOE

• Since modular, can readily be integrated with other processes− SystemDesigner can be called from HP-SIM and

vend images compatible with Smart Start Scripting Toolkit ( SSSTK ) => discovery, design, install on first boot

− Conceptually easy to integrate with generic PXE installation environment

− Future work to integrate, or at least interoperate with MondoRescue, and other FLOSS components

Integrations

Monitoring services(HP SIM / Nagios / OCS)

Internet services (IP management, software mirroring, network boot support)

Hardware Platforms (Proliant / Integrity / Carrier Grade)

Automatic Deployment and imaging services(LinuxCOE, MondoRescue, mrepo)

Hardware configuration services

Linux Distributions

Virtual Platforms (Xen / VMWare / QEMU)

November 3, 200630

LinuxCOE

• Using main configuration file, can− specify “default” settings that become default

selections

−specify “show only” selections to streamline interface

− using alternate configurations, can effectively filter down ( or provide superset ) of options

Restricting SystemDesigner

November 3, 200631

LinuxCOEFutures

November 3, 200632

LinuxCOE

−Plugins for OpenQRM (done)

−Whitepaper for integration of HP SIM, SSSTK, LinuxCOE, and PSP (about to publish)

−Add Mandriva as a supported distribution, investigating others

−Integrate with Mondorescue, network services as part of dploy.org

• <insert your suggestions here> :)

Futures

ISC DHCP server

hpa TFTP serverpxelinux

mirror.pl

HP SSSTK

HP SIM

Links

– http://linuxcoe.sf.net/– http://linuxcoe.corp.hp.com/– http://instalinux.com

”Changes are never easy to make. There is comfort and safety in tradition, but change must come, no matter how painful or expensive it may be.”

Bill Hewlett

[email protected](Open Source and Linux Technology

Architect at the HP/Intel Solution Center)

http://www.hp.com/linux

http://opensource.hp.com

Thanks goes to:

Linus Torvalds, Richard Stallman, Eric Raymond, Nat Makarevitch, René Cougnenc, Eric Dumas, Rémy Card, Bdale Garbee, Bryan Gartner, Craig Lamparter, Lee Mayes, Gallig Renaud, Andree Leidenfrost, Phil Robb, Bob Gobeille, Martin Michlmayr among others, for their work and devotion to the Open Source Software cause... and my family for their patience :-)

Contact - Thanks