German Cancio – WP4 developments Partner Logo System Management: Node Configuration & Software Package Management

Slides:



Advertisements
Similar presentations
German Cancio – WP4 developments Partner Logo WP4-install plans WP6 meeting, Paris project conference
Advertisements

DataGrid is a project funded by the European Union 22 September 2003 – n° 1 EDG WP4 Fabric Management: Fabric Monitoring and Fault Tolerance
ASIS et le projet EU DataGrid (EDG) Germán Cancio IT/FIO.
Massimo Cafaro GridLab Review GridLab WP10 Information Services Massimo Cafaro CACT/ISUFI University of Lecce, Italy.
Current Status of Fabric Management at CERN, 26/7/2004 Current Status of Fabric Management at CERN CHEP 2004 Interlaken, 27/9/2004 CERN IT/FIO: G. Cancio,
Automating Linux Installations at CERN G. Cancio, L. Cons, P. Defert, M. Olive, I. Reguero, C. Rossi IT/PDP, CERN presented by G. Cancio.
Partner Logo German Cancio – WP4-install LCFG HOW-TO - n° 1 WP4 hands-on workshop: EDG LCFGng exercises
WP4-install task report WP4 workshop Barcelona project conference 5/03 German Cancio.
EGEE is a project funded by the European Union under contract IST Quattor Installation of Grid Software C. Loomis (LAL-Orsay) GDB (CERN) Sept.
Partner Logo German Cancio – WP4-install LCFG HOW-TO - n° 1 How to write LCFGng components for EDG 10/2002
DataGrid is a project funded by the European Commission under contract IST IT Post-C5, Managing Computer Centre machines with Quattor.
EDG LCFGng: concepts Fabric Management Tutorial - n° 2 LCFG (Local ConFiGuration system)  LCFG is originally developed by the.
1 Linux in the Computer Center at CERN Zeuthen Thorsten Kleinwort CERN-IT.
October, Scientific Linux INFN/Trieste B.Gobbo – Compass R.Gomezel - T.Macorini - L.Strizzolo INFN - Trieste.
Olof Bärring – WP4 summary- 6/3/ n° 1 Partner Logo WP4 report Status, issues and plans
quattor NCM components introduction tutorial German Cancio CERN IT/FIO.
EDG WP4: installation task LSCCW/HEPiX hands-on, NIKHEF 5/03 German Cancio CERN IT/FIO
Chapter 8 Evaluating Alternatives for Requirements, Environment, and Implementation.
Partner Logo DataGRID WP4 - Fabric Management Status HEPiX 2002, Catania / IT, , Jan Iven Role and.
Olof Bärring – WP4 summary- 4/9/ n° 1 Partner Logo WP4 report Plans for testbed 2
MAGDA Roger Jones UCL 16 th December RWL Jones, Lancaster University MAGDA  Main authors: Wensheng Deng, Torre Wenaus Wensheng DengTorre WenausWensheng.
Partner Logo German Cancio – WP4-install LCFG HOW-TO - n° 1 LCFGng configuration examples Updated 10/2002
EDG Testbed installation and configuration with LCFGng Maite Barroso - WP4
1 The new Fabric Management Tools in Production at CERN Thorsten Kleinwort for CERN IT/FIO HEPiX Autumn 2003 Triumf Vancouver Monday, October 20, 2003.
05/29/2002Flavia Donno, INFN-Pisa1 Packaging and distribution issues Flavia Donno, INFN-Pisa EDG/WP8 EDT/WP4 joint meeting, 29 May 2002.
First attempt for validating/testing Testbed 1 Globus and middleware services WP6 Meeting, December 2001 Flavia Donno, Marco Serra for IT and WPs.
Software repository replication using the ASIS Local Copy Manager IT/DIS/OSE, CERN ASIS Team Presented by: German Cancio
Deployment work at CERN: installation and configuration tasks WP4 workshop Barcelona project conference 5/03 German Cancio CERN IT/FIO.
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.
German Cancio/ WP4 -1 WP4 comments for the TestBed German Cancio / WP4
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.
Maite Barroso – WP4 Barcelona – 13/05/ n° 1 -WP4 Barcelona- Closure Maite Barroso 13/05/2003
Lemon Monitoring Miroslav Siket, German Cancio, David Front, Maciej Stepniewski CERN-IT/FIO-FS LCG Operations Workshop Bologna, May 2005.
Enabling Grids for E-sciencE EGEE and gLite are registered trademarks Usage of virtualization in gLite certification Andreas Unterkircher.
Installing, running, and maintaining large Linux Clusters at CERN Thorsten Kleinwort CERN-IT/FIO CHEP
INTRODUCTION TO DBS Database: a collection of data describing the activities of one or more related organizations DBMS: software designed to assist in.
SPMA & SWRep: Basic exercises HEPiX hands-on, NIKHEF 5/03 German Cancio
Software Management with Quattor German Cancio CERN/IT.
Olof Bärring – WP4 summary- 4/9/ n° 1 Partner Logo WP4 report Plans for testbed 2 [Including slides prepared by Lex Holt.]
22nd April 2002 Steve Traylen, RAL, 1 LCFG Installation Steve Traylen. LCFG – A tool for installation and configuration. UK HEP SYSMAN,
German Cancio – WP4 developments Partner Logo WP4 / ATF ATF meeting, 9/4/2002
Rob Davidson, Partner Technology Specialist Microsoft Management Servers: Using management to stay secure.
Olof Bärring – EDG WP4 status&plans- 22/10/ n° 1 Partner Logo EDG WP4 (fabric mgmt): status&plans Large Cluster.
E. Ferro, CNAF, april Enrico Ferro INFN-LNL Installation of a LCFG server.
System/SDWG Update Management Council Face-to-Face Flagstaff, AZ August 22-23, 2011 Sean Hardman.
German Cancio – WP4 developments Partner Logo WP4-install progress CERN, 19/6/2002 for WP4-install.
Maite Barroso - 10/05/01 - n° 1 WP4 PM9 Deliverable Presentation: Interim Installation System Configuration Management Prototype
ASIS + RPM: ASISwsmp German Cancio, Lionel Cons, Philippe Defert, Andras Nagy CERN/IT Presented by Alan Lovell.
Yannick Patois - Datagrid Software Repository Presentation - March, n° 1 Datagrid Software Repository Presentation CVS, packages and automatic.
TOPIC 7.0 LINUX SERVICES AND CONFIGURATION. ROOT USER Root user is called “super user” because it has power far beyond those of mortal user. As root,
Andrew McNab - Globus Distribution for Testbed 1 Globus Distribution for Testbed 1 Andrew McNab, University of Manchester
David Foster LCG Project 12-March-02 Fabric Automation The Challenge of LHC Scale Fabrics LHC Computing Grid Workshop David Foster 12 th March 2002.
Linux Configuration using April 12 th 2010 L. Brarda / CERN (some slides & pictures taken from the Quattor website) ‏
R. Krempaska, October, 2013 Wir schaffen Wissen – heute für morgen Controls Security at PSI Current Status R. Krempaska, A. Bertrand, C. Higgs, R. Kapeller,
CERN 19/06/2002 Kickstart file generator Andrea Chierici (INFN-CNAF) Enrico Ferro (INFN-LNL) Marco Serra (INFN-Roma)
Quattor tutorial Introduction German Cancio, Rafael Garcia, Cal Loomis.
Interstage BPM v11.2 1Copyright © 2010 FUJITSU LIMITED INTERSTAGE BPM ARCHITECTURE BPMS.
Partner Logo Olof Bärring, WP4 workshop 10/12/ n° 1 (My) Vision of where we are going WP4 workshop, 10/12/2002 Olof Bärring.
Monitoring and Information Services Core Infrastructure (MIS-CI) Service Description Mark L. Green OSG Integration Workshop at UC Feb 15-17, 2005.
Fabric Management: Progress and Plans PEB Tim Smith IT/FIO.
Managing Large Linux Farms at CERN OpenLab: Fabric Management Workshop Tim Smith CERN/IT.
Quattor: An administration toolkit for optimizing resources Marco Emilio Poleggi - CERN/INFN-CNAF German Cancio - CERN
Integrating ArcSight with Enterprise Ticketing Systems
Integrating ArcSight with Enterprise Ticketing Systems
Status of Fabric Management at CERN
Germán Cancio CERN IT/FIO LCG workshop, 24/3/04
WP4-install status update
German Cancio CERN IT .quattro architecture German Cancio CERN IT.
CompTIA Server+ Certification (Exam SK0-004)
Ch > 28.4.
Presentation transcript:

