AII v2 Ronald Starink Luis Fernando Muñoz Mejías

Slides:



Advertisements
Similar presentations
automated single login access to Novell storage resources
Advertisements

05/11/2001 CPT week Natalia Ratnikova, FNAL 1 Software Distribution in CMS Distribution unitFormContent Version of SCRAM managed project.
German Cancio – WP4 developments Partner Logo WP4-install plans WP6 meeting, Paris project conference
Windows Deployment Services WDS for Large Scale Enterprises and Small IT Shops Presented By: Ryan Drown Systems Administrator for Krannert.
MCITP Guide to Microsoft Windows Server 2008, Server Administration (Exam #70-646) Chapter 2 Installing Windows Server 2008.
Introducing VMware vSphere 5.0
Automating Linux Installations at CERN G. Cancio, L. Cons, P. Defert, M. Olive, I. Reguero, C. Rossi IT/PDP, CERN presented by G. Cancio.
1 Introduction to Tool chains. 2 Tool chain for the Sitara Family (but it is true for other ARM based devices as well) A tool chain is a collection of.
Linux Operations and Administration
M. Taimoor Khan * Java Server Pages (JSP) is a server-side programming technology that enables the creation of dynamic,
Linux+ Guide to Linux Certification, Third Edition
CompTIA Linux+ Certification
Chapter-4 Windows 2000 Professional Win2K Professional provides a very usable interface and was designed for use in the desktop PC. Microsoft server system.
WP4-install task report WP4 workshop Barcelona project conference 5/03 German Cancio.
DBS to DBSi 5.0 Environment Strategy Quinn March 22, 2011.
CCA Port, Component & Application Build Skeleton Templates “A new script toolkit for generating CCA build skeletons” Torsten Wilde and James Kohl Oak Ridge.
Guide to Linux Installation and Administration, 2e 1 Chapter 9 Preparing for Emergencies.
October, Scientific Linux INFN/Trieste B.Gobbo – Compass R.Gomezel - T.Macorini - L.Strizzolo INFN - Trieste.
Installing Windows Vista Lesson 2. Skills Matrix Technology SkillObjective DomainObjective # Performing a Clean Installation Set up Windows Vista as the.
quattor NCM components introduction tutorial German Cancio CERN IT/FIO.
© Blackboard, Inc. All rights reserved. Deploying a complex building block Andre Koehorst Learning Lab Universiteit Maastricht, the Netherlands July 18.
Configuring Disk Devices. Module 4 – Configuring Disk Devices ♦ Overview This module deals with making partitions using fdisk, implementing RAID and Logical.
German Cancio – WP4 developments Partner Logo System Management: Node Configuration & Software Package Management
20-May-2003HEPiX Amsterdam EDG Fabric Management on Solaris G. Cancio Melia, L. Cons, Ph. Defert, I. Reguero, J. Pelegrin, P. Poznanski, C. Ungil Presented.
INFSO-RI Enabling Grids for E-sciencE SCDB C. Loomis / Michel Jouvin (LAL-Orsay) Quattor Tutorial LCG T2 Workshop June 16, 2006.
G. Cancio, L. Cons, Ph. Defert - n°1 October 2002 Software Packages Management System for the EU DataGrid G. Cancio Melia, L. Cons, Ph. Defert. CERN/IT.
An Agile Service Deployment Framework and its Application Quattor System Management Tool and HyperV Virtualisation applied to CASTOR Hierarchical Storage.
Creating and Managing File Systems. Module 5 – Creating and Managing File Systems ♦ Overview This module deals with the structure of the file system,
Mark E. Fuller Senior Principal Instructor Oracle University Oracle Corporation.
QWG Errata Management Framework Ian Collier 10 th Quattor Workshop Rutherford Appleton Laboratory October 2010.
German Cancio – WP4 developments Partner Logo WP4-install progress CERN, 19/6/2002 for WP4-install.
The 2001 Tier-1 prototype for LHCb-Italy Vincenzo Vagnoni Genève, November 2000.
15-Feb-02Steve Traylen, RAL WP6 Test Bed Report1 RAL/UK WP6 Test Bed Report Steve Traylen, WP6 PPGRID/RAL, UK
Linux Configuration using April 12 th 2010 L. Brarda / CERN (some slides & pictures taken from the Quattor website) ‏
1 Update at RAL and in the Quattor community Ian Collier - RAL Tier1 HEPiX FAll 2010, Cornell.
SCDB Update Michel Jouvin LAL, Orsay March 17, 2010 Quattor Workshop, Thessaloniki.
New layout for describing block devices and file systems Luis Fernando Muñoz Mejías Universidad Autónoma de Madrid 4 th Quattor Workshop (UAM, 2007)
BY: SALMAN 1.
CompTIA Server+ Certification (Exam SK0-004)
Andrea Chierici Virtualization tutorial Catania 1-3 dicember 2010
Jean-Philippe Baud, IT-GD, CERN November 2007
SmartCenter for Pointsec - MI
UNICOS Application Builder Architecture
Business System Development
Chapter Objectives In this chapter, you will learn:
BY: SALMAN.
Computer System Laboratory
UAM status report Luis Fernando Muñoz Mejías
Dag Toppe Larsen UiB/CERN CERN,
Dag Toppe Larsen UiB/CERN CERN,
UBUNTU INSTALLATION
WP4-install status update
IM-pack: Software Installation Using Disk Images
Automated Update System
German Cancio CERN IT .quattro architecture German Cancio CERN IT.
Quattor Usage at Nikhef
Fedora in Education BalCCon2k17 17th September 2017 Nemanja Milošević
June 2011 David Front Weizmann Institute
Migration to SharePoint 2013
Component-Based Software Engineering
Quattor Advanced Tutorial, LAL
SUSE Linux Enterprise Desktop Administration
Outline Chapter 2 (cont) OS Design OS structure
Quattor Advanced Tutorial, LAL
Grid Management Challenge - M. Jouvin
APACHE WEB SERVER.
CS-Status Results from workshop 2008 Statistics Miscellaneous
Bending Ironic for Big Iron
How to install and manage exchange server 2010 OP Saklani.
Summary of the dCache workshop
Presentation transcript:

AII v2 Ronald Starink Luis Fernando Muñoz Mejías QWG workshop Bologna – March 2008

Outline Introduction AII v2 - What's new? Upgrading Contributing

Introduction What is AII? Setup DHCP, PXE and Kickstart for automated installation Per host: configuration from host template “Convert template into DHCP, PXE, KS files”

Why AII v2? AII v1 limited to PXE + Kickstart Future enhancements: Jumpstart, ... ? Device schemas: Traditionally /dev/[hs]d[a-z] : disks Already hacked /dev/cciss/c0d0p1 RAID? LVM?

Why AII v2? Templates for PXE & KS: ncm-tempate Loved by some, hated by others (mainly the maintainers) Hacking new features, site-specific changes Two official KS templates !? Templates became too complex: not maintainable! Schema: untyped Good during development phase Run-time checks only, no compile time check.... Code more complex than needed 2854 lines (v1) vs 1607 lines (v2) (Numbers from Luis' presentation in October)

AIIv2 – What's new? Architecture Pan setup Usage

AII v2 - Architecture AII is front-end for plug-ins Similar to ncm-ncd Plug-ins inherit from NCM::Component Three types of plug-ins: NBP aii-pxelinux (NEW) DHCP aii-dhcp osinstall aii-ks (NEW) Node profile determines which plug-ins are loaded

Plug-ins: aii-pxelinux Default plug-in for NBP Generates PXE linux configuration Obsoletes aii-nbp No more template

Plug-ins: aii-ks Default plug-in for osinstall Generator for Kickstart files Obsoletes aii-osinstall No more template Supports complex blockdevice combinations Software RAID-1, LVM on top of RAID-x, ... Requires ncm-lib-blockdevices Partitioning & formatting file systems Flexible But a bit slower

Plug-ins: aii-ks KS file: site specific setup Before: hacks in KS template Now: hooks Hooks are 'plug-ins' for aii-ks pre-install, post-install, post-reboot Any number possible Configured via Pan structure Community contributions!

AII v2 – Pan Setup AII configuration has changed Backward incompatible... ... but easy to adjust Changes: NBP, osinstall configuration File system definitions

Pan Setup: NBP NBP configuration: /system/aii/nbp/pxelinux replaces /system/aii/nbp/options Relocation Schema support for compile-time type checking Default configuration available Customizable via variables AII_NBP_GEN, AII_NBP_ROOT, AII_NBP_LABEL

Pan Setup: KS KS configuration: /system/aii/osinstall/ks replaces /system/aii/osinstall/options Relocation Schema support for compile-time type checking Default configuration available Customizable via 22 variables AII_OSINSTALL_* Mandatory: AII_OSINSTALL_SRV, AII_OSINSTALL_PATH

Pan Setup: KS hooks Hooks: Execute NCM object Print what is desired in KS file Example (See aii-hooks(8) for full example): type begrids_hook = { "module" : string "more_stuf": more_field_types }; bind "/system/aii/hooks/post_reboot/0" = begrids_hook; "/system/aii/hooks/post_reboot" = list ( nlist ("module", "begrid", ...) );

Pan Setup: file system Separation of file system and block device configuration Requires new pan-templates, ncm-lib- blockdevices Block devices configuration: /system/blockdevices File systems configuration: /system/filesystems Obsoletes set_partitions() Conversion takes some effort ... but offers more, much more flexibility

Pan example: block devices include quattor/blockdevices; "/system/blockdevices" = nlist ( "physical_devs", nlist ( DISK, nlist ("label", "msdos") ), "partitions", nlist ( DISK+"1", nlist ( "holding_dev", DISK, "size", 256, ...

Pan example: file systems include quattor/filesystems; "/system/filesystems" = list ( nlist ( "block_device", "partitions/" + DISK + "1", "mount", true, "mountpoint", "/boot", "preserve", false, "format", true, "mountopts", "auto", "type", "ext2", ),

AII v2 – Usage Functionality did not change Format of KS file changed, not contents Command line interface did almost not change aii-shellfe, aii-installfe, aii-dhcp (for now) Except: --notify was removed ... and there is a request to implement it again! Removed: aii-osinstall, aii-nbp Support actions: boot, install, status,configure, remove, rescue, ...

Upgrading Quattor Server Pre-requisites CCM >= 2.0.2 pan-templates >= 2.7.1 ncm-lib-blockdevices >= 0.17 Packages aii-server >= 2.0.4 aii-ks >= 1.0.1 aii-pxelinux >= 1.0.0 Location of configuration files Moved from /etc to /etc/aii/ Only aii-shellfe.conf and aii-dhcp.conf

Upgrading Templates Migrate configuration under /system/aii/nbp/options to /system/aii/nbp/pxelinux /system/aii/osinstall/options to /system/aii/osinstall/ks Check types ... or the compiler will :-) Define mandatory variables ... or the compiler will :-) AII_OSINSTALL_SRV, AII_OSINSTALL_PATH Remove traces of /system/aii/{nbp,osinstall}/options ... unless you defined plug-ins 'options'

Upgrading Templates - 2 Replace set_partitions() by block device setup file system setup Using the schema from ncm-lib-blockdevices

Contributing Modules: Alternative to PXE Alternative to KS Hooks: Generic, e.g. Sindes, “preserve generated host key' Site-specific Might stimulate others! Share enhancements Separate directory: contrib Separate products: NOT part of official AII release Different maintainers (~ NCM components)

Documentation & Support Read the Fine man pages: aii(8) aii-shellfe(8) aii-installfe(8) aii-ks(8) aii-pxelinux(8) aii-hooks(8) aii-update(8) project-quattor@cern.ch

Conclusion When will you upgrade? AII v2: is easy to install / upgrade can do the same (*) is more flexible (*) is easier to maintain (*) helps to find configuration errors (*) ... than/as AII v1 Effectively, support for AII v1 has been dropped When will you upgrade?