Quattor Advanced Tutorial, LAL

Slides:



Advertisements
Similar presentations
LCFG overview and future Michael George University of Liverpool
Advertisements

1 Dynamic DNS. 2 Module - Dynamic DNS ♦ Overview The domain names and IP addresses of hosts and the devices may change for many reasons. This module focuses.
Linux Boot Loaders. ♦ Overview A boot loader is a small program that exists in the system and loads the operating system into the system’s memory at system.
Chapter 9: Understanding System Initialization The Complete Guide To Linux System Administration.
14.1 © 2004 Pearson Education, Inc. Exam Planning, Implementing, and Maintaining a Microsoft Windows Server 2003 Active Directory Infrastructure.
1 Web Server Administration Chapter 3 Installing the Server.
Chapter 1 Introducing Windows Server 2012/R2
Vincenzo Vagnoni LHCb Real Time Trigger Challenge Meeting CERN, 24 th February 2005.
21/10/2002W2K RIS - HEPix Fall 2002 Remote Installation Services Michel Jouvin LAL / IN2P3
SCRAM Software Configuration, Release And Management Background SCRAM has been developed to enable large, geographically dispersed and autonomous groups.
26/4/2001VMware - HEPix - LAL 2001 Windows/Linux Coexistence : VMware Approach HEPix – LAL Apr Michel Jouvin
2/12/2003 Lecture 2 Computer System Administration Lecture 2 Setup and Installation Irix & FreeBSD.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 6 Switch Configuration.
EDG LCFGng: concepts Fabric Management Tutorial - n° 2 LCFG (Local ConFiGuration system)  LCFG is originally developed by the.
Installing Windows Vista Lesson 2. Skills Matrix Technology SkillObjective DomainObjective # Performing a Clean Installation Set up Windows Vista as the.
LAL Site Report Michel Jouvin LAL / IN2P3
quattor NCM components introduction tutorial German Cancio CERN IT/FIO.
Scott Drucker, Systems Engineer Migrating to Microsoft Vista with WinINSTALL.
30/10/2000 Software Installation and Maintenance at LAL - JLab 2000 Software Installation and Maintenance at LAL Michel Jouvin LAL, Orsay
Pan Tutorial: A Whirlwind Tour of the Pan Language C. Loomis (CNRS/LAL) 11 th Quattor Workshop (CERN) March 2011.
INFSO-RI Enabling Grids for E-sciencE Installation of an APT+kickstart server Giuseppe Platania INFN Catania EMBRACE Tutorial Clermont-Ferrand,
INFSO-RI Enabling Grids for E-sciencE SCDB C. Loomis / Michel Jouvin (LAL-Orsay) Quattor Tutorial LCG T2 Workshop June 16, 2006.
Bloomer User Notes Installing and Running a Bloomer Installation Jack Park Latest: Project Home:
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.
C. Aiftimiei, E. Ferro / January LCFGng server installation Cristina Aiftimiei, Enrico Ferro INFN-LNL.
QWG Errata Management Framework Ian Collier 10 th Quattor Workshop Rutherford Appleton Laboratory October 2010.
Lab 8 Overview Apache Web Server. SCRIPTS Linux Tricks.
Linux Configuration using April 12 th 2010 L. Brarda / CERN (some slides & pictures taken from the Quattor website) ‏
CERN 19/06/2002 Kickstart file generator Andrea Chierici (INFN-CNAF) Enrico Ferro (INFN-LNL) Marco Serra (INFN-Roma)
Automating Installations by Using the Microsoft Windows 2000 Setup Manager Create setup scripts simply and easily. Create and modify answer files and UDFs.
System initialization Unit objectives A.Outline steps necessary to boot a Linux system, configure LILO and GRUB boot loaders, and dual boot Linux with.
MREPO: Yum/Apt repository kickstart installation via PXE GIUSEPPE PLATANIA INFN Catania I Corso di formazione INFN.
SCDB Update Michel Jouvin LAL, Orsay March 17, 2010 Quattor Workshop, Thessaloniki.
PXEBOOT. What is PXEBOOT. The Preboot Execution Environment (PXE) is a service, Establish client/server communication and it will install the OS to the.
Lemon Tutorial Quattor and Non-Quattor Configuration of the lemon-agent Miroslav Siket, Dennis Waldron CERN-IT/FIO-FD.
Quattor installation and use feedback from CNAF/T1 LCG Operation Workshop 25 may 2005 Andrea Chierici – INFN CNAF
Quattor: An administration toolkit for optimizing resources Marco Emilio Poleggi - CERN/INFN-CNAF German Cancio - CERN
INFN-T1 migration to scdb Andrea Chierici 8 th Quattor Workshop Bruxelles.
1 Remote Installation Service Windows 2003 Server Prof. Abdul Hameed.
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)
April 1st, 2009 Cobbler Provisioning Made Easy Jasper Capel.
Andrea Chierici Virtualization tutorial Catania 1-3 dicember 2010
Chapter 1 Introducing Windows Server 2012/R2
SmartCenter for Pointsec - MI
Business System Development
Online Database Work Overview Work needed for OKS database
© 2002, Cisco Systems, Inc. All rights reserved.
Create setup scripts simply and easily.
AI How to: System Update and Additional Software
AII v2 Ronald Starink Luis Fernando Muñoz Mejías
IBCP - CNRS STATUS Christelle Eloto Lyon - France
The Architecture of oVirt Node
Quattor in Amazon Cloud
WP4-install status update
Creating an Oracle Database
Quattor Usage at Nikhef
Diskless Remote Boot Linux
Storage Virtualization
Deploy OpenStack with Ubuntu Autopilot
Getting Started with the Data ONTAP PowerShell Toolkit
CONFIGURING HARDWARE DEVICE & START UP PROCESS
Quattor : Installation and Configuration Management
Operating System Module 1: Linux Installation
Deploying Windows 7 Lesson 3.
Quattor Advanced Tutorial, LAL
Cordova & Cordova Plugin Installation and Management
SUSE Linux Enterprise Desktop Administration
Grid Management Challenge - M. Jouvin
Bending Ironic for Big Iron
Presentation transcript:

Quattor Advanced Tutorial, LAL AII v2 Michel Jouvin LAL, Orsay jouvin@lal.in2p3.fr http://grif.fr Quattor Advanced Tutorial, LAL December 18, 2008

Outline Why AII v2 ? How to use it AII Configuration New features Disk partitioning Hooks AII v1 to v2 migration 25/02/201918/12/2008 AII v2

Why AII v2 ? AII v1 had severe limitations AII v2 design principles Based on pan-template templating system, very difficult to maintain Kickstart configuration template File system configuration was very complex and new device type like SW or HW raid were difficult to describe Not modular enough with PXE, DHCP… configuration mixed together AII v2 design principles Direct access to XML profile in the same way as a component (using the same API) Distinction between file systems and block devices A block device can be a JBOD, a HW/SW raid, LVM… A file system uses a block device Based on ncm-lib-blockdevices, also used by ncm-filesystem aii-shellfe is a front-end for various plugins, according to configuration (aii-pxelinux, aii-kernel…) Extensible through hooks 25/02/201918/12/2008 AII v2

How to Use It ? AII is only one command: aii-shellfe --configure node: add DHCP and TFTP configuration for PXE, produce a Kickstart configuration file from node profile --install node: at next PXE boot, start the OS installer --boot node: at next PXE boot, boot from local disk --remove node: remove node from DHCP/TFTP config --rescue node: at next PXE boot, boot a rescue image Require installation of a rescue image A node is typically configured (in the BIOS) to always boot PXE aii-shellfe allows to control what happens at next boot At the end of initial installation, automatically switch from --install to --boot 25/02/201918/12/2008 AII v2

AII Configuration AII configuration in 2 files under /etc/aii aii-shellfe.conf: location where to write Kickstart configuration files and URL where to get XML profiles aii-dhcp.conf: location of DHCP configuration file maintained by Quattor, command to restart DHCPD Config file may be a dedicated file included in main DHCPD config Command to restart DHCPD may synchronize config with a remote node and restart DHCPD on a remote machine Add support for an OS version for PXE Copy a few files from the OS distribution in the same directory as pxelinux.cfg Ensure tftpd is started with the appropriate root directory definition (option –s) 25/02/201918/12/2008 AII v2

Disk Partionning New schema based on a distinct configuration of block devices and file systems Block devices: any combination of HW/SW raid, JBOD, LVM… File systems: how block devices are used New schema is very flexible but also more complex… A generic template to configure file systems and associated block devices: standard/filesystem/config Operations to do a almost always the same… Describe a default layout with all possible block devices and file systems Use variables to enable/disable them, define their size… Default layout is a site-specific template whose name is passed in FILESYSTEM_LAYOUT_CONFIG_SITE See examples for a basis 25/02/201918/12/2008 AII v2

Hooks Allow to add every required action at different point in installation E.g. install machine certificate during machine insall Several hook point: pre, post… A hook is a Perl script that uses the component API See man aii-hooks Hook declaration 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", ...) ); 25/02/201918/12/2008 AII v2

AII v1 to v2 Migration v1 and v2 configuration are not compatible Kickstart template is not use anymore On the server… Can be removed (/usr/lib/aii/osinstall) Templates: AII schema has changed with a real schema defined instead of a schema permitting any key/value pair Should be transparent when using AII variables introduced at the end of AII v1 No reason to use direct configuration path anymore Disk partitioning and file systems use a new schema and must be completely rewritten Use new generic template to configure partitioning with variables if possible 25/02/201918/12/2008 AII v2

Useful Links Quattor QWG wiki https://trac.lal.in2p3.fr/LCGQWG Presentation at Bologna’s Quattor Workshop http://indico.cern.ch/getFile.py/access?contribId=18&ses sionId=2&resId=1&materialId=slides&confId=28976 25/02/201918/12/2008 AII v2