German Cancio – WP4 developments Partner Logo System Management: Node Configuration & Software Package Management

German Cancio – WP4 developments - n° 2 System management Architecture u The pillars: n Central Configuration Database n Node Configuration Management n Base system installation n Software Package Management n Monitoring

German Cancio – WP4 developments - n° 3 Node Configuration Management

German Cancio – WP4 developments - n° 4 ClientServer XML HLDL PAN DBM Notification + Transfer Low Level API High Level API Component Access API GUI Node Configuration Management

German Cancio – WP4 developments - n° 5 Node Configuration Management (NCM) u Client software running on the node which takes care of “implementing” what is in the configuration profile u Sits on top of the low-level Config access library (NVA-API) u Modules: n “Components” n Component support libraries n Framework

German Cancio – WP4 developments - n° 6 NCM: Components u “Components” (like SUE “features” or LCFG ‘objects’) are responsible for updating local config files, and notifying services if needed u Components register their interest in configuration entries or subtrees, and get invoked in case of changes u Components do only configure the system n Usually, this implies regenerating and/or updating local config files (eg. /etc/sshd_config) One method only: Configure() u Use standard system facilities (SysV scripts) for managing services n Reuse the standard facilities: most services come with a SysV script. n Components can notify services using SysV scripts when their configuration changes. n Components are kept small&simple

German Cancio – WP4 developments - n° 7 Component example sub Configure { my ($self) # access configuration information my $config=NVA::Config->new(); my $arch=$config->getValue('/system/architecture’); # low-level API $self->Fail (“not supported") unless ($arch eq ‘i386’); # (re)generate and/or update local config file(s) open (myconfig,’/etc/myconfig’); … # notify affected (SysV) services if required if ($changed) { system(‘/sbin/service myservice reload’); … }

German Cancio – WP4 developments - n° 8 Existing component taxonomy u Components can be classified into basic, service-specific and Grid components u Basic components: Manage basic system configurations n eg. network,NFS, printers, security, time… u Service specific components: For batch nodes, servers (provided by service managers) n Eg. LSF, PBS, Castor, accounting, root mail, … u Grid components (provided by Grid middleware WP’s) n Eg. Globus, GDMP, LCAS, Resource Broker… u Existing components are available both from SUE and LCFG n SUE features: Basic and Service specific n LCFG components: Basic and Grid components è Need complete classification (which components to port, which ones to rewrite) è Functionality -> component

German Cancio – WP4 developments - n° 9 NCM: Component support libraries Component support libraries for recurring tasks: u Logging and error reporting u Template processor (for fast config file generation) u SUE sysmgt libraries n Eg. check/edit files, system information, regexps, crontab, (x)inetd… u Monitoring integration

German Cancio – WP4 developments - n° 10 NCM: framework A light weight framework ( cdisp ) glues the components to the Configuration Client. Overall functionality: 1.Register which components are interested in which configuration entries/subtrees 2.Upon a config update, look up the components which need to be invoked 3.Ordering of component invocations according to dependencies 4.Invocation of components

German Cancio – WP4 developments - n° 11 NCM Architecture cdisp server client NVA API DBM Cache Invocation registration & notification CCConfig Components XML Component libs SUE sysmgt Logging Template processor Monitoring interface Configure() Node Config Client Node Config Mgmt “Low-level” API “High-level” API

German Cancio – WP4 developments - n° 12 Base System Installation

German Cancio – WP4 developments - n° 13 Base System Installation u Nodes are installed using the default system installer. n Use standard installation infrastructure (DHCP, install servers, repositories) u Configuration information stored in the CDB, generate ks or js files n A NCM component generates ks/js files out of node profiles. n Template ks/js files used for substituting partition, network, timezone, and other miscellaneous information n Keep the installation simple: installation server should not need any tweaking excepting adding the NCM required packages. n Can be used in combination with existing environment, eg. AIMS for updating NFS & DHCP servers n Site-specific databases should not directly be accessed, only CDB (instead, update CDB with LANDB and CCDB information) u Hook into Node Configuration Management afterwards (‘post-install’) n Start the NCM which downloads the latest node profile n It will bring the machine to its state as reflected in the CDB. n (Monitoring can be activated at this moment).

German Cancio – WP4 developments - n° 14 Software Package Management

German Cancio – WP4 developments - n° 15 Software Distribution Architecture u A packaging tool takes care of installing/deinstalling/upgrading packages on a computer node and keeps an inventory of currently installed packages. u The packages themselves are stored on a managed Software Repository accessible via multiple protocols (eg. HTTP, FTP, shared file system,..) u Information on which packages are to be deployed on which nodes, and which packages are available on which repositories, is kept in the fabric-wide Configuration Database. u A 'glue' application (running on the target nodes) computes the necessary package upgrade operations and invokes the packaging tool. u (The SW generation and packaging process is outside the scope.)

German Cancio – WP4 developments - n° 16 Software Package Manager (SPM) u The SPM is the glue application. Functionality: 1.Compares the packages currently installed on the local node with the packages listed in the configuration 2.Computes the necessary install/deinstall/upgrade operations 3.Invokes the packager with the right operation transaction set u The SPM is driven via a local configuration file n For batch/servers: A component generates/maintains this cf file out of CDB information n For desktops: Possible to write a GUI for locally editing the cf file u The SPM core is independent of which packaging format is used.

German Cancio – WP4 developments - n° 17 Software Package Manager (II)  Packager: the standard system packaging format is used ( rpm for Linux, pkg for Solaris) rpmt (for rpm ‘transactional’) used for transactions handling Packager (rpmt) functionality: 1.Read operations (transaction) 2.downloads new packages from Repository 3.orders the transaction operations taking into account dependency information 4.Executes the operations (installs/removes/upgrades)

German Cancio – WP4 developments - n° 18 SPM Architecture Componentrpmt Repository packages GUI SPM Packages (RPM, pkg) RPM db Local Config file Transaction set filesystem Package files HTTP(S), NFS, FTP Central Config DB Installed pkgs “desired” configuration Desktops external SPM

German Cancio – WP4 developments - n° 19 Software Package Management u Package config flags: n Ignore locally installed packages (useful for desktops) s Local exception list, or backup of previous configuration n Reboot when package is upgraded n Do not upgrade package when node is in production (eg. runlevel X) n Standard RPM flags (no dependencies, force, no pre/post installs, etc..) s Issue: per-package flags not supported by standard RPM libraries!

German Cancio – WP4 developments - n° 20 SPM and the CDB u SW packages are modelised in the Global Schema as follows: n Repository configuration: List of available repositories, repository directories, and packages n Node configuration: list of used repositories, and list of selected packages. u (see next slides) u The CDB template inclusion mechanism allows to define multiple default profiles which can then be refined n Production-packages-rh72.tpl -> lxplus7.tpl -> lxplus043 n More flexibility than current ASIS profiles (Certified, InProduction)

German Cancio – WP4 developments - n° 21 SW repository structure (maintained by repository managers): /sw/known_repositories/Arep/url = (host, protocol, prefix dir) /owner = /extras = /directories/dir_name_X/path = (asis) /platform = (i386_rh61) /packages/pck_a/name = (kernel) /version = (2.4.9) /release = 31.1.cern /architecture = (i686) /dir_name_Y /path = (sun_system) /platform = (sun4_58) /packages/pck_b/name = (SUNWcsd) /version = /release = /architecture = (?) SPM and Global Schema (I)

German Cancio – WP4 developments - n° 22 Node information (maintained by node administrator) /sw/used_repositories/0/rep_name_A = /1/rep_name_B = /sw/packages/package_name/version = /arch = /flags = /sw/packages/package_name/version = /arch = /flags = SPM and Global Schema (II)

German Cancio – WP4 developments - n° 23 Issues u Multiplatform support n How to manage components for multiple platforms (now: RH62, RH72, in the future: RH X.Y, Solaris?) n Is the global schema adequate for Solaris? n Is the SPM concept adequate for Solaris? u Backwards compatibility: LCFG, SUE n Probably not high priority. u Reusing existing software n SUE libraries and features n LCFG component libraries and components n ASIS libs u Dependencies between software package management and node configuration management